HELP ME! 26 errors i dont know how to fix
#1

How can i fix it? ive been working on this server for some months then i did a change and this suddenly happen!

Quote:

Quote
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7134) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7143) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7165) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7210) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7301) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7467) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7472) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7472) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7474) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7474) : error 029: invalid expression, assumed zero
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7476) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7477) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(747 : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7479) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7480) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7482) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7484 -- 7485) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7024) : warning 204: symbol is assigned a value that is never used: "housecar"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7023) : warning 204: symbol is assigned a value that is never used: "oldcar"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7023 -- 7490) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7023 -- 7490) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7492) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7494) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7497) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7499) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7501) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7509) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7510) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7513) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7514) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7515) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7516) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7517) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(751 : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7522) : error 017: undefined symbol "fam"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7522) : warning 215: expression has no effect
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7523) : error 017: undefined symbol "playername"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7523) : error 017: undefined symbol "playername"

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


26 Errors.

Lines:
Quote:

7134 - else if(IsAPizzaBike(newcar))
7143 - if(IsACopCar(newcar))
7210 - /* f(CarInfo[newcar][cOwned] == 0 && IsABuyCar(newcar))
7301 - /*
7467 - format(string, sizeof(string), "Point: %s, Family: %s, Timer: %d",
7472 - }
7474 - {
7476 - Points[TakeOverTimer] = 0;
7477 - Points[TakeOverTimerStarted] = 0
7478 - Points[Vulnerable] = NEW_VULNERABLE;
7479 - strmid(Points[Owner], FamilyInfo[fam][FamilyName], 0, 32, 32);
7480 - format(string, sizeof(string), "%s has successfully claimed %s", Points[Owner], Points[Name]);
7482 - SendClientMessageToAll(TEAM_ORANGE_COLOR, string);
7484 - Points[Owner], Points[Vulnerable], i+1);
7485 - samp_mysql_query(string);
7023 - oldcar = gLastCar[playerid];
7024 - new housecar = PlayerInfo[playerid][pPhousekey]+1;
7492 - SendClientMessageToAll(TEAM_ORANGE_COLOR, string);
7494 - }
7497 - {
7499 - {
7501 - /*
7509 - if (!PlayerToPoint(2.0, claimer, Points[Pointx], Points[Pointy], Points[Pointz]))
1510 - {
7513 - Points[ClaimerId] = 255;
7514 - Points[ClaimerTeam] = 255;
7515 - Points[TakeOverTimer] = 0;
7516 - Points[TakeOverTimerStarted] = 0;
7517 - Points[BeingClaimed] = 0;
7518 - }
7522 - GetPlayerName(claimer, playername, sizeof(playername));
7523 - format(string, sizeof(string), "%s has successfully claimed %s for %s, in %d minutes it will be their",
7523 - format(string, sizeof(string), "%s has successfully claimed %s for %s, in %d minutes it will be their",

Reply
#2

Give the lines?
Reply
#3

Ok hold on
Reply
#4

Quote:

C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7134) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7143) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7165) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7210) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7301) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7467) : warning 216: nested comment
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7472) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7472) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7474) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7474) : error 029: invalid expression, assumed zero
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7476) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7477) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(747 : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7479) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7480) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7482) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7484 -- 7485) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7024) : warning 204: symbol is assigned a value that is never used: "housecar"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7023) : warning 204: symbol is assigned a value that is never used: "oldcar"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7023 -- 7490) : warning 217: loose indentation
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7023 -- 7490) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7492) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7494) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7497) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7499) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7501) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7509) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7510) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7513) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7514) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7515) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7516) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7517) : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(751 : error 017: undefined symbol "i"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7522) : error 017: undefined symbol "fam"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7522) : warning 215: expression has no effect
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7523) : error 017: undefined symbol "playername"
C:\Users\Anders\Desktop\server creator\gamemodes\cwrp.pwn(7523) : error 017: undefined symbol "playername"

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


26 Errors.

i fixed something and now i got this error.
Reply
#5

I Think** you are missing a ' } ' somewhere... whatever you was last editing, show us that code/command or w/e so we can see if you are missing a '}' (or maybe '{'??)...

or see if you can find it yourself..
Reply
#6

Error Lines:

Quote:

7134 - else if(IsAPizzaBike(newcar))
7143 - if(IsACopCar(newcar))
7210 - /* f(CarInfo[newcar][cOwned] == 0 && IsABuyCar(newcar))
7301 - /*
7467 - format(string, sizeof(string), "Point: %s, Family: %s, Timer: %d",
7472 - }
7474 - {
7476 - Points[i][TakeOverTimer] = 0;
7477 - Points[i][TakeOverTimerStarted] = 0
7478 - Points[i][Vulnerable] = NEW_VULNERABLE;
7479 - strmid(Points[i][Owner], FamilyInfo[fam][FamilyName], 0, 32, 32);
7480 - format(string, sizeof(string), "%s has successfully claimed %s", Points[i][Owner], Points[i][Name]);
7482 - SendClientMessageToAll(TEAM_ORANGE_COLOR, string);
7484 - Points[i][Owner], Points[i][Vulnerable], i+1);
7485 - samp_mysql_query(string);
7023 - oldcar = gLastCar[playerid];
7024 - new housecar = PlayerInfo[playerid][pPhousekey]+1;
7492 - SendClientMessageToAll(TEAM_ORANGE_COLOR, string);
7494 - }
7497 - {
7499 - {
7501 - /*
7509 - if (!PlayerToPoint(2.0, claimer, Points[i][Pointx], Points[i][Pointy], Points[i][Pointz]))
1510 - {
7513 - Points[i][ClaimerId] = 255;
7514 - Points[i][ClaimerTeam] = 255;
7515 - Points[i][TakeOverTimer] = 0;
7516 - Points[i][TakeOverTimerStarted] = 0;
7517 - Points[i][BeingClaimed] = 0;
7518 - }
7522 - GetPlayerName(claimer, playername, sizeof(playername));
7523 - format(string, sizeof(string), "%s has successfully claimed %s for %s, in %d minutes it will be their",
7523 - format(string, sizeof(string), "%s has successfully claimed %s for %s, in %d minutes it will be their",

Reply
#7

Quote:
Originally Posted by Silox
Give the lines?
Quote:

7134 - else if(IsAPizzaBike(newcar))
7143 - if(IsACopCar(newcar))
7210 - /* f(CarInfo[newcar][cOwned] == 0 && IsABuyCar(newcar))
7301 - /*
7467 - format(string, sizeof(string), "Point: %s, Family: %s, Timer: %d",
7472 - }
7474 - {
7476 - Points[TakeOverTimer] = 0;
7477 - Points[TakeOverTimerStarted] = 0
7478 - Points[Vulnerable] = NEW_VULNERABLE;
7479 - strmid(Points[Owner], FamilyInfo[fam][FamilyName], 0, 32, 32);
7480 - format(string, sizeof(string), "%s has successfully claimed %s", Points[Owner], Points[Name]);
7482 - SendClientMessageToAll(TEAM_ORANGE_COLOR, string);
7484 - Points[Owner], Points[Vulnerable], i+1);
7485 - samp_mysql_query(string);
7023 - oldcar = gLastCar[playerid];
7024 - new housecar = PlayerInfo[playerid][pPhousekey]+1;
7492 - SendClientMessageToAll(TEAM_ORANGE_COLOR, string);
7494 - }
7497 - {
7499 - {
7501 - /*
7509 - if (!PlayerToPoint(2.0, claimer, Points[Pointx], Points[Pointy], Points[Pointz]))
1510 - {
7513 - Points[ClaimerId] = 255;
7514 - Points[ClaimerTeam] = 255;
7515 - Points[TakeOverTimer] = 0;
7516 - Points[TakeOverTimerStarted] = 0;
7517 - Points[BeingClaimed] = 0;
7518 - }
7522 - GetPlayerName(claimer, playername, sizeof(playername));
7523 - format(string, sizeof(string), "%s has successfully claimed %s for %s, in %d minutes it will be their",
7523 - format(string, sizeof(string), "%s has successfully claimed %s for %s, in %d minutes it will be their",

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)