Denis

Results 17 comments of Denis

Attach **server_log.txt**.

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

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

> 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...

Attach full server_log.txt and example.pwn (to reproduce the error), please.

I guess you need to delete "BS_SetWriteOffset(bs, 0)" or "BS_ResetWritePointer(bs)" calls (if existing).

1) I need **full** server_log.txt, not just crashlog. 2) Why are you using BS_ResetWritePointer? Show by example how.

Function BS_ResetWritePointer empties BitStream data. No reason to use it after BS_WriteValue, it is nonsense. I think it is a cause of the issue. > without BS_ResetWritePointer, crashes in Windows...

That's because open.mp SDK doesn't provide internal/raw packets callback.

No, sampgdk does something wrong. It invokes a native function using faked amx which Pawn.RakNet don't know about. Calling once `AmxLoad` explicitly from Pawn.RakNet with `sampgdk_fakeamx_amx()` as argument may help...