Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to turn off a script without executing the DISABLE part?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Tue Mar 17, 2015 5:35 pm    Post subject: How to turn off a script without executing the DISABLE part? Reply with quote

Simple question in title Smile
Back to top
View user's profile Send private message
aikoncwd
Grandmaster Cheater
Reputation: 23

Joined: 21 Dec 2012
Posts: 591
Location: Spain (Barcelona)

PostPosted: Tue Mar 17, 2015 6:04 pm    Post subject: Reply with quote

Leave the [DISABLE] section without any command?

Code:

[ENABLE]
mov eax,A
[DISABLE]
//nope

_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Tue Mar 17, 2015 6:33 pm    Post subject: Reply with quote

Code:
[Enable]

alloc(cheat_1,32)
label(cheat_orig)
label(cheat_status)
registersymbol(cheat_status)
label(returnhere_cheat)

//--------------------------------------------------//
cheat_1:
cmp [cheat_status],0
je cheat_orig
-----CHEATS-----
-----CHEATS-----
jmp returnhere_cheat

cheat_orig:
-----ORIGINAL CODE-----
-----ORIGINAL CODE-----
jmp returnhere_cheat

cheat_status:
dd 0
//--------------------------------------------------//

injection_point:
jmp cheat_1
returnhere_cheat:

[Disable]

injection_point:
-----ORIGINAL CODE-----
-----ORIGINAL CODE-----
unregistersymbol(cheat_status)
dealloc(cheat_1)

Then... just toggle cheat_status Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites