Pawn.RakNet icon indicating copy to clipboard operation
Pawn.RakNet copied to clipboard

newest version cause to bug

Open PlusMixDev opened this issue 5 years ago • 8 comments

Hi, i use newest version "1.4.0" my client cannot connect to server, They have request connection but it stuck on beach screen and get kick by server for not logged in and always get server crash by unknown issue. i guess this plugin not incompatible with chandling plugin and other plugin that hook raknet (no problem when not use pawnraknet)

all plugin i use | crashdetect mysql pawnraknet socket streamer pawncmd sscanf Whirlpool FCNPC hash chandlingsvr

PlusMixDev avatar May 03 '20 20:05 PlusMixDev

Attach server_log.txt.

katursis avatar May 03 '20 23:05 katursis

here is server_log.txt

FCNPC warnings please ignore it because it not cause ploblem.

https://pastebin.com/Q10Due02

PlusMixDev avatar May 04 '20 08:05 PlusMixDev

  1. Try Pawn.RakNet 1.3.0.
  2. Try without chandlingsvr.

katursis avatar May 04 '20 10:05 katursis

Okay now i try

  1. Try Pawn.Raknet 1.3.0 = Server Work correctly (with chandlingsvr)
  2. Try without chandlingsvr = Server Work correctly (using Pawn.Raknet 1.4.0)

PlusMixDev avatar May 04 '20 10:05 PlusMixDev

Try set InterceptIncomingRawPacket to false in pawnraknet.cfg (1.4.0).

katursis avatar May 04 '20 11:05 katursis

Try set InterceptIncomingRawPacket to false in pawnraknet.cfg (1.4.0).

I try it, now it work fine with no server crash and can you explain what IncomingRawPacket work? can it send custom rpc id ex. RPCID_TOGGLECURSOR (300) to server.

PlusMixDev avatar May 04 '20 11:05 PlusMixDev

now it work fine with no server crash

Ok, chandlingsvr is the cause of the crash.

@dotSILENT, you need to replace GetPacketID hook with RakServer::Receive hook.

can it send custom rpc id

Yes.

https://github.com/urShadow/Pawn.RakNet/wiki/IRawPacket-usage

katursis avatar May 04 '20 11:05 katursis

Okay thank you. hope dotSILENT will fix his plugin ASAP.

PlusMixDev avatar May 04 '20 11:05 PlusMixDev