[HELP]very annoying pointless errors...
#1

alright so it's plain and simple...I compiled my game mode and it compiled successfully then I compiled it again for testing purposes and it gave me hell loads of errors...22 errors to be exact...IDK why it decided to do that since everything is okay and worked fine before? why is it fucking up?

Код:
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(33) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(2176) : warning 201: redefinition of constant/macro (symbol "GREEN")
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(2177) : warning 201: redefinition of constant/macro (symbol "RED")
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(3682) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(3702) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5012) : error 001: expected token: "]", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5012) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5012) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5019) : error 001: expected token: ",", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5019) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5019) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(15488) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(15531) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(17892) : error 001: expected token: "]", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(17892) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(17892) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(17920) : error 001: expected token: ",", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(17920) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(17920) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(20344) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(20349) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21593) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(22689) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(22690) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(23284) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28015) : warning 209: function "SendAdminMessage" should return a value
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28318) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28328) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28339) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28351) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28362) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28373) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28386) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(39769) : error 001: expected token: "]", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(39769) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(39769) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(39770) : error 001: expected token: ",", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(39770) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(39770) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61206) : error 001: expected token: "]", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61206) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61206) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61207) : error 001: expected token: ",", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61207) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61207) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61238) : error 001: expected token: "]", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61238) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61238) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61239) : error 001: expected token: ",", but found ";"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61239) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(61239) : warning 215: expression has no effect
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(85271) : error 025: function heading differs from prototype
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(85272) : error 021: symbol already defined: "SendAdminMessage"
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(85301) : warning 217: loose indentation
C:\Users\owner\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(85906) : warning 203: symbol is never used: "Si"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


22 Errors.
line 5012:
Код:
new zone[MAX_ZONE_NAME];
line 5019:
Код:
GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
line 17892:
Код:
new zone[MAX_ZONE_NAME];
line 17920:
Код:
GetPlayer2DRadarZone(i, zone, MAX_ZONE_NAME);
line 39769:
Код:
new zone[MAX_ZONE_NAME];
line 39770:
Код:
GetPlayer2DZone(giveplayerid, zone, MAX_ZONE_NAME);
line 61206:
Код:
new zone[MAX_ZONE_NAME];
line 61207:
Код:
GetVehicle2DZone(carid, zone, MAX_ZONE_NAME);
line 61238:
Код:
new zone[MAX_ZONE_NAME];
line 61239:
Код:
GetVehicle2DZone(carid, zone, MAX_ZONE_NAME);
EDIT: I fixed the last 2 errors so don't worry about it... I just need some help since these errors are fake and absurd...
Reply
#2

any ideas?
Reply
#3

Here's all okey but.. can you send me this map? i'll try fix it.
Reply
#4

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
Here's all okey but.. can you send me this map? i'll try fix it.
huh?
Reply
#5

The problem must be before this lines. Look for them yourself

P.S
To remove loose identation use:
pawn Код:
#pragma tabsize false
on the top of the map.
Reply
#6

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
The problem must be before this lines. Look for them yourself

P.S
To remove loose identation use:
pawn Код:
#pragma tabsize false
on the top of the map.
what do you mean exactly? I have NO errors whatsoever before the lines said above... no missing brackets no nothing...
Reply
#7

You've changed a pawno.exe what you used before compile?
Reply
#8

I suggest you to read the PAWN language guide, due to the mass amount of errors/warnings I see (Even though most are idents). Use the search function, then type in the error ID/name.
Reply
#9

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
You've changed a pawno.exe what you used before compile?
No. I haven't changed anything.

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
I suggest you to read the PAWN language guide, due to the mass amount of errors/warnings I see (Even though most are idents). Use the search function, then type in the error ID/name.
They aren't those "errors" you've mentioned. these are errors that WEREN'T in the script before nor were mentioned once I compiled the script right before I compiled it again. How can it give me errors when I compiled it perfectly before I compiled it again, especially when the errors don't even make sense.
Reply
#10

Quote:
Originally Posted by Master_Gangster
Посмотреть сообщение
No. I haven't changed anything.



They aren't those "errors" you've mentioned. these are errors that WEREN'T in the script before nor were mentioned once I compiled the script right before I compiled it again. How can it give me errors when I compiled it perfectly before I compiled it again, especially when the errors don't even make sense.
Oh sorry, misread your post. I think you're missing a bracket then, go to the place you last edited in your script and check if anything is wrong (Post the code here if you want)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)