anti freeze

Dhave6666

Member
Joined
Jun 22, 2019
Messages
8
Reaction score
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one): anti freeze 0.3.7
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): didn't saw it.
* What do you want (the most important part, explain this carefully) I'm looking for a cleo antifreeze to make c bug in rp's since when I do c bug the server freezes me
* Details (add more details to your request) no
* On/off key (specify it): with the f9 key please
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
294
Reaction score
98
Location
UGBASE
Simply hook (and don't proceed) following incoming RPCs:

ID 86 - ApplyPlayerAnimation (you won't receive animations from server)
ID 15 - TogglePlayerControllable (Server can't freeze you via that func)

Here an ready-2-compile code for ya:

C++:
thread 'SAFA_UGBASE'
{$CLEO .cs}
0000:

REPEAT
WAIT 0
UNTIL 0AFA: SAMP_LOADED

0BE1: raknet setup_outcoming_rpc_hook @AntiCBug

WHILE TRUE
WAIT 0
END


:AntiCBug
0BE5: raknet 0@ = get_hook_param 1
IF OR
0@ == 15
0@ == 86
THEN
    0BE0: 0 // not proceeding
END

The code is just written down real quick but it should work.
 
Last edited:

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
294
Reaction score
98
Location
UGBASE
Ooops edited the code above. It should be "IF OR" obviously and not "IF AND" while checking the RPC ID's
 

truongvi2013

Active member
Joined
May 26, 2016
Messages
82
Reaction score
10
Location
Vietnam
Simply hook (and don't proceed) following incoming RPCs:

ID 86 - ApplyPlayerAnimation (you won't receive animations from server)
ID 15 - TogglePlayerControllable (Server can't freeze you via that func)

Here an ready-2-compile code for ya:

C++:
thread 'SAFA_UGBASE'
{$CLEO .cs}
0000:

REPEAT
WAIT 0
UNTIL 0AFA: SAMP_LOADED

0BE1: raknet setup_outcoming_rpc_hook @AntiCBug

WHILE TRUE
WAIT 0
END


:AntiCBug
0BE5: raknet 0@ = get_hook_param 1
IF OR
0@ == 15
0@ == 86
THEN
    0BE0: 0 // not proceeding
END

The code is just written down real quick but it should work.
Is this possible to translate this to non-sampfuncs opcode, any snippet,clue or something?
been trying to do this raknet things in cleo for weeks, i extremely unfamiliar with c++
 

Dhave6666

Member
Joined
Jun 22, 2019
Messages
8
Reaction score
1
Simply hook (and don't proceed) following incoming RPCs:

ID 86 - ApplyPlayerAnimation (you won't receive animations from server)
ID 15 - TogglePlayerControllable (Server can't freeze you via that func)

Here an ready-2-compile code for ya:

C++:
thread 'SAFA_UGBASE'
{$CLEO .cs}
0000:

REPEAT
WAIT 0
UNTIL 0AFA: SAMP_LOADED

0BE1: raknet setup_outcoming_rpc_hook @AntiCBug

WHILE TRUE
WAIT 0
END


:AntiCBug
0BE5: raknet 0@ = get_hook_param 1
IF OR
0@ == 15
0@ == 86
THEN
    0BE0: 0 // not proceeding
END

The code is just written down real quick but it should work.

How do I use it? I am very new to this :s
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
294
Reaction score
98
Location
UGBASE
How do I use it? I am very new to this :s
Compile the script with Sanny Builder. Make sure you have the SAMPFUNCS Library installed. You can find enough instructions on Google.
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,690
Reaction score
103
Is this possible to translate this to non-sampfuncs opcode, any snippet,clue or something?
been trying to do this raknet things in cleo for weeks, i extremely unfamiliar with c++
Usually done with loading samp.dll and changing memory there. S0beit will be your best bet for getting addresses and such you don't need to be that familiar with C++ to do this as long as you can put together how the function works.
 

Dhave6666

Member
Joined
Jun 22, 2019
Messages
8
Reaction score
1
Simply hook (and don't proceed) following incoming RPCs:

ID 86 - ApplyPlayerAnimation (you won't receive animations from server)
ID 15 - TogglePlayerControllable (Server can't freeze you via that func)

Here an ready-2-compile code for ya:

C++:
thread 'SAFA_UGBASE'
{$CLEO .cs}
0000:

REPEAT
WAIT 0
UNTIL 0AFA: SAMP_LOADED

0BE1: raknet setup_outcoming_rpc_hook @AntiCBug

WHILE TRUE
WAIT 0
END


:AntiCBug
0BE5: raknet 0@ = get_hook_param 1
IF OR
0@ == 15
0@ == 86
THEN
    0BE0: 0 // not proceeding
END

The code is just written down real quick but it should work.

it gives me crash
help me
 
Top