My server crashe's
#1

I put the crashdetector on my server, and i get this, how can i fix it ? My server shut's down.
pawn Код:
[18:18:51] [debug] Server crashed while executing GF.amx
[18:18:51] [debug] AMX backtrace:
[18:18:51] [debug] #0  00050000 in ?? () from GF.amx
[18:18:51] [debug] #1  000a57ec in ?? () from GF.amx
[18:18:51] [debug] #2  00000074 in public JBC_OnDialogResponse () from GF.amx
[18:18:51] [debug] #3  00004670 in public OnDialogResponse () from GF.amx
[18:18:51] [debug] System backtrace:
and

pawn Код:
[18:18:15] [debug] #0  000894d8 in public OnVehicleStreamIn () from GF.amx
[18:18:15] [debug] Run time error 4: "Array index out of bounds"
[18:18:15] [debug]   Accessing element at index 415 past array upper bound 301
[18:18:15] [debug] AMX backtrace:
This is my OnVehicleStreamIn
pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if(CarInfo[vehicleid][cLock] == 1)
    {
        SetVehicleParamsForPlayer(vehicleid,forplayerid,0,1);
    }
    return 1;
}
Reply
#2

Someone ?
Reply
#3

Post the definition of CarInfo.
Reply
#4

The thing with OnVehicleStreamIn don't shut's my server off, the

pawn Код:
[18:18:51] [debug] Server crashed while executing GF.amx
[18:18:51] [debug] AMX backtrace:
[18:18:51] [debug] #0  00050000 in ?? () from GF.amx
[18:18:51] [debug] #1  000a57ec in ?? () from GF.amx
[18:18:51] [debug] #2  00000074 in public JBC_OnDialogResponse () from GF.amx
[18:18:51] [debug] #3  00004670 in public OnDialogResponse () from GF.amx
[18:18:51] [debug] System backtrace:
does
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)