Crashdetect
#1

Anyone can help me? I reported these errors, it is odd, since with any mysql system gives me the same error, i think they do lack files on my computer, someone can confirm and tell me what ?.

pawn Код:
[03:55:54] [debug] Server crashed while executing gamemode.amx
[03:55:54] [debug] AMX backtrace:
[03:55:54] [debug] #0 native mysql_fetch_field_row () from mysql.DLL
[03:55:54] [debug] #1 00048b70 in ?? (0) from gamemode.amx
[03:55:54] [debug] #2 00012168 in public OnDialogResponse (0, 2, 1, -1, 562596) from gamemode.amx
[03:55:55] [debug] Native backtrace:
[03:55:55] [debug] #0 5460b690 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.dll
[03:55:55] [debug] #1 10009abe in ?? () from plugins\mysql.DLL
[03:55:55] [debug] #2 100067e3 in ?? () from plugins\mysql.DLL
[03:55:55] [debug] #3 004010b6 in ?? () from samp-server.exe
[03:55:55] [debug] #4 59d601b4 in ?? () from plugins\crashdetect.DLL
[03:55:55] [debug] #5 59d662da in ?? () from plugins\crashdetect.DLL
[03:55:55] [debug] #6 59d68b38 in ?? () from plugins\crashdetect.DLL
[03:55:55] [debug] #7 59d609c7 in ?? () from plugins\crashdetect.DLL
[03:55:55] [debug] #8 59d6632a in ?? () from plugins\crashdetect.DLL
[03:55:55] [debug] #9 62a94885 in ?? () from plugins\streamer.DLL
[03:55:55] [debug] #10 0046dac1 in ?? () from samp-server.exe
[03:55:55] [debug] #11 00452850 in ?? () from samp-server.exe
[03:55:55] [debug] #12 76ebdea3 in ?? () from C:\Windows\SysWOW64\ntdll.dll
[03:55:55] [debug] #13 00498cc9 in ?? () from samp-server.exe
[03:55:55] [debug] #14 004a40ee in ?? () from samp-server.exe
Reply
#2

I had this too.. but didnt came with a solution
So instead of mysql_fetch_field_row() use mysql_fetch_row_format()

EDIT : An example of mysql_fetch_row_format()
pawn Код:
new s, query[100];
format(query, sizeof(query), "SELECT score, money FROM playerdata WHERE user = '%s' LIMIT 1", Player_Name);
mysql_query(query);
mysql_store_result();
if(mysql_fetch_row_format(query))
{  
sscanf(query, "p<|>ii",s,Money[playerid]);
SetPlayerScore(playerid, s);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)