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 


[Help] Making a Simple Script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
v-Konstrukt
Grandmaster Cheater Supreme
Reputation: 0

Joined: 10 Jan 2007
Posts: 1003

PostPosted: Fri Jan 16, 2009 7:35 pm    Post subject: [Help] Making a Simple Script Reply with quote

I've been looking at trying to figure out how to work with AA lately, and when I found something I could try it on, I realize that I have no idea how to succesfully do it.
So, Im trying to figure out how to push the value of 0 into an address, then freeze it in just a script. I have a good idea of what it would be.

Code:
[Enable]
-address here-
Push -address here,0
-Dunno what to do with freezing address-

[Disable]
Etc
w/e
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Fri Jan 16, 2009 7:41 pm    Post subject: Reply with quote

push the value of 0?? Are you sure you want to PUSH 0 or do you really want to MOV [Address], 0. Cause they both do very different things.
_________________
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Fri Jan 16, 2009 7:44 pm    Post subject: Reply with quote

Code:
push 0
pop dword ptr ds:[address]

_________________
Back to top
View user's profile Send private message
teeigeryuh
Master Cheater
Reputation: 25

Joined: 13 Oct 2008
Posts: 262
Location: The netherlands

PostPosted: Fri Jan 16, 2009 8:14 pm    Post subject: Reply with quote

So for example, this would be right?

Code:

 [enable]
005E90B1:
push 0
pop dword ptr ds 005E90B1]

[Disable]
005E90B1:
push 0
pop dword ptr ds 005E90B1]

_________________

ლ(╹◡╹ლ)
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Fri Jan 16, 2009 9:51 pm    Post subject: Reply with quote

No. That script would overwrite itself. To freeze a value you must create a new thread which constantly writes zero into the address.
_________________
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Sat Jan 17, 2009 12:47 am    Post subject: Reply with quote

Code:
[enable]
Address:
mov [eax], value
[disable]


Like Sponge said, you have to make a loop for it to work.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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