50DKP / FF2-Official

Freak Fortress 2 is a one versus all mod for Team Fortress 2. It is the successor to the Vs. Saxton Hale plugin.
https://forums.alliedmods.net/forumdisplay.php?f=154
GNU General Public License v3.0
54 stars 27 forks source link

Revert 965542e changes #192

Closed shadow93 closed 9 years ago

shadow93 commented 9 years ago

The change brought by 965542e essentially prevents FF2 from loading even if there isn't a duplicate on plugins\freaks folder, giving this error when i attempt to manually load it:

L 01/10/2015 - 19:57:10: [SM] Plugin encountered error 21: Native is not bound L 01/10/2015 - 19:57:10: [SM] Native "FF2_Debug" reported: L 01/10/2015 - 19:57:10: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx": L 01/10/2015 - 19:57:10: [SM] [0] Line 532, C:\tf2-server\tf2\tf\addons\sourcemod\scripting\include\freak_fortress_2.inc::Debug() L 01/10/2015 - 19:57:10: [SM] [1] Line 809, C:\tf2-server\tf2\tf\addons\sourcemod\scripting\freak_fortress_2.sp::AskPluginLoad2() [SM] Plugin freak_fortress_2.smx failed to load: Native "FF2_GetBossIndex" was not found.

2015-01-10_00003

winstliu commented 9 years ago

Oh, derp. I think I'm trying to use Debug() before it gets initialized.

winstliu commented 9 years ago

Fixed by da17198f99a9a3322eca4248750aada108fd4d34.