warlxrd How do I cheat? Reputation: 0
Joined: 12 Oct 2019 Posts: 1
|
Posted: Sat Oct 12, 2019 10:54 pm Post subject: I need help with percent's in auto assemble |
|
|
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?
|
|
Cyberfreak Cheater Reputation: 0
Joined: 28 Jan 2017 Posts: 30
|
Posted: Thu Oct 24, 2019 12:15 pm Post subject: |
|
|
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.
|
|