09.05.2014, 13:15
(
Последний раз редактировалось SecondMillenium; 10.05.2014 в 08:55.
)
Whenever I press the "login" button on the login dialog, the server crashes. Even if I don't type anything in, it always crashes. I receive an output to the terminal window which says "Segmentation fault", and I'm getting
in the server_log.txt.
This is only happening on linux (ubuntu), it works fine on windows.
Code executed when login is pressed:
EDIT: I believe that it has something to do about the MySQL plugin. I'm using BlueG's R34. I've tried several versions, and nothing is changing.
Код:
[debug] Server crashed while executing smrp.amx
This is only happening on linux (ubuntu), it works fine on windows.
Code executed when login is pressed:
PHP код:
new string[128];
format(string, sizeof(string), "SELECT `Username`, `Pass` FROM `accounts` WHERE `Username` = '%s'", GetPlayerNameExt(playerid));
mysql_function_query(SQLOGIN, string, true, "OnQueryFinish", "iii", LOGIN_THREAD, playerid, g_arrQueryHandle{playerid});
return 1;