View Single Post
Author Message
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 01-12-2020 , 04:01   Plugin not auto-generating gamedata file.
Reply With Quote #1

A plugin I made is failing to auto-generate a gamedata file, thus rendering all SDKCalls moot and failing to load the plugin.
No gamedata file of the name "l4d2_passing_fix" appears.
I followed this 2 year old post's gamedata auto-generation code, so I'm still not sure why it wouldn't work.

Tested in L4D2 listen + local server.

Code:
L 01/12/2020 - 16:54:51: [SM] Exception reported: Unable to find NextBotCreatePlayerBot<SurvivorBot> signature in gamedata file.
L 01/12/2020 - 16:54:51: [SM] Blaming: testpassingbot.smx
L 01/12/2020 - 16:54:51: [SM] Call stack trace:
L 01/12/2020 - 16:54:51: [SM]   [0] SetFailState
L 01/12/2020 - 16:54:51: [SM]   [1] Line 276, C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\TestPassingBot.sp::PrepSDKCall
L 01/12/2020 - 16:54:51: [SM]   [2] Line 267, C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\TestPassingBot.sp::GetGamedata
L 01/12/2020 - 16:54:51: [SM]   [3] Line 61, C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\TestPassingBot.sp::OnPluginStart
[SM] Plugin testpassingbot.smx failed to load: Error detected in plugin startup (see error logs).
Attached Files
File Type: sp Get Plugin or Get Source (TestPassingBot.sp - 197 views - 8.4 KB)

Last edited by Shadowysn; 01-12-2020 at 07:08.
Shadowysn is offline