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 


I need help with percent's in auto assemble

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

Joined: 12 Oct 2019
Posts: 1

PostPosted: Sat Oct 12, 2019 10:54 pm    Post subject: I need help with percent's in auto assemble Reply with quote

For this example my life is: 15% and i want use auto assemble for set it for 100% because i dont know how to do it, i know how find the address of the percent but i want use an instruction like: "mov [eax+08],100%" żis that possible?
Back to top
View user's profile Send private message
Cyberfreak
Cheater
Reputation: 0

Joined: 28 Jan 2017
Posts: 30

PostPosted: Thu Oct 24, 2019 12:15 pm    Post subject: Reply with quote

Sure, but you have to know what value 100% is. From my personal experiences, I see several options.

- Just read it from the value in the table, when you are at 100%. Maybe you have to insert an hex value like "mov [eax+08],64" if your max is 100 in decimal = 64 in hex.

- Don't care about the exact value for 100%, just insert something much bigger, like 9,999,999 (without the commata) or FFFFFFFF. Most games I manipulated so far goes well with something like that.

- Go to the Memory View - Tools - Dissect Data/Structures and take a look to the offsets. Sometimes, you find the max value in an offset, next to actual value, in your example it might be eax+08 = actual value, eax+12 or ea+16 = current max value. Then it would be something like

push rax
mov rax,[eax+16]
mov [eax+08],rax
pop rax

As far as I know (still would describe me as a casual user from CE, who have to try out some things until I'm happy with the result), you cannot directly transfer from one offset to another, so you have to transfer from the 'max value' offset to a designated memory region and from this memory region to the 'actual value' offset. Push and pop are only one way to do so, you will find several possibilities in the tutorials in this forum.
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