Help! || Server crashes!
#1

Hello, my test server continuasly crashes after login, I don't know what the problem is, there are no errors in the mysql_log at all! I tried crashdetect and this was the result:

Код:
[00:51:05] [debug] #0 native cache_get_row () [009f7ce0] from mysql.so
[00:51:05] [debug] #1 00187e84 in public OnPlayerDataLoad () from ZORP3.0.amx
[00:51:05] [debug] System backtrace:
[00:51:05] [debug] #0 007eaf41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[00:51:05] [debug] #1 007e141f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[00:51:05] [debug] #2 007df963 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[00:51:05] [debug] #3 007ea3c1 in ?? () from plugins/crashdetect.so
[00:51:05] [debug] #4 00d99600 in ?? ()
[00:51:05] [debug] #5 0026e806 in ?? () from /lib/libc.so.6
[00:51:05] [debug] #6 08095095 in ?? () from ./samp03svr
[00:51:05] [debug] #7 009f2342 in amx_SetString () from plugins/mysql.so
[00:51:05] [debug] #8 009f26e0 in _ZN6StrAmx10SetCStringEP6tagAMXiPci () from plugins/mysql.so
[00:51:05] [debug] #9 009f7d75 in _ZN7Natives15n_cache_get_rowEP6tagAMXPi () from plugins/mysql.so
[00:51:05] [debug] #10 08093c94 in ?? () from ./samp03svr
[00:51:05] [debug] #11 007e05a2 in _ZN11crashdetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[00:51:05] [debug] #12 007e865e in ?? () from plugins/crashdetect.so
[00:51:05] [debug] #13 007ef926 in amx_Exec () from plugins/crashdetect.so
[00:51:05] [debug] #14 007e0622 in _ZN11crashdetect9DoAmxExecEPii () from plugins/crashdetect.so
[00:51:05] [debug] #15 007e8699 in ?? () from plugins/crashdetect.so
[00:51:05] [debug] #16 009f1c21 in amx_Exec () from plugins/mysql.so
[00:51:05] [debug] #17 009fbda9 in ProcessTick () from plugins/mysql.so
[00:51:05] [debug] #18 080c5df2 in ?? () from ./samp03svr
[00:51:05] [debug] #19 080b5bac in ?? () from ./samp03svr
[00:51:05] [debug] #20 080b1453 in ?? () from ./samp03svr
[00:51:05] [debug] #21 00204ce6 in __libc_start_main () from /lib/libc.so.6
[00:51:05] [debug] #22 0804b521 in ?? () from ./samp03svr
My OnPlayerDataLoad:

pawn Код:
forward OnPlayerDataLoad(playerid);
public OnPlayerDataLoad(playerid)
{

    new rows, fields;
    cache_get_data(rows, fields);
    if(rows)
    {
        printf("OnPlayerDataLoad: %s", PlayerNameEx(playerid));
        new temp[20];

        cache_get_row(0, 0, temp); PlayerInfo[playerid][jMySQLID] = strval(temp);
        cache_get_row(0, 4, temp); PlayerInfo[playerid][jPuntosR] = strval(temp);
        cache_get_row(0, 5, temp); PlayerInfo[playerid][jWeapon] = strval(temp);  // Not used
        cache_get_row(0, 6, temp); PlayerInfo[playerid][jWeapon2] = strval(temp); // Not used
        cache_get_row(0, 7, temp); PlayerInfo[playerid][jWeapon3] = strval(temp); // Not used
        cache_get_row(0, 8, temp); PlayerInfo[playerid][jAmmo] = strval(temp);
        cache_get_row(0, 9, temp); PlayerInfo[playerid][jAmmo2] = strval(temp);
        cache_get_row(0, 10, temp); PlayerInfo[playerid][jAmmo3] = strval(temp);
        cache_get_row(0, 11, temp); PlayerInfo[playerid][jVip] = strval(temp);
        cache_get_row(0, 12, temp); PlayerInfo[playerid][jAdmin] = strval(temp);
        cache_get_row(0, 13, temp); PlayerInfo[playerid][jCoins] = strval(temp);
        cache_get_row(0, 14, temp); PlayerInfo[playerid][jLevel] = strval(temp);
        cache_get_row(0, 15, temp); PlayerInfo[playerid][jBanned] = strval(temp);
        cache_get_row(0, 16, temp); PlayerInfo[playerid][jMember] = strval(temp);
        cache_get_row(0, 17, temp); PlayerInfo[playerid][jExp] = strval(temp);
        cache_get_row(0, 18, temp); PlayerInfo[playerid][jMedicinaA] = strval(temp);
        cache_get_row(0, 19, temp); PlayerInfo[playerid][jMedicinaB] = strval(temp);
        cache_get_row(0, 20, temp); PlayerInfo[playerid][jTazer] = strval(temp);
        cache_get_row(0, 21, temp); PlayerInfo[playerid][jVendas] = strval(temp);
        cache_get_row(0, 22, temp); PlayerInfo[playerid][jKitMed] = strval(temp);
        cache_get_row(0, 23, temp); PlayerInfo[playerid][jBengala] = strval(temp);
        cache_get_row(0, 24, temp); PlayerInfo[playerid][jAdrenalina] = strval(temp);
        cache_get_row(0, 25, temp); PlayerInfo[playerid][jWalkie] = strval(temp);
        cache_get_row(0, 26, temp); PlayerInfo[playerid][jLeader] = strval(temp);
        cache_get_row(0, 27, temp); PlayerInfo[playerid][jTutorial] = strval(temp);
        cache_get_row(0, 28, temp); PlayerInfo[playerid][jOrigen] = strval(temp);
        cache_get_row(0, 29, temp); PlayerInfo[playerid][jSexo] = strval(temp);
        cache_get_row(0, 30, temp); PlayerInfo[playerid][jProfesion] = strval(temp);
        cache_get_row(0, 31, temp); PlayerInfo[playerid][jAge] = strval(temp);
        cache_get_row(0, 32, temp); PlayerInfo[playerid][jPorSalio] = strval(temp);
        cache_get_row(0, 33, temp); PlayerInfo[playerid][jSpawn] = strval(temp);
        cache_get_row(0, 34, temp); PlayerInfo[playerid][jPos_x] = strval(temp);
        cache_get_row(0, 35, temp); PlayerInfo[playerid][jPos_y] = strval(temp);
        cache_get_row(0, 36, temp); PlayerInfo[playerid][jPos_z] = strval(temp);
        cache_get_row(0, 37, temp); PlayerInfo[playerid][jInt] = strval(temp);
        cache_get_row(0, 38, temp); PlayerInfo[playerid][jRopa] = strval(temp);
        cache_get_row(0, 39, temp); PlayerInfo[playerid][jVida] = strval(temp);
        cache_get_row(0, 40, temp); PlayerInfo[playerid][jArmour] = strval(temp);
        cache_get_row(0, 41, temp); PlayerInfo[playerid][jNafta] = strval(temp);
        cache_get_row(0, 42, temp); PlayerInfo[playerid][jFosforos] = strval(temp);
        cache_get_row(0, 43, temp); PlayerInfo[playerid][jBottle] = strval(temp);
        cache_get_row(0, 44, temp); PlayerInfo[playerid][jGuantes] = strval(temp);
        cache_get_row(0, 45, temp); PlayerInfo[playerid][jReport] = strval(temp);
        cache_get_row(0, 46, temp); PlayerInfo[playerid][jPunteria] = strval(temp);
        cache_get_row(0, 47, temp); PlayerInfo[playerid][jMechanic] = strval(temp);
        cache_get_row(0, 48, temp); PlayerInfo[playerid][jLuck] = strval(temp);
        cache_get_row(0, 49, temp); PlayerInfo[playerid][jZombiesPT] = strval(temp);
        cache_get_row(0, 50, temp); PlayerInfo[playerid][jZombie] = strval(temp);
        cache_get_row(0, 51, temp); PlayerInfo[playerid][jReloj] = strval(temp);
        cache_get_row(0, 52, temp); PlayerInfo[playerid][jHours] = strval(temp);
        cache_get_row(0, 53, temp); PlayerInfo[playerid][jEncarcelado] = strval(temp);
        cache_get_row(0, 54, temp); PlayerInfo[playerid][jTiempoDeCarcel] = strval(temp);
        cache_get_row(0, 55, temp); PlayerInfo[playerid][jZombieC] = strval(temp);
        cache_get_row(0, 56, temp); PlayerInfo[playerid][jVirusD] = strval(temp);
        cache_get_row(0, 57, temp); PlayerInfo[playerid][jLente] = strval(temp);
        cache_get_row(0, 58, temp); PlayerInfo[playerid][jHat] = strval(temp);
        cache_get_row(0, 59, temp); PlayerInfo[playerid][jRank] = strval(temp);
        cache_get_row(0, 60, temp); PlayerInfo[playerid][jHealth] = floatstr(temp);
        cache_get_row(0, 62, temp); PlayerInfo[playerid][jMascara] = strval(temp);
       
        cache_get_row(0, 63, temp); PlayerWeapons[playerid][0][0] = strval(temp);
        cache_get_row(0, 64, temp); PlayerWeapons[playerid][0][1] = strval(temp);
        cache_get_row(0, 65, temp); PlayerWeapons[playerid][1][0] = strval(temp);
        cache_get_row(0, 66, temp); PlayerWeapons[playerid][1][1] = strval(temp);
        cache_get_row(0, 67, temp); PlayerWeapons[playerid][2][0] = strval(temp);
        cache_get_row(0, 68, temp); PlayerWeapons[playerid][2][1] = strval(temp);
        cache_get_row(0, 69, temp); PlayerWeapons[playerid][3][0] = strval(temp);
        cache_get_row(0, 70, temp); PlayerWeapons[playerid][3][1] = strval(temp);
        cache_get_row(0, 71, temp); PlayerWeapons[playerid][4][0] = strval(temp);
        cache_get_row(0, 72, temp); PlayerWeapons[playerid][4][1] = strval(temp);
        cache_get_row(0, 73, temp); PlayerWeapons[playerid][5][0] = strval(temp);
        cache_get_row(0, 74, temp); PlayerWeapons[playerid][5][1] = strval(temp);
        cache_get_row(0, 75, temp); PlayerWeapons[playerid][6][0] = strval(temp);
        cache_get_row(0, 76, temp); PlayerWeapons[playerid][6][1] = strval(temp);
        cache_get_row(0, 77, temp); PlayerWeapons[playerid][7][0] = strval(temp);
        cache_get_row(0, 78, temp); PlayerWeapons[playerid][7][1] = strval(temp);
        cache_get_row(0, 79, temp); PlayerWeapons[playerid][8][0] = strval(temp);
        cache_get_row(0, 80, temp); PlayerWeapons[playerid][8][1] = strval(temp);
        cache_get_row(0, 81, temp); PlayerWeapons[playerid][9][0] = strval(temp);
        cache_get_row(0, 82, temp); PlayerWeapons[playerid][9][1] = strval(temp);
        cache_get_row(0, 83, temp); PlayerWeapons[playerid][10][0] = strval(temp);
        cache_get_row(0, 84, temp); PlayerWeapons[playerid][10][1] = strval(temp);
        cache_get_row(0, 85, temp); PlayerWeapons[playerid][11][0] = strval(temp);
        cache_get_row(0, 86, temp); PlayerWeapons[playerid][11][1] = strval(temp);
        cache_get_row(0, 87, temp); PlayerWeapons[playerid][12][0] = strval(temp);
        cache_get_row(0, 88, temp); PlayerWeapons[playerid][12][1] = strval(temp);

        printf("Loaded %s (%i) data.", PlayerNameEx(playerid), playerid);
For the misc information i'm using BlueG's R8 MySQL Plugin.

Regards
Oscii.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)