-
Notifications
You must be signed in to change notification settings - Fork 29
Home
Denis edited this page Feb 12, 2023
·
24 revisions
Language: English | Русский
Plugin for SA:MP 0.3.7 server that allows you to capture and analyze RakNet traffic
- Capture, modify, filter incoming/outgoing packets and RPCs
- Send your own packets and RPCs to a player
- Emulate incoming packets and RPCs from a player
- Place pawnraknet.dll/pawnraknet.so and pawnraknet.cfg inside plugins folder
- Place Pawn.RakNet.inc inside pawno/include folder (Windows)
- Append to server.cfg
- plugins pawnraknet.dll (Windows)
- plugins pawnraknet.so (Linux)
- Include header to your script
#include <Pawn.RakNet>
- If you want to use Pawn.RakNet in a filterscript, put this define before including
#define FILTERSCRIPT
The values in parentheses are default values
- InterceptIncomingPacket (true)
- InterceptIncomingRPC (true)
- InterceptOutgoingPacket (true)
- InterceptOutgoingRPC (true)
- InterceptIncomingRawPacket (true)
- InterceptIncomingInternalPacket (false)
- InterceptOutgoingInternalPacket (false)
- WhiteListInternalPackets ([]) - you can enumerate specific packet ids in that array to intercept only them in OnIncomingInternalPacket/OnOutgoingInternalPacket
- UseCaching (false) [enabled caching is incompatible with YSI includes]
- LogAmxErrors (true)
- Windows
- git clone --recursive https://github.com/urShadow/Pawn.RakNet.git
- Generate project files using CMake
- Open pawnraknet.sln
- Build -> Build Solution
- Linux
- git clone --recursive https://github.com/urShadow/Pawn.RakNet.git
- cd Pawn.RakNet
- cmake CMakeLists.txt
- make
- Refer to BrunoBM16's RPC and Packet lists