open.mp
open.mp copied to clipboard
Server Crash while using pawn.raknet [ Random ]
trafficstars
Describe the bug pawn.raknet calls OnIncomingPacket with playerid -1, but do it only under omp server. ( Exactly like #818 Issue)
To Reproduce Steps to reproduce the behavior: Occurring Randomly ( When a player got reconnected to the Server [ like Network Issue ] )
Expected behavior Should not crash
Screenshots and/or logs
[05:42:37] Run time error 4: "Array index out of bounds"
[05:42:37] Attempted to read/write array element at negative index -1
[05:42:37] AMX backtrace:
[05:42:37] #0 0006473c in public OnIncomingPacket (playerid=-1, packetid=33, BitStream:bs=-4458840) at C:\Karthi\Atlantic City Roleplay\ACRP_Open.mp\qawno\include\nex-ac.inc:8659
[05:42:37] Server crashed due to an unknown error
Commit hash in master OMP Version - https://github.com/openmultiplayer/open.mp/actions/runs/10116117829 Pawn.RakNet - https://github.com/katursis/Pawn.RakNet/releases/tag/1.6.0-omp Nex-AC - https://github.com/NexiusTailer/Nex-AC ( Latest )