NexiusTailer / Nex-AC

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

OnIncomingPacket array #277

Closed Trysha-rbrn closed 1 year ago

Trysha-rbrn commented 1 year ago
[debug] Run time error 4: "Array index out of bounds"
[debug]  Attempted to read/write array element at index 65535 in array of size 1000
[debug] AMX backtrace:
[debug] #0 0004516c in public OnIncomingPacket (playerid=65535, packetid=39, BitStream:bs=1703064) at C:\..\nex-ac.inc:8397
[debug] Run time error 4: "Array index out of bounds"
[debug]  Attempted to read/write array element at index 65535 in array of size 1000
[debug] AMX backtrace:
[debug] #0 0004516c in public OnIncomingPacket (playerid=65535, packetid=39, BitStream:bs=1703064) at C:\..\nex-ac.inc:8397
[connection] 127.0.0.1 requests connection cookie.
[connection] incoming connection: 127.0.0.1 id: 0
[join] Trifun has joined the server (0:127.0.0.1)

I do have PawnRakNet include.

Trysha-rbrn commented 1 year ago

As I updated RakNet version, the problem was solved. I absolutely don't have an idea what was the problem, thus i find this solved.

NexiusTailer commented 1 year ago

The problem was in outdated Pawn.RakNet version, obviously 😄