Yo Leute,
wie schon die Überschrift sagt, habe
Ich seit neustem das Problem, das der Windows Server bzw. der lokale Server nach Anklicken eines Textdraws, in diesem Falle das Login Textdraw crasht.
Folgendes kommt in der Server.log durch crashdetect:
ZitatAlles anzeigen[17:36:30] [debug] Server crashed while executing urp.amx
[17:36:30] [debug] AMX backtrace:
[17:36:30] [debug] #0 native mysql_real_escape_string () [100081d0] from mysql.DLL
[17:36:30] [debug] #1 0001c60c in public OnPlayerClickPlayerTextDraw () from urp.amx
[17:36:30] [debug] System backtrace:
[17:36:30] [debug] #0 737d4951 in ?? () from C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6871_none_50944e7cbcb706e5\MSVCR90.dll
[17:36:30] [debug] #1 737d4996 in ?? () from C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6871_none_50944e7cbcb706e5\MSVCR90.dll
[17:36:30] [debug] #2 10009991 in ?? () from C:\Program Files (x86)\Pawn\plugins\mysql.DLL
[17:36:30] [debug] #3 100071dd in ?? () from C:\Program Files (x86)\Pawn\plugins\mysql.DLL
[17:36:30] [debug] #4 1000afa8 in ?? () from C:\Program Files (x86)\Pawn\plugins\mysql.DLL
[17:36:30] [debug] #5 100082c2 in ?? () from C:\Program Files (x86)\Pawn\plugins\mysql.DLL
[17:36:30] [debug] #6 004010b6 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #7 73453c32 in ?? () from C:\Program Files (x86)\Pawn\plugins\crashdetect.DLL
[17:36:30] [debug] #8 73456076 in ?? () from C:\Program Files (x86)\Pawn\plugins\crashdetect.DLL
[17:36:30] [debug] #9 7344c05a in ?? () from C:\Program Files (x86)\Pawn\plugins\crashdetect.DLL
[17:36:30] [debug] #10 73453c5e in ?? () from C:\Program Files (x86)\Pawn\plugins\crashdetect.DLL
[17:36:30] [debug] #11 0046ee2b in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #12 0048d8d9 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #13 771bfd82 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[17:36:30] [debug] #14 004931b6 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #15 004931d8 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #16 67e8046a in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #17 59000043 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #18 247c83c3 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #19 2277e004 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #20 042474ff in ?? ()
[17:36:30] [debug] #21 ffff75e8 in ?? ()
[17:36:30] [debug] #22 59c085ff in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #23 44391675 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #24 10740824 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #25 042474ff in ?? ()
[17:36:30] [debug] #26 005cdee8 in ?? ()
[17:36:30] [debug] #27 59c08500 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #28 c033de75 in ?? ()
[17:36:30] [debug] #29 ec35ffc3 in ?? ()
[17:36:30] [debug] #30 ff004f26 in ?? ()
[17:36:30] [debug] #31 e8082474 in ?? ()
[17:36:30] [debug] #32 ffffffc5 in ?? ()
[17:36:30] [debug] #33 6ac35959 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #34 22d0680c in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #35 02e8004b in ?? ()
[17:36:30] [debug] #36 8b000044 in ?? ()
[17:36:30] [debug] #37 f6850875 in ?? ()
[17:36:30] [debug] #38 3d835874 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #39 004f2c94 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
[17:36:30] [debug] #40 6a407503 in ?? () from C:\Program Files (x86)\Pawn\samp-server.exe
Sehr komisch, weil ich NICHTS in OnPlayerClickPlayerTextDraw geändert habe.
Aber hier, das dementsprechende Callback:
public OnPlayerClickPlayerTextDraw(playerid,PlayerText:playertextid)
{
if(playertextid != PlayerText:INVALID_TEXT_DRAW) {
if(playertextid == PlayerTextDraw[playerid][LoginBetreten]) {
CancelSelectTextDraw(playerid);
new query[128],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof name);
mysql_real_escape_string(name,name);
format(query,sizeof query,"SELECT * FROM accounts WHERE Name = '%s'",name);
mysql_function_query(dbhandle,query,true,"THREAD_CheckAccount","i",playerid);
}
if(playertextid == PlayerTextDraw[playerid][LoginChangelog]) {
ShowUpdates(playerid);
}
if(playertextid == PlayerTextDraw[playerid][LoginVerlassen]) {
CancelSelectTextDraw(playerid);
SendClientMessage(playerid,ROT,"Auf Wunsch wurdest du vom Server gekickt!");
Kick(playerid);
}
}
return 1;
}
Danke im Voraus!
MfG