Closed Bugrahan96 closed 3 years ago
Most probably you're using outdated version of the Sourcepawn compiler which lacks support for enum structs. Download newer version and try again.
Yes downloading the latest compiler fixed this issue now I have to fix steamtools.inc problem.
//// freak_fortress_2.sp // // C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\include\steamtools.inc(270) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs // // Compilation aborted. // 1 Error. // // Compilation Time: 0,11 sec // ----------------------------------------
Thanks but yeah I think not only just the steamtools.inc is outdated. Literally, all of my includes are outdated af :P
//// freak_fortress_2.sp // // Unofficial Freak Fortress(967) : error 147: new-style declarations are required // Unofficial Freak Fortress(968) : error 147: new-style declarations are required // Unofficial Freak Fortress(969) : error 147: new-style declarations are required // C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(1571) : error 100: function prototypes do not match // C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(1615) : error 100: function prototypes do not match // C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(3876) : error 100: function prototypes do not match // C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(4583) : error 100: function prototypes do not match // C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(4587) : error 100: function prototypes do not match // Unofficial Freak Fortress(5111) : error 147: new-style declarations are required // Unofficial Freak Fortress(5111) : error 147: new-style declarations are required // Unofficial Freak Fortress(5111) : error 147: new-style declarations are required // Unofficial Freak Fortress(5111) : fatal error 190: too many error messages on one line // // Compilation aborted. // 12 Errors. // // Compilation Time: 0,56 sec // ----------------------------------------
Is there any library that I can find the latest include files?
Edit: typo and really appreciate for your help.
It seems you're using SM 1.11 compiler and it's way more strict. Unless you know what exactly needs to be fixed, I recommend downloading SM 1.10 compiler and compile with it.
You are a lifesaver, thank you so much.
Unofficial Freak Fortress(562) : error 001: expected token: "{", but found "stru ct" Unofficial Freak Fortress(566) : error 001: expected token: "}", but found "int"
Unofficial Freak Fortress(578) : error 054: unmatched closing brace ("}") Unofficial Freak Fortress(589) : error 035: argument type mismatch (argument 3) Unofficial Freak Fortress(589) : error 017: undefined symbol "FF2QueryData" Unofficial Freak Fortress(589) : error 029: invalid expression, assumed zero Unofficial Freak Fortress(589) : fatal error 189: too many error messages on one line
I want to compile the plugin with some minor changes for my windows server. However, the compiler can't find "FF2QueryData" is it something with includes? I have no idea to fix it. I'll be glad if anyone can let me a hand.