Problem with pawno -
kalanerik99 - 11.04.2016
Hello
I have some problems with pawno
I got a new PC and instaled samp and stuff.
Now I tried scripting and pawno is giving me errors witch aren't existing.
They aren't errors.
I updated all my plugins, tried opening pawno and then the folder.., includes all all okay (I tried everything)
Код:
C:\Users\****\Desktop\UGF\0.3.7\pawno\include\sscanf2.inc(258) : error 017: undefined symbol "SSCANF_OnPlayerDisconnect"
One kind of error...
The others are from the file and they shouldn't be errors my script is completly fine.
I was using this script on old PC a long time and now when opening it on new PC just errors.
Код:
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(156) : error 017: undefined symbol "CreateDataBase"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(191) : error 029: invalid expression, assumed zero
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(191) : warning 215: expression has no effect
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(191) : error 001: expected token: ";", but found "if"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(202) : error 017: undefined symbol "LoadPlayerStats"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(304) : warning 225: unreachable code
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(304) : error 029: invalid expression, assumed zero
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(304) : error 004: function "SSCANF_OnPlayerDisconnect" is not implemented
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(308) : error 017: undefined symbol "SavePlayerStats"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(376) : warning 225: unreachable code
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(376) : error 017: undefined symbol "CreateDataBase"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(409) : error 017: undefined symbol "CreateVehicleFile"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(415) : error 029: invalid expression, assumed zero
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(415) : error 004: function "OnDialogResponse" is not implemented
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(417) : error 017: undefined symbol "dialogid"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(421) : error 017: undefined symbol "response"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(422) : error 017: undefined symbol "inputtext"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(429) : error 017: undefined symbol "inputtext"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(489) : error 017: undefined symbol "ResetVehicleFile"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(500) : error 017: undefined symbol "response"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(502) : error 017: undefined symbol "inputtext"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(505) : error 017: undefined symbol "LoadPlayerStats"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(524) : warning 225: unreachable code
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(524) : error 029: invalid expression, assumed zero
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(524) : error 017: undefined symbol "cmd_auto1"
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(524) : error 029: invalid expression, assumed zero
C:\Users\Erik\Desktop\UGF\0.3.7\filterscripts\Mysql stuff.pwn(524) : fatal error 107: too many error messages on one line
Re: Problem with pawno -
Sew_Sumi - 11.04.2016
What includes are you using?
What includes did you use when you scripted this?
Did you download the "latest" plugins, and simply try to compile, because that could cause this also if your code was that old.
The fact that it has Unreachable code errors, says it didn't work before, unless you fucked something up.
Re: Problem with pawno -
kalanerik99 - 12.04.2016
Read whole post I told you I update everything, I have all the includes. Includes cannot be problem.
Re: Problem with pawno -
Sew_Sumi - 12.04.2016
Look, if you don't want help, then don't ask.
Unreachable code, says there's code that won't be run, due to it being outside of what is normally being run. For instance, if a callback was hooked by an include, and the include now doesn't hook in the same method. Or if a segment of code was commented out, and is now not. Many things.
The includes being updated could well cause a lot of your issues, as because of the changes causing certain includes to not work, but you know... I didn't read a thing...
I asked what includes you were using, but you know, you read it all didn't you...
But you know... I didn't read a thing...
Your problem isn't with Pawno, your problem is with your code, and your attitude.