NexiusTailer / Nex-AC

Anticheat system
https://pawn.wiki/index.php?/topic/27641-nex-ac/
GNU Lesser General Public License v3.0
213 stars 155 forks source link

Weapon slot bug #238

Closed Walter-Correa closed 3 years ago

Walter-Correa commented 3 years ago
//Nex-AC by Nexius v1.9.53 (0.3.7)
[23:57:14] [debug] Run time error 4: "Array index out of bounds"
[23:57:14] [debug]  Accessing element at index 128 past array upper bound 46
[23:57:14] [debug] AMX backtrace:
[23:57:14] [debug] #0 0002dd50 in public OnPlayerUpdate (playerid=0) at ...pawno\include\nex-ac.inc:4286
[23:57:14] [debug] Run time error 4: "Array index out of bounds"
[23:57:14] [debug]  Accessing element at index 128 past array upper bound 46
[23:57:14] [debug] AMX backtrace:
[23:57:14] [debug] #0 0002dd50 in public OnPlayerUpdate (playerid=0) at ...pawno\include\nex-ac.inc:4286
[23:57:14] [debug] Run time error 4: "Array index out of bounds"
[23:57:14] [debug]  Accessing element at index 128 past array upper bound 46
[23:57:14] [debug] AMX backtrace:
[23:57:14] [debug] #0 0002dd50 in public OnPlayerUpdate (playerid=0) at ...pawno\include\nex-ac.inc:4286
rt-2 commented 3 years ago

3 things that can help with debugging this:

NexiusTailer commented 3 years ago

First of all,

//Nex-AC by Nexius v1.9.53 (0.3.7)

The latest release is 1.9.56

Secondly,

[23:57:14] [debug] #0 0002dd50 in public OnPlayerUpdate (playerid=0) at ...pawno\include\nex-ac.inc:4286

image

https://github.com/IllidanS4/YSF/issues/125

And that's why GetPlayerSyncWeapon was removed in newer ac versions.


P.s. Next time please test any issues on current release versions so that you don't waste time on problems that have long been solved here.