Fix 26 errors (rare) to compile correctly.
#1

DOUBT OF SPANISH TRANSLATED TO ENGLISH BY ****** TRANSLATE.
If you do not understand something let me know.

Hey, how about ... I recently modifying the Work Truck. Edit all checkpoints, mapicons, text labels, pickups, messages, and some commands, 3 maps. The GM who I am using is the ZC.

The problem is that ... I can not do as surely all ye do: First do something, then compile and see if it goes well if not solve, no ... I wanted to do it all at once since I compiled sooo hard, seriously xdd 30 minutes.

It is the first time such a thing happens to me.
As I see and I think, not that I have forgotten some {or} or any function or variable ... but something strange happens and I do not know how to solve it.

26 errors

C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(257 : error 017: undefined symbol "severTimers_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2579) : error 017: undefined symbol "severTimers2_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2581) : error 017: undefined symbol "saveAccounts_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2582) : error 017: undefined symbol "VehicleUpdate_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2583) : error 017: undefined symbol "ServerMicrobeat_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2584) : error 017: undefined symbol "SyncUp_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2585) : error 017: undefined symbol "Mensajes_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2586) : error 017: undefined symbol "EMSUpdate_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2587) : error 017: undefined symbol "playerTabbedLoop_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(258 : error 017: undefined symbol "SpecUpdate_yT@"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2644) : error 017: undefined symbol "GetPlayerVehicle"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2646) : error 017: undefined symbol "GetPlayerVehicle"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2653) : error 017: undefined symbol "GetPlayerVehicle"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2655) : error 017: undefined symbol "GetPlayerVehicle"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2656) : error 017: undefined symbol "GetPlayerVehicle"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2663) : error 017: undefined symbol "GetPlayerVehicle"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2664) : error 017: undefined symbol "UpdatePlayerVehicleMods"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2706) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2720) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2734) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2746) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2759) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2773) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2787) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2801) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Administrador\Escritorio\Zenon City Role Play\gamemodes\ZenonCity.net.pwn(2816) : error 017: undefined symbol "NOPCheck"

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


26 Errors.


Does anyone have any idea how I can solve this problem?

Thanks, if you need me to tell something tell me!
Reply
#2

You don't have the correct functions or stocks to work
Looks like you copied some stuff and forgot the functions.
Reply
#3

Yes this is the disadvantage of the pawno compiler, it doesn't locate errors like missing a { or } sometimes.
And well, then you are fucked, the last thing you can do, is using CTRL+Z or just search for it, look at the code you created before this happend, and look for any errors.
I think the error should be located after line 2816 somewere, but not sure.
Reply
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
If you can say HOW it should do that I'm sure MANY people will want to hear about it! It doesn't report where missing symbols are because it's impossible to know what the coder MEANT to do but didn't - that would require an intelligent and mind-reading compiler!
I'm not saying I can do this, I just say it's a big disadvantage or the pawno editor, can't something have disadvantages?
Reply
#5

Is it possible that this part of the problem which is wrong or missing a} or {...?
Just added some more to truckers in the CMD /buscarjob teleport in dialogues (in bold and orange)

P a w n o C o d e :
JOBFINDMENU case:
{
if (response)
{
if (GetPVarInt (playerid, "Packages")! = 0 | | TaxiAccepted [playerid]! = 999 | | EMSAccepted [playerid]! = 999 | | MedicAccepted [playerid]! = 999 | | MechanicCallTime [playerid]> = 1) SendClientMessageEx return (playerid, Color_White, "Be sure not to be in another function using checkpoints.");
SetPVarInt (playerid, "FindJob", 1);
if (listitem == 0) / / Bartender
{
SetPlayerCheckpoint (playerid, 1836.8391, -1682.6100,13.3312, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem == 1)
{
SetPlayerCheckpoint (playerid, 2104.8408, -1810.0991,13.5547, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem == 2)
{
SetPlayerCheckpoint (playerid, 1795.8000488281, -1722.4000244141,13.199999809265, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem == 3)
{
SetPlayerCheckpoint (playerid, 1611.0923, -1893.8065,13.5469, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem == 4)
{
SetPlayerCheckpoint (playerid, 1289.1171, -1271.7650,13.5422, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem == 5)
{
SetPlayerCheckpoint (playerid, 1752.7062, -1894.1708,13.5574, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem == 6)
{
SetPlayerCheckpoint (playerid, -104.2969,9.3283,3.1172, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem == 7)
{
SetPlayerCheckpoint (playerid, 2226.1716, -1718.1792,13.5165, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem ==
{
SetPlayerCheckpoint (playerid, 946.09997558594, -1416,13.199999809265, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
{
if (listitem == 9)
{
SetPlayerCheckpoint (playerid, -77, -1136.5999755859,0.69999998807907, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Marked red)");

}
}
}
Reply
#6

Well okay, that I may mislead you , or you understood me wrong, anyway it wasn't my intended to say this only about pawno, but because I don't really know any other compilers, except java, and this is never giving errors like that, but yea java als has some huge disadvantages, so we are clear I guess.
Reply
#7

Look what I found in the previous message created by me:

{
SetPlayerCheckpoint (playerid, 946.09997558594, -1416,13.199999809265, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
{



And I wonder ... should the two { { be like here?

{
SetPlayerCheckpoint (playerid, 946.09997558594, -1416,13.199999809265, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}

---------------------- Or I need to put the { in (listitem == 9) like this?....

..................... . . . .
............... . . .
........................ . .
...
if (listitem == 7)
{
SetPlayerCheckpoint (playerid, 2226.1716, -1718.1792,13.5165, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
}
if (listitem ==
{
SetPlayerCheckpoint (playerid, 946.09997558594, -1416,13.199999809265, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Red marker)");
{
if (listitem == 9)
}
SetPlayerCheckpoint (playerid, -77, -1136.5999755859,0.69999998807907, 2);
SendClientMessageEx (playerid, Color_White, "is marked on the radar a checkpoint. (Marked red)");
{
}
}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)