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 


Quick Question?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Tue May 27, 2014 7:36 pm    Post subject: Quick Question? Reply with quote

ok, so in newmem you use

label(somename)
registersymbol(somename)
.
.
.
somename:
dd 0

then in the address list you add somename, when the script is active somename is set to 0, and if you wanted to change the value you'd double click it and enter a new value. How could I write a script to toggle the value of somename instead? like enable=1,disable=0?
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Tue May 27, 2014 8:01 pm    Post subject: Reply with quote

Code:

[enable]
somename:
dd 1
[disable]
somename:
dd 0

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Tue May 27, 2014 9:13 pm    Post subject: Reply with quote

wow I don't know how I couldn't think of that. I kept re-declaring somename in a new script and using mov [somename],0 and it wouldn't work... idiot me =/ thanks boss
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Wed May 28, 2014 6:40 am    Post subject: Reply with quote

You're very welcome. I'm pretty sure I asked the exact same question when I joined the forums. You'll get there.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
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