24.11.2012, 17:47
Hello everybody. I have problem with my server. Some cheaters or buggers buging my server. In server log I have these lines:
But I don't have a lot of vehicles, It can't be such vehicleid. How to make protection against this?
Код:
[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: