katursis / Pawn.RakNet

🛡 Plugin for SA:MP 0.3.7 server that allows you to capture and analyze RakNet traffic
https://github.com/katursis/Pawn.RakNet/wiki
MIT License
167 stars 29 forks source link

Intercept Incoming Raw Packet not working on OpenMP version #64

Open RodrigoMSR opened 2 years ago

RodrigoMSR commented 2 years ago

The OnIncomingRawPacket callback is not being called at all in the OpenMP version of the plugin.

My pawnraknet.cfg (I've already tried putting it in the "plugins" and "components" folders):

InterceptIncomingPacket = true
WhiteListInternalPackets = []
InterceptIncomingRPC = false
InterceptOutgoingPacket = false
InterceptOutgoingRPC = false
InterceptIncomingRawPacket = true
InterceptIncomingInternalPacket = false
InterceptOutgoingInternalPacket = false
UseCaching = false

OS: Windows 10 & Debian 10

katursis commented 2 years ago

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