SA-MP Forums Archive
Strange error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Strange error (/showthread.php?tid=587513)



Strange error - daniel05277 - 31.08.2015

I have 5 incomprehensible errors made Bkimfol mode and suddenly I did not have mistakes or I uploaded or changed were used in this mode is very strange

Quote:

D:\DRolePlay\gamemodes\DRolePlay.pwn(2) : error 049: invalid line continuation
D:\DRolePlay\pawno\include\utils.inc(3) : error 017: undefined symbol "strlen"
D:\DRolePlay\pawno\include\utils.inc(3) : error 036: empty statement
D:\DRolePlay\pawno\include\utils.inc(3) : error 017: undefined symbol "i"
D:\DRolePlay\pawno\include\utils.inc(3) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

2-3 Row
Quote:

#include <a_samp>
#include <core>




Re: Strange error - Rodri99 - 31.08.2015

Thats an include bug, check your includes folder in pawno director, and try to replace with a newest and updated version


Re: Strange error - daniel05277 - 31.08.2015

Quote:
Originally Posted by Rodri99
Посмотреть сообщение
Thats an include bug, check your includes folder in pawno director, and try to replace with a newest and updated version
Does not help me with the newest version

Quote:

D:\DRolePlay\gamemodes\DRolePlay.pwn(2) : error 049: invalid line continuation
D:\Daniel-Roleplay\pawno\include\utils.inc(3) : error 017: undefined symbol "strlen"
D:\Daniel-Roleplay\pawno\include\utils.inc(3) : error 036: empty statement
D:\Daniel-Roleplay\pawno\include\utils.inc(3) : error 017: undefined symbol "i"
D:\Daniel-Roleplay\pawno\include\utils.inc(3) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.




Re: Strange error - Rodri99 - 31.08.2015

Are you sure the lines of erros are right? Because is so strange.

I think your code is bugged, and pawno output that the include loose something, but its all the code, check all lines that use the include core


Re: Strange error - daniel05277 - 31.08.2015

Quote:
Originally Posted by Rodri99
Посмотреть сообщение
Thats an include bug, check your includes folder in pawno director, and try to replace with a newest and updated version
Quote:
Originally Posted by Rodri99
Посмотреть сообщение
Are you sure the lines of erros are right? Because is so strange
I added another line, and now it's doing this to me

Quote:

D:\DRolePlay\gamemodes\DRolePlay.pwn(2) : error 049: invalid line continuation
D:\Daniel-Roleplay\pawno\include\Ultimate_AC.inc(61) : warning 217: loose indentation
D:\Daniel-Roleplay\pawno\include\Ultimate_AC.inc(61) : warning 202: number of arguments does not match definition
D:\Daniel-Roleplay\pawno\include\Ultimate_AC.inc(101) : warning 219: local variable "weaponid" shadows a variable at a preceding level
D:\Daniel-Roleplay\pawno\include\Ultimate_AC.inc(121) : warning 219: local variable "weaponid" shadows a variable at a preceding level
D:\Daniel-Roleplay\pawno\include\Ultimate_AC.inc(127) : warning 219: local variable "weaponid" shadows a variable at a preceding level
D:\Daniel-Roleplay\pawno\include\Ultimate_AC.inc(155) : warning 219: local variable "weaponid" shadows a variable at a preceding level
D:\DRolePlay\gamemodes\DRolePlay.pwn(16) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(23) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(26) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(10 : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(141) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(145) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(15 : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(172) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(175) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(17 : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(181) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(1932) : error 017: undefined symbol "RCON_PASS"
D:\DRolePlay\gamemodes\DRolePlay.pwn(2182) : warning 235: public function lacks forward declaration (symbol "OnPlayerShootPlayer")
D:\DRolePlay\gamemodes\DRolePlay.pwn(4256) : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(4257) : error 025: function heading differs from prototype
D:\DRolePlay\gamemodes\DRolePlay.pwn(431 : error 049: invalid line continuation
D:\DRolePlay\gamemodes\DRolePlay.pwn(4319) : error 055: start of function body without function header
D:\DRolePlay\gamemodes\DRolePlay.pwn(4320) : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(4323) : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(4324) : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(4325) : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(4326) : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(4327) : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(432 : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(4329) : error 010: invalid function or declaration
D:\DRolePlay\gamemodes\DRolePlay.pwn(4330) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.




Re: Strange error - Rodri99 - 31.08.2015

I think your gamemode lines are bugged, and they bug the include each time you add more, so don't add anything and check the lines that use the core.inc include


Re: Strange error - daniel05277 - 31.08.2015

Quote:
Originally Posted by Rodri99
Посмотреть сообщение
I think your gamemode lines are bugged, and they bug the include each time you add more, so don't add anything and check the lines that use the core.inc include
can fix it?


Re: Strange error - Rodri99 - 31.08.2015

To fix this you need the gamemode, i cant fix, if i dont have the scripts that use the core.inc


Re: Strange error - Onfroi - 31.08.2015

What do you need core for? That's what's causing the errors.


Re: Strange error - Hotspot - 31.08.2015

why is it saying compilation aborted

cause at my time it just give bugs not that compilation aborted