'undefined symbol' on all my stocks.
#1

Hey...
Ahh...
Yeah.....

These are the errors I adopted after a recent compile of implementing a housing system....
Seems to pick up on all of my stocks...
is there a definite cause here or could there be a million things causing this...?

[This is the complete list of errors]
pawn Код:
(653) : error 017: undefined symbol "LoadVehicles"
(654) : error 017: undefined symbol "LoadFactions"
(655) : error 017: undefined symbol "LoadHouses"
(656) : error 017: undefined symbol "LoadSubFactions"
(763) : error 017: undefined symbol "SavePlayerAccount"
(764) : error 017: undefined symbol "ResetPlayerVariables"
(766) : error 017: undefined symbol "SaveFactions"
(767) : error 017: undefined symbol "SaveSubFactions"
(768) : error 017: undefined symbol "SaveVehicles"
(785) : error 017: undefined symbol "ClearChat"
(790) : error 004: function "InitPlayerConnection" is not implemented
(806) : error 017: undefined symbol "SavePlayerAccount"
(807) : error 017: undefined symbol "ResetPlayerVariables"
(815) : error 017: undefined symbol "SpawnPlayerEx"
(839) : error 017: undefined symbol "GetCar"
(847) : error 017: undefined symbol "SetVehicleParam"
(848) : error 017: undefined symbol "SetVehicleParam"
(862) : error 017: undefined symbol "GetCar"
(865) : error 017: undefined symbol "TogglePoliceLight"
(880) : error 017: undefined symbol "GetPlayerNameEx"
(881) : error 017: undefined symbol "ProximityMessage"
(885) : error 017: undefined symbol "IsAdmin"
(885) : error 017: undefined symbol "ReColour"
(890) : error 017: undefined symbol "GetPlayerNameEx"
(900) : error 017: undefined symbol "GetPlayerNameEx"
(901) : error 017: undefined symbol "GetPlayerNameEx"


//---------=| Sectional Errors |=---------

pawn Код:
(653) : error 017: undefined symbol "LoadVehicles"
(654) : error 017: undefined symbol "LoadFactions"
(655) : error 017: undefined symbol "LoadHouses"
(656) : error 017: undefined symbol "LoadSubFactions"
pawn Код:
(642)public OnGameModeInit()
(643){
(644)   mysql_debug(1);
(645)   mysql_connect(SQL_HOST, SQL_USER, SQL_DATA, SQL_PASS);
(646)   SetGameModeText(SERVER_VERSION);
(647)   AntiDeAMX();
(648)   AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
(649)   DisableInteriorEnterExits();
(650)   EnableStuntBonusForAll(0);
(651)   format(string, sizeof(string), "hostname %s", SERVER_NAME);
(652)   SendRconCommand(string);
(653)   LoadVehicles();
(654)   LoadFactions();
(655)   LoadHouses();
(656)   LoadSubFactions();

pawn Код:
(763) : error 017: undefined symbol "SavePlayerAccount"
(764) : error 017: undefined symbol "ResetPlayerVariables"
(766) : error 017: undefined symbol "SaveFactions"
(767) : error 017: undefined symbol "SaveSubFactions"
(768) : error 017: undefined symbol "SaveVehicles"
pawn Код:
(759)public OnGameModeExit()
(760){
(761)   foreach(Player, i)
(762)   {
(763)       SavePlayerAccount(i);
(764)       ResetPlayerVariables(i);
(765)   }
(766)   SaveFactions();
(767)   SaveSubFactions();
(768)   SaveVehicles(0);
(769)   mysql_close();
(770)   return 1;
(771)}

pawn Код:
(785) : error 017: undefined symbol "ClearChat"
(790) : error 004: function "InitPlayerConnection" is not implemented
pawn Код:
(783)public OnPlayerConnect(playerid)
(784){
(785)   ClearChat(playerid);
(786)   format(string, sizeof(string), "Welcome to %s {009FE8}%s!", SERVER_NAME, SERVER_VERSION);
(787)   SendClientMessage(playerid, COLOR_BLUE, string);
(788)    //
(789)    //
(790)   InitPlayerConnection(playerid);
(791)   TogglePlayerClock(playerid, 1);
(792)   //
(793)// if(IsPlayerNPC(playerid)) return 0;
(794)   TogglePlayerControllable(playerid, 0);

pawn Код:
(806) : error 017: undefined symbol "SavePlayerAccount"
(807) : error 017: undefined symbol "ResetPlayerVariables"
pawn Код:
(804)public OnPlayerDisconnect(playerid, reason)
(805){
(806)   if(LoggedIn[playerid] == 1) SavePlayerAccount(playerid);
(807)   ResetPlayerVariables(playerid);
(808)   return 1;
(809)}

NOTE: I haven't modified any of these stocks since my last successful clean compile.
Reply
#2

you clearly didn't define those functions, therefore they don't exist, if you've implemented downloaded house system it depends on what it is and how you are using it, it looks like you are calling those functions in your gamemode script, and I guess that this house system is filterscript right?
Reply
#3

Do you actually have these stocks in your script?
Reply
#4

Quote:
Originally Posted by SEnergy
Посмотреть сообщение
you clearly didn't define those functions, therefore they don't exist, if you've implemented downloaded house system it depends on what it is and how you are using it, it looks like you are calling those functions in your gamemode script, and I guess that this house system is filterscript right?
Nah I have made my own housing system WITHIN the gamemode itself.

Quote:
Originally Posted by playbox12
Посмотреть сообщение
Do you actually have these stocks in your script?
Correct sir, And they have not been modified since my last successful compile which contained these stocks that functioned perfectly.
Reply
#5

So there is no proper cause to this?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)