SA-MP Forums Archive
Crash al hacer una consulta MySQL. Ayuda! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Crash al hacer una consulta MySQL. Ayuda! (/showthread.php?tid=551583)



Crash al hacer una consulta MySQL. Ayuda! - losrivarola98 - 19.12.2014

Buenas, ejecuto el samp-server.exe y me sale con este error en el Crashdetect:
Код:
[20:14:20] [debug] Server crashed while executing MiniMisiones.amx
[20:14:20] [debug] AMX backtrace:
[20:14:20] [debug] #0 native CallRemoteFunction () from samp-server.exe
[20:14:20] [debug] #1 00009780 in ?? () from MiniMisiones.amx
[20:14:20] [debug] #2 0000cbd0 in public RAsesinatos (97) from MiniMisiones.amx
[20:14:20] [debug] Native backtrace:
[20:14:20] [debug] #0 00472f2f in ?? () from samp-server.exe
[20:14:20] [debug] #1 004010b6 in ?? () from samp-server.exe
[20:14:20] [debug] #2 64ff62da in AmxCallback () from plugins\crashdetect.DLL
[20:14:20] [debug] #3 64ff8b38 in amx_Exec () from plugins\crashdetect.DLL
[20:14:20] [debug] #4 64ff09c7 in CrashDetect::DoAmxExec () from plugins\crashdetect.DLL
[20:14:20] [debug] #5 64ff632a in AmxExec () from plugins\crashdetect.DLL
[20:14:20] [debug] #6 00472f77 in ?? () from samp-server.exe
[20:14:20] [debug] #7 004010b6 in ?? () from samp-server.exe
[20:14:20] [debug] #8 64ff62da in AmxCallback () from plugins\crashdetect.DLL
[20:14:20] [debug] #9 64ff8b38 in amx_Exec () from plugins\crashdetect.DLL
[20:14:20] [debug] #10 64ff09c7 in CrashDetect::DoAmxExec () from plugins\crashdetect.DLL
[20:14:20] [debug] #11 64ff632a in AmxExec () from plugins\crashdetect.DLL
[20:14:20] [debug] #12 0047f888 in ?? () from samp-server.exe
[20:14:20] [debug] #13 0048bf3a in ?? () from samp-server.exe
[20:14:20] [debug] #14 0048816b in ?? () from samp-server.exe
[20:14:20] [debug] #15 00496ca1 in ?? () from samp-server.exe
[20:14:20] [debug] #16 00496cb1 in ?? () from samp-server.exe
Creo que el error podria venir desde aqui:
pawn Код:
public RAsesinatos(c)
{
    new cad[128];
    printf("%c",c);
    for(new i = 1; i < CantidadRegistrados+1; i++)
    {
        format(cad,sizeof(cad),"SELECT * FROM `usuarios` WHERE `ID` = '%d'",i);
        mysql_function_query(Conexion,cad,true,"OnQueryFinish","i",4);
    }
     Ordenar();
    return 1;
}