Invalid vehicle and ispassenger
#1

Hello everybody. I have problem with my server. Some cheaters or buggers buging my server. In server log I have these lines:



Код:
[21:00:50] [debug] AMX backtrace:
[21:00:50] [debug] #0 00044b50 in public OnPlayerEnterVehicle (playerid=0, vehicleid=48404, ispassenger=20) at D:\Ћaidimai\LVGM\LVGM\gamemodes\SAMP.pwn:5767
[21:00:50] Warning: PlayerDialogResponse PlayerId: 0 dialog ID doesn't match last sent dialog ID
[21:00:50] [debug] Run time error 4: "Array index out of bounds"
[21:00:50] [debug]  Accessing element at index 63781 past array upper bound 999
[21:00:50] [debug] AMX backtrace:
[21:00:50] [debug] #0 00044b50 in public OnPlayerEnterVehicle (playerid=0, vehicleid=63781, ispassenger=175) at D:\Ћaidimai\LVGM\LVGM\gamemodes\SAMP.pwn:5767
[21:00:50] Warning: PlayerDialogResponse PlayerId: 0 dialog ID doesn't match last sent dialog ID
[21:00:50] [debug] Run time error 4: "Array index out of bounds"
[21:00:50] [debug]  Accessing element at index 11664 past array upper bound 999
[21:00:50] [debug] AMX backtrace:
[21:00:50] [debug] #0 00044b50 in public OnPlayerEnterVehicle (playerid=0, vehicleid=11664, ispassenger=56) at D:\Ћaidimai\LVGM\LVGM\gamemodes\SAMP.pwn:5767
[21:00:50] Warning: PlayerDialogResponse PlayerId: 0 dialog ID doesn't match last sent dialog ID
[21:00:50] [debug] Run time error 4: "Array index out of bounds"
[21:00:50] [debug]  Accessing element at index 37610 past array upper bound 999
[21:00:50] [debug] AMX backtrace:
[21:00:50] [debug] #0 00044b50 in public OnPlayerEnterVehicle (playerid=0, vehicleid=37610, ispassenger=142) at D:\Ћaidimai\LVGM\LVGM\gamemodes\SAMP.pwn:5767
[21:00:50] Warning: PlayerDialogResponse PlayerId: 0 dialog ID doesn't match last sent dialog ID
[21:00:50] [debug] Run time error 4: "Array index out of bounds"
[21:00:50] [debug]  Accessing element at index 26929 past array upper bound 999
[21:00:50] [debug] AMX backtrace:
But I don't have a lot of vehicles, It can't be such vehicleid. How to make protection against this?
Reply


Messages In This Thread
Invalid vehicle and ispassenger - by Vvolk - 24.11.2012, 17:47
Re: Invalid vehicle and ispassenger - by iggy1 - 24.11.2012, 17:54
Re: Invalid vehicle and ispassenger - by Vvolk - 24.11.2012, 18:04
Re: Invalid vehicle and ispassenger - by iggy1 - 24.11.2012, 18:07
Respuesta: Invalid vehicle and ispassenger - by OPremium - 24.11.2012, 18:36

Forum Jump:


Users browsing this thread: 1 Guest(s)