[Help] OnPlayerDisonnect
#1

Hi there,

I have an issue when a player disconnect, I have no clue what so ever it is. But when a player disconnect my server cashes & and I have to go inside my control panel and start the server again.

Would be great to find what the problem is...

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new pName[MAX_PLAYER_NAME], string32[350];
    GetPlayerName(playerid, pName, sizeof(pName));
    switch(reason)
    {
        case 0: format(string32, sizeof(string32), "%s has left the server. (Lost Connection)", pName);
        case 1: format(string32, sizeof(string32), "%s has left the server. (Leaving)", pName);
        case 2: format(string32, sizeof(string32), "%s has left the server. (Kicked)", pName);
    }
    if(reason == 0)
    {
        for(new slot = 0; slot != 12; slot++)
        {
            new wep, ammo;
            GetPlayerWeaponData(playerid, slot, wep, ammo);
            PlayerInfo[playerid][pCrashed] = 1;
            if(wep != 0 && ammo != 0)
            {
                if(PlayerInfo[playerid][pGun1] == 0) { PlayerInfo[playerid][pGun1] = wep; PlayerInfo[playerid][pAmmo1] = ammo; }
                else if(PlayerInfo[playerid][pGun2] == 0) { PlayerInfo[playerid][pGun2] = wep; PlayerInfo[playerid][pAmmo2] = ammo; }
                else if(PlayerInfo[playerid][pGun3] == 0) { PlayerInfo[playerid][pGun3] = wep; PlayerInfo[playerid][pAmmo3] = ammo; }
                else if(PlayerInfo[playerid][pGun4] == 0) { PlayerInfo[playerid][pGun4] = wep; PlayerInfo[playerid][pAmmo4] = ammo; }
            }
        }
    }
    if(reason == 1 || reason == 2)
    {
        for(new slot = 0; slot != 12; slot++)
        {
            new wep, ammo;
            GetPlayerWeaponData(playerid, slot, wep, ammo);
            if(wep != 0 && ammo != 0)
            {
                if(PlayerInfo[playerid][pGun1] == 0) { PlayerInfo[playerid][pGun1] = wep; PlayerInfo[playerid][pAmmo1] = ammo; }
                else if(PlayerInfo[playerid][pGun2] == 0) { PlayerInfo[playerid][pGun2] = wep; PlayerInfo[playerid][pAmmo2] = ammo; }
                else if(PlayerInfo[playerid][pGun3] == 0) { PlayerInfo[playerid][pGun3] = wep; PlayerInfo[playerid][pAmmo3] = ammo; }
                else if(PlayerInfo[playerid][pGun4] == 0) { PlayerInfo[playerid][pGun4] = wep; PlayerInfo[playerid][pAmmo4] = ammo; }
            }
        }
    }
    PlayerInfo[playerid][pInGame] = 0;
    SendAdminMessage(0xDE1BCF96, string32);
    TextDrawDestroy(Textdraw42[playerid]);
    TextDrawDestroy(Textdraw41[playerid]);
    TextDrawHideForPlayer(playerid, Text:GostergeYazi[playerid]);
    TextDrawHideForPlayer(playerid, Text:ArkaPlan0);
    TextDrawHideForPlayer(playerid, Text:ArkaPlan1);
    TextDrawHideForPlayer(playerid, Text:ArkaPlan2);
    TextDrawHideForPlayer(playerid, Text:ArkaPlan3);
    TextDrawHideForPlayer(playerid, Text:ArkaPlan4);
    TextDrawHideForPlayer(playerid, SunGlasses);
    OnPlayerUpdateEx(playerid);
    new Float:x;
    new Float:y;
    new Float:z;
    GetPlayerPos(playerid,x,y,z);
    positionx = x;
    positiony = y;
    positionz = z;
    if (!dini_Exists(FileStats(playerid)))
    {
        dini_Create(FileStats(playerid));
    }
    SaveStats(playerid);
    PlayerInfo[playerid][pAdjustable] = 1;
    MatDeliver[playerid] = 0;
    DrugDeliver[playerid] = 0;
    MatDeliver2[playerid] = 0;
    CharacterStatus[playerid] = 0;
    ToggleSounds[playerid] = 1;
    PlayingSound[playerid] = 0;
    ToggleDispatch[playerid] = 0;
    ToggleStats[playerid] = 1;
    ShowGPS[playerid] = 1;
    new playername4[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername4, sizeof(playername4));
    new string[64];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(TaxiAccepted[i] < 999)
            {
                if(TaxiAccepted[i] == playerid)
                {
                    TaxiAccepted[i] = 999;
                    GameTextForPlayer(i, "~w~Taxi Caller~n~~r~Left the game", 5000, 3);
                    TaxiCallTime[i] = 0;
                    DisablePlayerCheckpoint(i);
                }
            }
            else if(BusAccepted[i] < 999)
            {
                if(BusAccepted[i] == playerid)
                {
                    BusAccepted[i] = 999;
                    GameTextForPlayer(i, "~w~Bus Caller~n~~r~Left the game", 5000, 3);
                    BusCallTime[i] = 0;
                    DisablePlayerCheckpoint(i);
                }
            }
        }
    }
    if(PlayerPaintballing[playerid] != 0)
    {
        PaintballPlayers --;
    }
    if(playerrobbing[playerid] == 1)
    {
    new sendername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "(( %s has disconnected while robbing the bank ))", sendername);
    SendFamilyMessage(1,COLOR_RED, "The Los Santos Bank has not been robbed.");
    SendFamilyMessage(PlayerInfo[playerid][pMember],COLOR_LIGHTBLUE, string);
    robbed = 0;
    playerrobbing[playerid] = 0;
    }
    if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999)
    {
        if(IsPlayerConnected(TransportDriver[playerid]))
        {
            TransportMoney[TransportDriver[playerid]] += TransportCost[playerid];
            TransportTime[TransportDriver[playerid]] = 0;
            TransportCost[TransportDriver[playerid]] = 0;
            format(string, sizeof(string), "~w~Passenger left~n~~g~Earned $%d",TransportCost[playerid]);
            GameTextForPlayer(TransportDriver[playerid], string, 5000, 3);
        }
    }
    if(GotHit[playerid] > 0)
    {
        if(GetChased[playerid] < 999)
        {
            if(IsPlayerConnected(GetChased[playerid]))
            {
                SendClientMessage(GetChased[playerid], COLOR_YELLOW, "Your Hit has left the server.");
                GoChase[GetChased[playerid]] = 999;
            }
        }
    }
    if(PlayersChannel[playerid] < 999)
    {
        IRCInfo[PlayersChannel[playerid]][iPlayers] -= 1;
    }
    if(HireCar[playerid] != 299)
    {
        SetVehicleToRespawn(HireCar[playerid]);
        gLastDriver[HireCar[playerid]] = 300;
        gCarLock[HireCar[playerid]] = 0;
        UnLockCar(HireCar[playerid]);
    }
    if (gLastCar[playerid] > 0)
    {
        gLastDriver[gLastCar[playerid]] = 300;
        if(PlayerInfo[playerid][pPhousekey] != gLastCar[playerid]-1)
        {
            gCarLock[gLastCar[playerid]] = 0;
            UnLockCar(gLastCar[playerid]);
        }
    }
    if(PlayerBoxing[playerid] > 0)
    {
        if(Boxer1 == playerid)
        {
            if(IsPlayerConnected(Boxer2))
            {
                PlayerBoxing[Boxer2] = 0;
                SetPlayerPos(Boxer2, 765.8433,3.2924,1000.7186);
                SetPlayerInterior(Boxer2, 5);
                GameTextForPlayer(Boxer2, "~r~Match interupted", 5000, 3);
            }
        }
        else if(Boxer2 == playerid)
        {
            if(IsPlayerConnected(Boxer1))
            {
                PlayerBoxing[Boxer1] = 0;
                SetPlayerPos(Boxer1, 765.8433,3.2924,1000.7186);
                SetPlayerInterior(Boxer1, 5);
                GameTextForPlayer(Boxer1, "~r~Match interupted", 5000, 3);
            }
        }
        InRing = 0;
        RoundStarted = 0;
        Boxer1 = 255;
        Boxer2 = 255;
        TBoxer = 255;
    }
    if(TransportDuty[playerid] == 1)
    {
        TaxiDrivers -= 1;
    }
    else if(TransportDuty[playerid] == 2)
    {
        BusDrivers -= 1;
    }
    if(PlayerInfo[playerid][pJob] == 11)
    {
        if(JobDuty[playerid] == 1) { Medics -= 1; }
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
        if(JobDuty[playerid] == 1) { Mechanics -= 1; }
    }
    gPlayerLogged[playerid] = 0;
    Busline1[playerid][0] = 0;
    Busline2[playerid][0] = 0;
    Busline3[playerid][0] = 0;
    return 1;
}
Reply
#2

Crash Log?
Reply
#3

Quote:
Originally Posted by Anak
Посмотреть сообщение
Crash Log?
I don't know where I can find one, the only thing I see at my host is that it's "Server cashing, auto restarting" some times nothing. But it only happens when some disconnects.

As well I don't have any warnings or errors in my game mode.
Re-installed the server at my host, switched server location as well still same thing.
Reply
#4

Run the crash Detect Plugin?
Reply
#5

Follow above message ^
Reply
#6

Ehmmm

How can I understand this? xD
pawn Код:
[13:49:15] [debug] Run time error 4: "Array index out of bounds"
[13:49:15] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:15] [debug] AMX backtrace:
[13:49:15] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:15] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:16] [debug] Run time error 4: "Array index out of bounds"
[13:49:16] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:16] [debug] AMX backtrace:
[13:49:16] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:16] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:17] [debug] Run time error 4: "Array index out of bounds"
[13:49:17] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:17] [debug] AMX backtrace:
[13:49:17] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:17] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:18] [debug] Run time error 4: "Array index out of bounds"
[13:49:18] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:18] [debug] AMX backtrace:
[13:49:18] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:18] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:19] [debug] Run time error 4: "Array index out of bounds"
[13:49:19] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:19] [debug] AMX backtrace:
[13:49:19] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:19] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:20] [debug] Run time error 4: "Array index out of bounds"
[13:49:20] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:20] [debug] AMX backtrace:
[13:49:20] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:20] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:21] [debug] Run time error 4: "Array index out of bounds"
[13:49:21] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:21] [debug] AMX backtrace:
[13:49:21] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:21] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:23] [debug] Run time error 4: "Array index out of bounds"
[13:49:23] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:23] [debug] AMX backtrace:
[13:49:23] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:23] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:24] [debug] Run time error 4: "Array index out of bounds"
[13:49:24] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:24] [debug] AMX backtrace:
[13:49:24] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:24] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:25] [debug] Run time error 4: "Array index out of bounds"
[13:49:25] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:25] [debug] AMX backtrace:
[13:49:25] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:25] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:26] [debug] Run time error 4: "Array index out of bounds"
[13:49:26] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:26] [debug] AMX backtrace:
[13:49:26] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:26] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:27] [debug] Run time error 4: "Array index out of bounds"
[13:49:27] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:27] [debug] AMX backtrace:
[13:49:27] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:27] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:28] [debug] Run time error 4: "Array index out of bounds"
[13:49:28] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:28] [debug] AMX backtrace:
[13:49:28] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:28] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:29] [debug] Run time error 4: "Array index out of bounds"
[13:49:29] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:29] [debug] AMX backtrace:
[13:49:29] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:29] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:30] [debug] Run time error 4: "Array index out of bounds"
[13:49:30] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:30] [debug] AMX backtrace:
[13:49:30] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:30] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:31] [debug] Run time error 4: "Array index out of bounds"
[13:49:31] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:31] [debug] AMX backtrace:
[13:49:31] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:31] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:32] [debug] Run time error 4: "Array index out of bounds"
[13:49:32] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:32] [debug] AMX backtrace:
[13:49:32] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:32] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:33] [debug] Run time error 4: "Array index out of bounds"
[13:49:33] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:33] [debug] AMX backtrace:
[13:49:33] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:33] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:34] [debug] Run time error 4: "Array index out of bounds"
[13:49:34] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:34] [debug] AMX backtrace:
[13:49:34] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:34] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:35] [debug] Run time error 4: "Array index out of bounds"
[13:49:35] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:35] [debug] AMX backtrace:
[13:49:35] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:35] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:36] [debug] Run time error 4: "Array index out of bounds"
[13:49:36] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:36] [debug] AMX backtrace:
[13:49:36] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:36] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:37] [debug] Run time error 4: "Array index out of bounds"
[13:49:37] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:37] [debug] AMX backtrace:
[13:49:37] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:37] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:38] [debug] Run time error 4: "Array index out of bounds"
[13:49:38] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:38] [debug] AMX backtrace:
[13:49:38] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:38] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:39] [debug] Run time error 4: "Array index out of bounds"
[13:49:39] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:39] [debug] AMX backtrace:
[13:49:39] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:39] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:40] [debug] Run time error 4: "Array index out of bounds"
[13:49:40] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:40] [debug] AMX backtrace:
[13:49:40] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:40] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:41] [debug] Run time error 4: "Array index out of bounds"
[13:49:41] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:41] [debug] AMX backtrace:
[13:49:41] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:41] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:42] [debug] Run time error 4: "Array index out of bounds"
[13:49:42] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:42] [debug] AMX backtrace:
[13:49:42] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:42] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:43] [debug] Run time error 4: "Array index out of bounds"
[13:49:43] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:43] [debug] AMX backtrace:
[13:49:43] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:43] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:45] [debug] Run time error 4: "Array index out of bounds"
[13:49:45] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:45] [debug] AMX backtrace:
[13:49:45] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:45] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:46] [debug] Run time error 4: "Array index out of bounds"
[13:49:46] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:46] [debug] AMX backtrace:
[13:49:46] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:46] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:47] [debug] Run time error 4: "Array index out of bounds"
[13:49:47] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:47] [debug] AMX backtrace:
[13:49:47] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:47] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:48] [debug] Run time error 4: "Array index out of bounds"
[13:49:48] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:48] [debug] AMX backtrace:
[13:49:48] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:48] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:48] Incoming connection: 90.225.81.93:49980
[13:49:48] [join] Sandra_Jackson has joined the server (0:90.225.81.93)
[13:49:49] [debug] Run time error 4: "Array index out of bounds"
[13:49:49] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:49] [debug] AMX backtrace:
[13:49:49] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:49] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:50] [debug] Run time error 4: "Array index out of bounds"
[13:49:50] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:50] [debug] AMX backtrace:
[13:49:50] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:50] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:51] [debug] Run time error 4: "Array index out of bounds"
[13:49:51] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:51] [debug] AMX backtrace:
[13:49:51] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:51] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:52] [debug] Run time error 4: "Array index out of bounds"
[13:49:52] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:52] [debug] AMX backtrace:
[13:49:52] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:52] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:53] [debug] Run time error 4: "Array index out of bounds"
[13:49:53] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:53] [debug] AMX backtrace:
[13:49:53] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:53] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:54] [debug] Run time error 4: "Array index out of bounds"
[13:49:54] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:54] [debug] AMX backtrace:
[13:49:54] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:54] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:55] [debug] Run time error 4: "Array index out of bounds"
[13:49:55] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:55] [debug] AMX backtrace:
[13:49:55] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:55] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:56] [debug] Run time error 4: "Array index out of bounds"
[13:49:56] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:56] [debug] AMX backtrace:
[13:49:56] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:56] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:57] [debug] Run time error 4: "Array index out of bounds"
[13:49:57] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:57] [debug] AMX backtrace:
[13:49:57] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:57] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:58] [debug] Run time error 4: "Array index out of bounds"
[13:49:58] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:58] [debug] AMX backtrace:
[13:49:58] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:58] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:49:59] [debug] Run time error 4: "Array index out of bounds"
[13:49:59] [debug]  Accessing element at index 4 past array upper bound 2
[13:49:59] [debug] AMX backtrace:
[13:49:59] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:49:59] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:00] [debug] Run time error 4: "Array index out of bounds"
[13:50:00] [debug]  Accessing element at index 4 past array upper bound 2
[13:50:00] [debug] AMX backtrace:
[13:50:00] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:50:00] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:01] Sandra_Jackson has logged in.
[13:50:01] [debug] Run time error 4: "Array index out of bounds"
[13:50:01] [debug]  Accessing element at index 4 past array upper bound 2
[13:50:01] [debug] AMX backtrace:
[13:50:01] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:50:01] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:02] [debug] Run time error 4: "Array index out of bounds"
[13:50:02] [debug]  Accessing element at index 4 past array upper bound 2
[13:50:02] [debug] AMX backtrace:
[13:50:02] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:50:02] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:03] [debug] Run time error 4: "Array index out of bounds"
[13:50:03] [debug]  Accessing element at index 4 past array upper bound 2
[13:50:03] [debug] AMX backtrace:
[13:50:03] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:50:03] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:04] [debug] Run time error 4: "Array index out of bounds"
[13:50:04] [debug]  Accessing element at index 4 past array upper bound 2
[13:50:04] [debug] AMX backtrace:
[13:50:04] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:50:04] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at negative index -1
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 00395f08 in public OnVehicleStreamIn () from EVEREST.amx
[13:50:05] [debug] Run time error 4: "Array index out of bounds"
[13:50:05] [debug]  Accessing element at index 4 past array upper bound 2
[13:50:05] [debug] AMX backtrace:
[13:50:05] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:50:05] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:07] [debug] Run time error 4: "Array index out of bounds"
[13:50:07] [debug]  Accessing element at index 4 past array upper bound 2
[13:50:07] [debug] AMX backtrace:
[13:50:07] [debug] #0 0007acac in ?? () from EVEREST.amx
[13:50:07] [debug] #1 003900a0 in public CustomPickups () from EVEREST.amx
[13:50:07] [debug] Run time error 4: "Array index out of bounds"
[13:50:07] [debug]  Accessing element at negative index -50
[13:50:07] [debug] AMX backtrace:
[13:50:07] [debug] #0 00000cc4 in public OnPlayerDisconnect () from Stretcher.amx
[13:50:07] [debug] Server crashed while executing EVEREST.amx
[13:50:07] [debug] AMX backtrace:
[13:50:07] [debug] #0 native fclose () [0809a550] from samp03svr
[13:50:07] [debug] #1 00001d9c in ?? () from EVEREST.amx
[13:50:07] [debug] #2 000070d4 in ?? () from EVEREST.amx
[13:50:07] [debug] #3 0000312c in public OnPlayerDisconnect () from EVEREST.amx
[13:50:07] [debug] System backtrace:
[13:50:07] [debug] #0 00775f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[13:50:07] [debug] #1 0076c41f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[13:50:07] [debug] #2 0076a963 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[13:50:07] [debug] #3 007753c1 in ?? () from plugins/crashdetect.so
[13:50:07] [debug] #4 00966410 in ?? ()
[13:50:07] [debug] #5 00a12877 in fclose () from /lib/libc.so.6
[13:50:07] [debug] #6 0809a564 in ?? () from ./samp03svr
[13:50:07] [debug] #7 080938e4 in ?? () from ./samp03svr
[13:50:07] [debug] #8 0076b5a2 in _ZN11crashdetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:50:07] [debug] #9 0077365e in ?? () from plugins/crashdetect.so
[13:50:07] [debug] #10 0077a926 in amx_Exec () from plugins/crashdetect.so
[13:50:07] [debug] #11 0076b622 in _ZN11crashdetect9DoAmxExecEPii () from plugins/crashdetect.so
[13:50:07] [debug] #12 00773699 in ?? () from plugins/crashdetect.so
[13:50:07] [debug] #13 080aca9a in ?? () from ./samp03svr
[13:50:07] [debug] #14 080c4951 in ?? () from ./samp03svr
[13:50:07] [debug] #15 080b3ea7 in ?? () from ./samp03svr
[13:50:07] [debug] #16 080b573a in ?? () from ./samp03svr
[13:50:07] [debug] #17 080b5792 in ?? () from ./samp03svr
[13:50:07] [debug] #18 080b10a3 in ?? () from ./samp03svr
[13:50:07] [debug] #19 009c8ce6 in __libc_start_main () from /lib/libc.so.6
[13:50:07] [debug] #20 0804b521 in ?? () from ./samp03svr
Reply
#7

you have some problem in this file EVEREST.amx
Reply
#8

Sorry, here's a translation

pawn Код:
[14:05:07] [debug] Run time error 4: "Array index out of bounds"
[14:05:07] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:07] [debug] AMX backtrace:
[14:05:07] [debug] #0 00087fbc in public OnGameModeInit () at ../gamemodes/OnGameModeInit.pwn:3575
[14:05:08] [debug] Run time error 4: "Array index out of bounds"
[14:05:08] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:08] [debug] AMX backtrace:
[14:05:08] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:08] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:09] [debug] Run time error 4: "Array index out of bounds"
[14:05:09] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:09] [debug] AMX backtrace:
[14:05:09] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:09] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:10] [debug] Run time error 4: "Array index out of bounds"
[14:05:10] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:10] [debug] AMX backtrace:
[14:05:10] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:10] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:12] [debug] Run time error 4: "Array index out of bounds"
[14:05:12] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:12] [debug] AMX backtrace:
[14:05:12] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:12] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:13] [debug] Run time error 4: "Array index out of bounds"
[14:05:13] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:13] [debug] AMX backtrace:
[14:05:13] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:13] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:14] [debug] Run time error 4: "Array index out of bounds"
[14:05:14] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:14] [debug] AMX backtrace:
[14:05:14] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:14] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:15] [debug] Run time error 4: "Array index out of bounds"
[14:05:15] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:15] [debug] AMX backtrace:
[14:05:15] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:15] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:16] [debug] Run time error 4: "Array index out of bounds"
[14:05:16] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:16] [debug] AMX backtrace:
[14:05:16] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:16] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:17] [debug] Run time error 4: "Array index out of bounds"
[14:05:17] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:17] [debug] AMX backtrace:
[14:05:17] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:17] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:18] [debug] Run time error 4: "Array index out of bounds"
[14:05:18] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:18] [debug] AMX backtrace:
[14:05:18] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:18] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:19] [debug] Run time error 4: "Array index out of bounds"
[14:05:19] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:19] [debug] AMX backtrace:
[14:05:19] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:19] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:20] [debug] Run time error 4: "Array index out of bounds"
[14:05:20] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:20] [debug] AMX backtrace:
[14:05:20] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:20] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
[14:05:21] [debug] Run time error 4: "Array index out of bounds"
[14:05:21] [debug]  Accessing element at index 4 past array upper bound 2
[14:05:21] [debug] AMX backtrace:
[14:05:21] [debug] #0 00099aa0 in public OnPropTextdrawUpdate () at ../gamemodes/OnUpdates.pwn:122
[14:05:21] [debug] #1 0048b754 in public CustomPickups () at C:\Users\Ben Sherman\Desktop\Everest Community\gamemodes\EVEREST.pwn:37831
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)