Help [CLEO] Desync

RewardK

Member
Joined
Jun 2, 2018
Messages
14
Reaction score
0
C++:
:InRpcHook
wait 0
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if 0@ == RPC_SCRSETPLAYERHEALTH
then
    if $desync == true
    then 0BE0: raknet hook_ret false
    end
end
0BE0: raknet hook_ret true
:InPacketHook
wait 0
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if or
    0@ == PACKET_PLAYER_SYNC
    0@ == PACKET_VEHICLE_SYNC
    0@ == PACKET_PASSENGER_SYNC
    0@ == PACKET_BULLET_SYNC
then
    if $desync == true
    then 0BE0: raknet hook_ret false
    end
end
0BE0: raknet hook_ret true

what's the PACKET for receiving position changes for server, ex SetPlayerPos(playerid, x, y, z)?
do you have a list of all packets?
 
Top