29.04.2017, 10:23
Quote:
I'll make a separate include for anticheat. I have decided this to stay as a lagcomp only fix include.
|
Please have a look in this backtrace. i am printing every command i use.
PHP Code:
[14:51:26] [Command] gurmani11(0): /kill
[14:51:27] [debug] Run time error 4: "Array index out of bounds"
[14:51:27] [debug] Attempted to read/write array element at index 65535 in array of size 1000
[14:51:27] [debug] AMX backtrace:
[14:51:27] [debug] #0 0000bea8 in AC_ProcessDamage (&playerid=@0028c244 0, &issuerid=@0028c248 65535, &Float:amount=@0028c24c 2.64000, &weaponid=@0028c250 0, &bodypart=@0028c254 3) at H:\MyScripts\pawno\include\GAC.inc:566
[14:51:27] [debug] #1 0000f708 in public OnPlayerTakeDamage (playerid=0, issuerid=65535, Float:amount=2.64000, weaponid=0, bodypart=3) at H:\MyScripts\pawno\include\GAC.inc:989
PHP Code:
if (issuerid != INVALID_PLAYER_ID && !AC_ProcessDamage(playerid, issuerid, amount, weaponid, bodypart))
return 1;