[Snippet] Anti-Freeze

Code:
{$CLEO}
0BE3: raknet setup_incoming_rpc_hook @iRPC
0BDE: 0
:iRPC
0BE5: raknet 0@ = get_hook_param 1
if or
0039:   0@ == 15
0039:   0@ == 157
0039:   0@ == 158
then
0BE0: raknet hook_ret 0
end
0BE0: raknet hook_ret 1
Undetectable and useful in events!
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
lol7 said:
Where did you take 15, 157, and 158 numbers from or How do you know they are related to freezing the player? Thanks in advance.

you can debug packets to determine needed packet id
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
EXAMPLE:
PHP:
{$CLEO .cs}

0000: NOP

repeat
wait 0
until 0AFA: SAMP_IS_READY // ONLY WITH SAMPFUNCS

0BE3: raknet setup_incoming_rpc_hook @iRPC

WHILE TRUE
WAIT 0
END

:iRPC
0BE5: raknet 0@ = get_hook_param 1
IF OR
0039:   0@ == 15
0039:   0@ == 157
0039:   0@ == 158
THEN
    0BE0: raknet hook_ret 0
END
0BE0: raknet hook_ret 1
 
Top