CLEO Help Help me, please

CLEO related
Status
Not open for further replies.

RyanCollier

Active member
Joined
Jul 30, 2016
Messages
109
Reaction score
1
Hello guys, it quite a long time i haven't done any cleo

Since you guy use the netPatch i can't did any kind of NOP...
Cause i don't know how to use netPatch, i could make one in sampPatch but now i can't :(
Can someone tell me how to make a nop with netPatch ?
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
Code:
{$CLEO .cs}

thread "NOPS" 
0000: NOP 
0@ = 0 
0AA2: 1@ = load_library "SAMP.DLL" 
1@ += 16864 
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 

:NOP_55
wait 0 
if 
0ADC:   test_cheat "NOP" 
jf @NOP_185 
if 
  0@ == 0 
jf @NOP_143 
0AD1: show_formatted_text_highpriority "ONFOOT DATA ON" time 1500  
0@ = 1 
0A8C: write_memory 1@ size 2 value 195 virtual_protect 1 
jump @NOP_185 

:NOP_143
0AD1: show_formatted_text_highpriority "ONFOOT DATA OFF" time 1500  
0@ = 0 
0A8C: write_memory 1@ size 2 value 2@ virtual_protect 1 

:NOP_185
jump @NOP_55
By this you can make your NOPs into cleo, if this was the thing you were looking for?
 

RyanCollier

Active member
Joined
Jul 30, 2016
Messages
109
Reaction score
1
not490 said:
Code:
{$CLEO .cs}

thread "NOPS" 
0000: NOP 
0@ = 0 
0AA2: 1@ = load_library "SAMP.DLL" 
1@ += 16864 
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 

:NOP_55
wait 0 
if 
0ADC:   test_cheat "NOP" 
jf @NOP_185 
if 
  0@ == 0 
jf @NOP_143 
0AD1: show_formatted_text_highpriority "ONFOOT DATA ON" time 1500  
0@ = 1 
0A8C: write_memory 1@ size 2 value 195 virtual_protect 1 
jump @NOP_185 

:NOP_143
0AD1: show_formatted_text_highpriority "ONFOOT DATA OFF" time 1500  
0@ = 0 
0A8C: write_memory 1@ size 2 value 2@ virtual_protect 1 

:NOP_185
jump @NOP_55
By this you can make your NOPs into cleo, if this was the thing you were looking for?

Thanks but what @1 use for ? What is 16864 ? 
For future you could increase your help by using // to write comments in cleo code :)
Thanks in advance
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
RyanCollier said:
not490 said:
Code:
{$CLEO .cs}

thread "NOPS" 
0000: NOP 
0@ = 0 
0AA2: 1@ = load_library "SAMP.DLL" 
1@ += 16864 
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 

:NOP_55
wait 0 
if 
0ADC:   test_cheat "NOP" 
jf @NOP_185 
if 
  0@ == 0 
jf @NOP_143 
0AD1: show_formatted_text_highpriority "ONFOOT DATA ON" time 1500  
0@ = 1 
0A8C: write_memory 1@ size 2 value 195 virtual_protect 1 
jump @NOP_185 

:NOP_143
0AD1: show_formatted_text_highpriority "ONFOOT DATA OFF" time 1500  
0@ = 0 
0A8C: write_memory 1@ size 2 value 2@ virtual_protect 1 

:NOP_185
jump @NOP_55
By this you can make your NOPs into cleo, if this was the thing you were looking for?

Thanks but what @1 use for ? What is 16864 ? 
For future you could increase your help by using // to write comments in cleo code :)
Thanks in advance

If you wan't to start cleos like this what includes memorys, i prefer first to go through "Snippets" section and do few easy ones for start. 16864 is the address of the OnFoot data. @1, @2, @3...etc. Those are variables.
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
RyanCollier said:
not490 said:
Code:
{$CLEO .cs}

thread "NOPS" 
0000: NOP 
0@ = 0 
0AA2: 1@ = load_library "SAMP.DLL" 
1@ += 16864 
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 

:NOP_55
wait 0 
if 
0ADC:   test_cheat "NOP" 
jf @NOP_185 
if 
  0@ == 0 
jf @NOP_143 
0AD1: show_formatted_text_highpriority "ONFOOT DATA ON" time 1500  
0@ = 1 
0A8C: write_memory 1@ size 2 value 195 virtual_protect 1 
jump @NOP_185 

:NOP_143
0AD1: show_formatted_text_highpriority "ONFOOT DATA OFF" time 1500  
0@ = 0 
0A8C: write_memory 1@ size 2 value 2@ virtual_protect 1 

:NOP_185
jump @NOP_55
By this you can make your NOPs into cleo, if this was the thing you were looking for?

Thanks but what @1 use for ? What is 16864 ? 
For future you could increase your help by using // to write comments in cleo code :)
Thanks in advance
1@ goes for base address of samp.dll
16864 goes for offset, so it will be samp.dll + 0x16864
 

RyanCollier

Active member
Joined
Jul 30, 2016
Messages
109
Reaction score
1
supahdupahnubah said:
RyanCollier said:
not490 said:
Code:
{$CLEO .cs}

thread "NOPS" 
0000: NOP 
0@ = 0 
0AA2: 1@ = load_library "SAMP.DLL" 
1@ += 16864 
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 

:NOP_55
wait 0 
if 
0ADC:   test_cheat "NOP" 
jf @NOP_185 
if 
  0@ == 0 
jf @NOP_143 
0AD1: show_formatted_text_highpriority "ONFOOT DATA ON" time 1500  
0@ = 1 
0A8C: write_memory 1@ size 2 value 195 virtual_protect 1 
jump @NOP_185 

:NOP_143
0AD1: show_formatted_text_highpriority "ONFOOT DATA OFF" time 1500  
0@ = 0 
0A8C: write_memory 1@ size 2 value 2@ virtual_protect 1 

:NOP_185
jump @NOP_55
By this you can make your NOPs into cleo, if this was the thing you were looking for?

Thanks but what @1 use for ? What is 16864 ? 
For future you could increase your help by using // to write comments in cleo code :)
Thanks in advance
1@ goes for base address of samp.dll
16864 goes for offset, so it will be samp.dll + 0x16864

Thanks not490 and superdubadu :)
( Sorry i might write your name wrong )
I understand... thanks you guys
 

RyanCollier

Active member
Joined
Jul 30, 2016
Messages
109
Reaction score
1
not490 said:
RyanCollier said:
not490 said:
Code:
{$CLEO .cs}

thread "NOPS" 
0000: NOP 
0@ = 0 
0AA2: 1@ = load_library "SAMP.DLL" 
1@ += 16864 
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 

:NOP_55
wait 0 
if 
0ADC:   test_cheat "NOP" 
jf @NOP_185 
if 
  0@ == 0 
jf @NOP_143 
0AD1: show_formatted_text_highpriority "ONFOOT DATA ON" time 1500  
0@ = 1 
0A8C: write_memory 1@ size 2 value 195 virtual_protect 1 
jump @NOP_185 

:NOP_143
0AD1: show_formatted_text_highpriority "ONFOOT DATA OFF" time 1500  
0@ = 0 
0A8C: write_memory 1@ size 2 value 2@ virtual_protect 1 

:NOP_185
jump @NOP_55
By this you can make your NOPs into cleo, if this was the thing you were looking for?

Thanks but what @1 use for ? What is 16864 ? 
For future you could increase your help by using // to write comments in cleo code :)
Thanks in advance

If you wan't to start cleos like this what includes memorys, i prefer first to go through "Snippets" section and do few easy ones for start. 16864 is the address of the OnFoot data. @1, @2, @3...etc. Those are variables.
Where to find the addresses of data packets ?
Thanks for taking time to help me :)
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
RyanCollier said:
not490 said:
RyanCollier said:
not490 said:
Code:
{$CLEO .cs}

thread "NOPS" 
0000: NOP 
0@ = 0 
0AA2: 1@ = load_library "SAMP.DLL" 
1@ += 16864 
0A8D: 2@ = read_memory 1@ size 2 virtual_protect 0 

:NOP_55
wait 0 
if 
0ADC:   test_cheat "NOP" 
jf @NOP_185 
if 
  0@ == 0 
jf @NOP_143 
0AD1: show_formatted_text_highpriority "ONFOOT DATA ON" time 1500  
0@ = 1 
0A8C: write_memory 1@ size 2 value 195 virtual_protect 1 
jump @NOP_185 

:NOP_143
0AD1: show_formatted_text_highpriority "ONFOOT DATA OFF" time 1500  
0@ = 0 
0A8C: write_memory 1@ size 2 value 2@ virtual_protect 1 

:NOP_185
jump @NOP_55
By this you can make your NOPs into cleo, if this was the thing you were looking for?

Thanks but what @1 use for ? What is 16864 ? 
For future you could increase your help by using // to write comments in cleo code :)
Thanks in advance

If you wan't to start cleos like this what includes memorys, i prefer first to go through "Snippets" section and do few easy ones for start. 16864 is the address of the OnFoot data. @1, @2, @3...etc. Those are variables.
Where to find the addresses of data packets ?
Thanks for taking time to help me :)

http://www.gtamodding.com/wiki/Memory_Addresses_(SA)
Here you can find some of them.
 
Status
Not open for further replies.
Top