24.06.2015, 01:37
Fixed anyway but here is some more information.
FIX FOR FAKE PACKETS by Su37Erich:
It is an out of bounds runtime error, this is caused by fake data sent by a player:
[20:13:58] [debug] Run time error 4: "Array index out of bounds"
[20:13:58] [debug] Accessing element at negative index -22
[20:13:58] [debug] AMX backtrace:
[20:13:58] [debug] #0 0000ea38 in public OnPlayerWeaponShot (playerid=39, weaponid=0, hittype=222, hitid=34785, Float:fX=0.00000, Float:fY=166153499473114484112975882535043072.0000 0, Float:fZ=0.00000) at C:\Users\Erich\****** Drive\Server\pawno\include\bustaim.inc:242
[20:13:58] [warning] Invalid shot data for player(39). Offset out of bounds.
FIX FOR FAKE PACKETS by Su37Erich:
It is an out of bounds runtime error, this is caused by fake data sent by a player:
[20:13:58] [debug] Run time error 4: "Array index out of bounds"
[20:13:58] [debug] Accessing element at negative index -22
[20:13:58] [debug] AMX backtrace:
[20:13:58] [debug] #0 0000ea38 in public OnPlayerWeaponShot (playerid=39, weaponid=0, hittype=222, hitid=34785, Float:fX=0.00000, Float:fY=166153499473114484112975882535043072.0000 0, Float:fZ=0.00000) at C:\Users\Erich\****** Drive\Server\pawno\include\bustaim.inc:242
[20:13:58] [warning] Invalid shot data for player(39). Offset out of bounds.
Код:
if(weaponid < 22 || weaponid > 3) { BanEx(playerid, "Fake Data"); return 0; }