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 


Writing to Dynamic Memory through Auto Assemlber? Help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
adaptusaaf
Advanced Cheater
Reputation: 0

Joined: 13 Jan 2008
Posts: 52

PostPosted: Sun Nov 29, 2009 3:26 am    Post subject: Writing to Dynamic Memory through Auto Assemlber? Help Reply with quote

I have a code:
mov [esi+00000928],eax

If I "find out what addresses this code writes to"

I always get 2 addresses
The addresses for these values are sometimes different.

The values I get are always the same:
286123456
286654321

I need them to be:
286000000
286000000

I'm sure you get the picture. Wink

Yes I can do it manually very easy but I have to do it over and over so I'm trying to set up an automatic script. Macroing the manual keyboard/mouse actions works but is too messy and not efficient for fullscreen games. Window mode messes up my in-game scripts so I'm looking for something inside CE autoassembler or something to do this.

The two numbers in the addresses the code writes to are always the same (286123456 and 286654321)

I always need to make them both 286000000.

The addresses themselves for the two codes change at random times, and since I have to do it over and over again I cant just save the addresses and freeze them. This is the problem. So I need a way to make all values that this code "mov [esi+00000928],eax" writes to always 286000000 or find a way to change them afterwards no matter how the address themselves shift. Or find a way to get a static address for the values.


Thank you guys Smile
Back to top
View user's profile Send private message
sven3107
Expert Cheater
Reputation: 0

Joined: 04 Feb 2009
Posts: 118
Location: Belgium

PostPosted: Sun Nov 29, 2009 8:55 am    Post subject: Reply with quote

In your memory viewer, go to the 'View' menu, and select 'Show module addresses'.

In most cases, the modules+offsets will be shown, you can use those directly as an address.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
adaptusaaf
Advanced Cheater
Reputation: 0

Joined: 13 Jan 2008
Posts: 52

PostPosted: Sun Nov 29, 2009 12:58 pm    Post subject: Reply with quote

I tried what you said, it appears to be a way to view an address differently, however it doesn't help the problem..

The addresses that the opcode writes to changes, not the address of the opcode

As for the addresses that the opcode writes to (the addresses that contain the 286123456 values) the code changes frequently and module+offset doesn't help find it or retain it.

I think what I need is a way to find a static pointer of those addresses or a way to freeze the register state of that opcode or what I mentioned earlier I just don't know how to do this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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