← Scripts e bibliotecas
katursis/Pawn.RakNet
🛡 Plugin for SA:MP 0.3.7 server that allows you to capture and analyze RakNet traffic
Plugin★ 184atualizado há 35 diasMITC++sampctl
Abrir no GitHubInstalar com o sampctl
sampctl package install katursis/Pawn.RakNet
Execute na pasta do seu projeto. O sampctl baixa o pacote e as dependências dele.
Usado por 12 pacotes
- DignitySAMP/SP-RP★ 53
- MatheusAgL/BrasilNewStart-samp★ 19
- MrucznikRolePlay/Mrucznik-RP-gamemode★ 18
- ZantetsukenGT/AttDef★ 16
- emmett-white/survive-time★ 14
- Revelts/SA-MP-WarZone★ 5
- ilhamjaya08/diversity-gamemode-rp★ 4
- play-verse/playverse★ 3
- porsamp/TENKA-CTL★ 2
- VIRUXE/samp-scavenge-nostalgia★ 1
- WroxExM/samp-invisibility★ 1
- LoneProg/Main-Gamemode★ 1
README.md
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;
}
packetspawnpluginraknetrpcsa-mpsamp
Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página