A Few Server Errors - 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: A Few Server Errors (
/showthread.php?tid=519113)
A Few Server Errors -
Jigsaw123 - 12.06.2014
Basically, I've attempted re-compiling my Server with updated plugins and it's giving me 2 errors and around 150 warnings. (( I am not worried about the warnings, I am worried about the Errors )) Below are the errors and then underneath that the lines.
Код:
C:\Users\USER\Desktop\California Gaming\pawno\WCRP.pwn(356) : error 017: undefined symbol "enable_mutex"
C:\Users\USER\Desktop\California Gaming\pawno\WCRP.pwn(422) : error 017: undefined symbol "mysql_ping"
Код:
348 - 358
{
SetGameModeText(MODE_NAME);
SendRconCommand("mapname San Andreas");
#if debug
mysql_debug(1);
#else
mysql_debug(0);
#endif
enable_mutex(false);
g_mysql_handle = mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_DATABASE,MYSQL_PASSWORD);
Command_SetDeniedReturn( false );
419 - 425
}
if(g_mysql_handle)
mysql_close(g_mysql_handle);
while(mysql_ping(g_mysql_handle) == 1) {
#emit NOP
}
return 1;
Re: A Few Server Errors -
Rufio - 12.06.2014
Are you sure you have got your BlueG's mySQL updated ? Both include and plugin. If so, re-open your pawno from the pawno file, hit 'new' and quit your pawno. Re-open the gamemode and test again.
edit: and yeah, same as below, mysql_ping was removed in higher versions of blueG's mysql, here you can check blueg's sql topic
https://sampforum.blast.hk/showthread.php?tid=56564
Re: A Few Server Errors -
kamiliuxliuxliux - 12.06.2014
If you use R33 and higher version of MySQL, I think the function mysql_ping doesn't work here. Same was with me. Instead of mysql_ping use mysql_errno (read in wiki...).