CLEO Help Activation/Deaction bug! ?

CLEO related
Status
Not open for further replies.

silentl747

Active member
Joined
Jul 7, 2014
Messages
96
Reaction score
0
I cant deactive this cheat.

tell my mistake please, im a beginner scripter!

Code:
:START
wait 0
if 
0ADC:   test_cheat "NOPCHH"
jf @main
if
0@ == 0 // ITS OFF
then
0@ = 1 // ENABLE IT
018C: play_sound 1083 at 0.0 0.0 0.0
0ACD: show_text_highpriority "~w~]NOPC[SmartHH ~g~ON" time 2000
else
0@ = 0 // TURN IT OFF
018C: play_sound 1084 at 0.0 0.0 0.0     
0ACD: show_text_highpriority "~w~]NOPC[SmartHH ~r~OFF" time 2000
end

:main
if 0@ == 1
jf @START
// ACTION
wait 2000
jump @loop

:loop
if 0@ == 1
jf @START
// ACTION
wait 2000
jump @main
 

MrChristmas

Expert
Joined
Jul 29, 2014
Messages
563
Reaction score
26
Code:
:START
wait 0
if 
0ADC:   test_cheat "NOPCHH"
jf @MAIN
if
0@ == 0 //0
then        
0@ = 1 //1
018C: play_sound 1083 at 0.0 0.0 0.0
0ACD: show_text_highpriority "~w~]NOPC[SmartHH ~g~ON" time 2000
else
0@ = 0 //0
018C: play_sound 1084 at 0.0 0.0 0.0     
0ACD: show_text_highpriority "~w~]NOPC[SmartHH ~r~OFF" time 2000
end

:MAIN
if 0@ == 1 //1
jf @START
 //STUFF
wait 2000
jump @START
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Mr.Christmas link said:
Code:
:START
wait 0
if 
0ADC:   test_cheat "NOPCHH"
jf @MAIN
if
0@ == 0 //0
then        
0@ = 1 //1
018C: play_sound 1083 at 0.0 0.0 0.0
0ACD: show_text_highpriority "~w~]NOPC[SmartHH ~g~ON" time 2000
else
0@ = 0 //0
018C: play_sound 1084 at 0.0 0.0 0.0     
0ACD: show_text_highpriority "~w~]NOPC[SmartHH ~r~OFF" time 2000
end

:MAIN
if 0@ == 1 //1
jf @START
 //STUFF
wait 2000
jump @START
You always helping but looks like you don't even give a fuck about the problem. You never test what you share and stress people with wrong made things. Just fuck off :fuck_you:

[member=21817]NOPCode.exe[/member]
The deactivation doesn't work because the script stops two seconds and the tog label jumps back to the main one in 1 ms, so you have no time to turn the script off.

{$CLEO}
0000:
31@ = false

:ON
wait 0
if
0ADC: "K"
jf @ON
018C: play_sound 1083 at 0.0 0.0 0.0
print "~G~ON" 2000
31@ = true
33@ = 0

:GODMODE_ON
wait 0
if
31@ == true
jf @GODMODE_OFF
if
0029:  33@ >= 2000 // delay until godmode turns on
jf @OFF
Actor.SetImmunities($PLAYER_ACTOR, 1, 1, 1, 1, 1)
31@ = false
33@ = 0 

:GODMODE_OFF
if
0029:  33@ >= 2000 // delay until godmode turns off
jf @OFF
31@ = true
33@ = 0
Actor.SetImmunities($PLAYER_ACTOR, 0, 0, 0, 0, 0)

:OFF
if
0ADC: "K"
jf @GODMODE_ON
018C: play_sound 1084 at 0.0 0.0 0.0   
print "~R~OFF" 2000
goto @ON
 

MrChristmas

Expert
Joined
Jul 29, 2014
Messages
563
Reaction score
26
TH3RM4L link said:
You always helping but looks like you don't even give a fuck about the problem. You never test what you share and stress people with wrong made things. Just fuck off :fuck_you:


Actually you never know If I tested it or I did not so you can't say a thing. I tested it and it worked for me I could activated and deactivated it so I posted it here. Oh and mind you language coz if you gonna say words like that to people on this community forum then good luck with getting more people in to it.
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Mr.Christmas link said:
Actually you never know If I tested it or I did not so you can't say a thing. I tested it and it worked for me I could activated and deactivated it so I posted it here. Oh and mind you language coz if you gonna say words like that to people on this community forum then good luck with getting more people in to it.
:face_palm: it doesn't work, it cannot turn off that way. You always do not test cleos and post wrong scripts, here are some examples:
1) http://ugbase.eu/help-7/cleo-help-simple-commands-(command)/msg63571/#msg63571 | There is no 047A: opcode and where's jf? that script is totally wrong.
2) http://ugbase.eu/requests-10/setskin-cs(not-sync)/msg61989/#msg61989 | the requester said it crashes his game
3) http://ugbase.eu/requests-10/spider-hack/msg61481/#msg61481 | just like 2)
 

Naganaga

Active member
Joined
Apr 13, 2013
Messages
103
Reaction score
0
TH3RM4L link said:
:face_palm: it doesn't work, it cannot turn off that way. You always do not test cleos and post wrong scripts, here are some examples:
1) http://ugbase.eu/help-7/cleo-help-simple-commands-(command)/msg63571/#msg63571 | There is no 047A: opcode and where's jf? that script is totally wrong.
2) http://ugbase.eu/requests-10/setskin-cs(not-sync)/msg61989/#msg61989 | the requester said it crashes his game
3) http://ugbase.eu/requests-10/spider-hack/msg61481/#msg61481 | just like 2)


Most people are new to CLEO, and are willing to learn more.
Just correct them, and say what they've done wrong instead saying ''Fuck off'' to them.
 

silentl747

Active member
Joined
Jul 7, 2014
Messages
96
Reaction score
0
TH3RM4L link said:
You always helping but looks like you don't even give a fuck about the problem. You never test what you share and stress people with wrong made things. Just fuck off :fuck_you:

[member=21817]NOPCode.exe[/member]
The deactivation doesn't work because the script stops two seconds and the tog label jumps back to the main one in 1 ms, so you have no time to turn the script off.

{$CLEO}
0000:
31@ = false

:ON
wait 0
if
0ADC: "K"
jf @ON
018C: play_sound 1083 at 0.0 0.0 0.0
print "~G~ON" 2000
31@ = true
33@ = 0

:GODMODE_ON
wait 0
if
31@ == true
jf @GODMODE_OFF
if
0029:  33@ >= 2000 // delay until godmode turns on
jf @OFF
Actor.SetImmunities($PLAYER_ACTOR, 1, 1, 1, 1, 1)
31@ = false
33@ = 0 

:GODMODE_OFF
if
0029:  33@ >= 2000 // delay until godmode turns off
jf @OFF
31@ = true
33@ = 0
Actor.SetImmunities($PLAYER_ACTOR, 0, 0, 0, 0, 0)

:OFF
if
0ADC: "K"
jf @GODMODE_ON
018C: play_sound 1084 at 0.0 0.0 0.0   
print "~R~OFF" 2000
goto @ON

\Thank you very much THERMAL for your great explanation! Now i get it. Thanks again!
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
NOPCode.exe link said:
\Thank you very much THERMAL for your great explanation! Now i get it. Thanks again!
No problem. Oh and, by the way, 33@ is a timer. It gets increased with 1 per ms - maybe this information will help you to understand why I had set 33@ to 0 and checked if it's lower/higher than 2000 even if I didn't use any +='s. That helped me to keep jumping from the main label to the deactivation label everytime in a loop so the script can be turned off at any moment.
 
Status
Not open for further replies.
Top