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 


Cheat Engine Autoassebler grab a value from register

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
HerzAusStahl
How do I cheat?
Reputation: 0

Joined: 01 Mar 2015
Posts: 2

PostPosted: Sun Mar 01, 2015 1:13 pm    Post subject: Cheat Engine Autoassebler grab a value from register Reply with quote

Hello, I want to write an autoassembler Script that saves the value of the ECX register at a specific instruction and somehow tells the user the value.

I tried looking for codecaves and saving the value in there by:
mov [00730176], ecx

but it crashes whenever the instruction gets called.


is there any way to grab the value of ecx and print it or save it anywhere without debugging everytime? thank you
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25298
Location: The netherlands

PostPosted: Sun Mar 01, 2015 1:33 pm    Post subject: Reply with quote

00730176 is probably read only
either pick a writable address, or allocate the memory yourself

E.g:
Code:

Alloc (mystorage,4)
Registersymbol (mystorage)
...
mov [mystorage], ecx
...


Mystorage will become a valid address for ce

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
HerzAusStahl
How do I cheat?
Reputation: 0

Joined: 01 Mar 2015
Posts: 2

PostPosted: Sun Mar 01, 2015 2:20 pm    Post subject: Reply with quote

thank you so much!! It works fantastic!

I really appreciate how much time and afford you put into this thank you so much for the quick reply
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