31.01.2015, 05:11
Hi all,
First of all, i'm a total newbie in scripting. I'm trying my best reading all tutorials and stuff and hopefully getting better. On the basis of one of these tutorials, I made a GameMode. Everything was going great untill I added some stupid command that was giving me errors.. So I deleted it. I compiled my script and I was getting some weirdass errors. I realised that I updated my sscanf.inc to sscanf2.inc, and I forgot to put that on top of my script -__-
So I did that and now here's my problem.. I'm now getting way more errors!! 18 to be exact, that for me doesn't make sense at all.
Especially since most of these errors doesn't match with what is actually on that line.. I'm confused!
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(166) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(196) : error 017: undefined symbol "MAPICON_LOCAL"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(239) : error 017: undefined symbol "MAPICON_LOCAL"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(341) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(364) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(366) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\foreach.inc(571) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\foreach.inc(657) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\foreach.inc(732) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\sscanf2.inc(201) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2410) : error 025: function heading differs from prototype
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2415) : error 025: function heading differs from prototype
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2420) : error 025: function heading differs from prototype
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2443) : error 017: undefined symbol "KEY_YES"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2459) : error 017: undefined symbol "RepairVehicle"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2470) : error 017: undefined symbol "GetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2471) : error 017: undefined symbol "SetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2480) : error 017: undefined symbol "GetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2481) : error 017: undefined symbol "SetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2479) : warning 203: symbol is never used: "y"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2479) : warning 203: symbol is never used: "x"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(248 : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2493) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(249 : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2503) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(250 : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2513) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(251 : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2523) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
So I thought to be smart and I added #include <sscanf> again at top of my script, under #include <sscanf2>
Well, maybe not the right way but i got rid of most of the errors! After all, I didn't had problems in the first place with the previous sscanf include.
Anyway, it went down to the 1 error below..
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(27) : fatal error 100: cannot read from file: "sscanf"
Ok.. I understand that it can't read the sscanf.inc because i deleted that and replaced it with the updated version. I've been searching all over the internet these past days but I can't find this older sscanf version anymore, so now I don't know what to do. When i delete the old include, i'm getting these 18 errors again.
I hope that i explained my problem clear enough and that someone can please help me.. Also sorry for my bad English. I'm from The Netherlands!
I also hope that i've posted this in the right direction on this forum, if not, please tell me. I'm new here so idk!
Thanks in advance!! Greetings Missy
First of all, i'm a total newbie in scripting. I'm trying my best reading all tutorials and stuff and hopefully getting better. On the basis of one of these tutorials, I made a GameMode. Everything was going great untill I added some stupid command that was giving me errors.. So I deleted it. I compiled my script and I was getting some weirdass errors. I realised that I updated my sscanf.inc to sscanf2.inc, and I forgot to put that on top of my script -__-
So I did that and now here's my problem.. I'm now getting way more errors!! 18 to be exact, that for me doesn't make sense at all.
Especially since most of these errors doesn't match with what is actually on that line.. I'm confused!
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(166) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(196) : error 017: undefined symbol "MAPICON_LOCAL"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(239) : error 017: undefined symbol "MAPICON_LOCAL"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(341) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(364) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(366) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\foreach.inc(571) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\foreach.inc(657) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\foreach.inc(732) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\pawno\include\sscanf2.inc(201) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2410) : error 025: function heading differs from prototype
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2415) : error 025: function heading differs from prototype
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2420) : error 025: function heading differs from prototype
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2443) : error 017: undefined symbol "KEY_YES"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2459) : error 017: undefined symbol "RepairVehicle"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2470) : error 017: undefined symbol "GetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2471) : error 017: undefined symbol "SetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2480) : error 017: undefined symbol "GetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2481) : error 017: undefined symbol "SetVehicleVelocity"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2479) : warning 203: symbol is never used: "y"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2479) : warning 203: symbol is never used: "x"
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(248 : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2493) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(249 : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2503) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(250 : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2513) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(251 : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(2523) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
So I thought to be smart and I added #include <sscanf> again at top of my script, under #include <sscanf2>
Well, maybe not the right way but i got rid of most of the errors! After all, I didn't had problems in the first place with the previous sscanf include.
Anyway, it went down to the 1 error below..
C:\Users\Vivienne\Desktop\Server Paradox Freeroam\gamemodes\paradox.pwn(27) : fatal error 100: cannot read from file: "sscanf"
Ok.. I understand that it can't read the sscanf.inc because i deleted that and replaced it with the updated version. I've been searching all over the internet these past days but I can't find this older sscanf version anymore, so now I don't know what to do. When i delete the old include, i'm getting these 18 errors again.
I hope that i explained my problem clear enough and that someone can please help me.. Also sorry for my bad English. I'm from The Netherlands!
I also hope that i've posted this in the right direction on this forum, if not, please tell me. I'm new here so idk!
Thanks in advance!! Greetings Missy