CLEO Help Put Activation

CLEO related
Status
Not open for further replies.

Badonga

Active member
Joined
Aug 5, 2013
Messages
71
Reaction score
0
Hello, can someone tell me how to put activation key F1 (key 112) for toggle on and off for this script:

Code:
// This file was decompiled using SASCM.INI published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013

{$VERSION 3.1.0000}
{$CLEO .cs}

//-------------MAIN---------------
0662: printstring "SPRINT" 

:Noname_11
wait 0 
if and
044B:   actor $PLAYER_ACTOR on_foot 
056D:   actor $PLAYER_ACTOR defined 
jf @Noname_11

wait 400 
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 
wait 100 
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 
wait 50 
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 
goto @Noname_11 
end
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
TH3RM4L link said:
Code:
{$CLEO .cs}

0000: NOP
0@ = 0
1@ = false
2@ = false

:ON
wait 0 
if
0AB0: 112
jf @ON
print "on" 2000
wait 500
goto @400

:400
wait 0
if
1@ == false
jf @100
if
0@ == 40
jf @P
0@ = 0
1@ = true
print "1/3 working" 3000
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 

:100
if
2@ == false
jf @50
if
0@ == 10
jf @P
0@ = 0
2@ = true
print "2/3 working" 3000
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 

:50
if
0@ == 5
jf @P
0@ = 0
1@ = false
2@ = false
print "3/3 working" 3000
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 

:OFF
if
0AB0: 112
jf @400
print "off" 2000
wait 500
goto @ON

:P
000A: 0@ += 1
goto @OFF
I put a print before every write memory to check if everything works ok.
And, it works, video:

https://www.youtube.com/watch?v=Tp96ViMUlTY&feature=youtu.be

Now Mr.Ze is like :table_flip: and TH3RM4L is like :fuck_yea:
still doesnt work
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Mr.Ze link said:
still doesnt work
:surprised: my script has a hidden anti-fagit protection, that's why it doesn't work for you.

Stop trying to troll around :fuck_you:
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
TH3RM4L link said:
:surprised: my script has a hidden anti-fagit protection, that's why it doesn't work for you.

Stop trying to troll around :fuck_you:
Stop using SF 2.1. It does not work, the original works, but this one nothing even shows up, only "off" and "on" prints.
 

Badonga

Active member
Joined
Aug 5, 2013
Messages
71
Reaction score
0
TH3RM4L link said:
:surprised: my script has a hidden anti-fagit protection, that's why it doesn't work for you.

Stop trying to troll around :fuck_you:

It works....  :forever_hurra: :forever_hurra: :forever_hurra:
YOU ARE THE MOST AWESOME+HELPFUL person ever. I think you can fix this too with your skill:

http://ugbase.eu/help-7/script-not-working/msg55410/#msg55410


Thanks  :challenge_accepted:
 
Status
Not open for further replies.
Top