Pawn.RakNet
🛡 Plugin for SA:MP 0.3.7 server that allows you to capture and analyze RakNet traffic
Install / Use
/learn @katursis/Pawn.RakNetREADME
Pawn.RakNet
Plugin for SA:MP 0.3.7 server that allows you to capture and analyze RakNet traffic
Main features
- 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
Documentation
Simple example
const PLAYER_SYNC = 207;
IPacket:PLAYER_SYNC(playerid, BitStream:bs)
{
new onFootData[PR_OnFootSync];
BS_IgnoreBits(bs, 8); // ignore packet id (uint8)
BS_ReadOnFootSync(bs, onFootData);
printf(
"PLAYER_SYNC[%d]:\nlrKey %d \nudKey %d \nkeys %d \nposition %.2f %.2f %.2f \nquaternion %.2f %.2f %.2f %.2f \nhealth %d \narmour %d \nadditionalKey %d \nweaponId %d \nspecialAction %d \nvelocity %.2f %.2f %.2f \nsurfingOffsets %.2f %.2f %.2f \nsurfingVehicleId %d \nanimationId %d \nanimationFlags %d",
playerid,
onFootData[PR_lrKey],
onFootData[PR_udKey],
onFootData[PR_keys],
onFootData[PR_position][0],
onFootData[PR_position][1],
onFootData[PR_position][2],
onFootData[PR_quaternion][0],
onFootData[PR_quaternion][1],
onFootData[PR_quaternion][2],
onFootData[PR_quaternion][3],
onFootData[PR_health],
onFootData[PR_armour],
onFootData[PR_additionalKey],
onFootData[PR_weaponId],
onFootData[PR_specialAction],
onFootData[PR_velocity][0],
onFootData[PR_velocity][1],
onFootData[PR_velocity][2],
onFootData[PR_surfingOffsets][0],
onFootData[PR_surfingOffsets][1],
onFootData[PR_surfingOffsets][2],
onFootData[PR_surfingVehicleId],
onFootData[PR_animationId],
onFootData[PR_animationFlags]
);
return 1;
}
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
