View previous topic :: View next topic |
Author |
Message |
11770 Newbie cheater
Reputation: 0
Joined: 23 Sep 2012 Posts: 24
|
Posted: Sun Oct 05, 2014 4:04 pm Post subject: how to increase an increase? |
|
|
i found a value and what values write to it it has only 1 other address that writes to it. i was just wondering how do i increase the gain that it gives to the other address, like say it increases it by say 20,000 how would i increase the gain it gives?
if it makes any difference the writing address has this opcode: mov [eax+04],edx
ad the address that writes is a 4 byte while the written to is a float
|
|
Back to top |
|
 |
penpenpen Cheater
Reputation: 0
Joined: 23 Feb 2014 Posts: 39
|
Posted: Sun Oct 05, 2014 5:58 pm Post subject: |
|
|
I'd say you just do a codeinjection (Memory View -> Tools-> Auto assemble (ANd Template -> Code injection) )
Code: | newmem:
mov [eax+04],edx //loads [eax+4] with edx
add [eax+04],1 // adds 1 to eax |
|
|
Back to top |
|
 |
11770 Newbie cheater
Reputation: 0
Joined: 23 Sep 2012 Posts: 24
|
Posted: Mon Oct 06, 2014 9:28 am Post subject: |
|
|
ok, so this, penpenpen wrote: |
Code: | newmem:
mov [eax+04],edx //loads [eax+4] with edx
add [eax+04],1 // adds 1 to eax |
|
i was supposed to use the address of the op code that was modifying it for when it asked me where i wanted to jump?
goes into the area after return here:? sorry, this is the most complex thing i've done with cheat engine mostly just standard changes, nop'ing thing that drop hp etc
|
|
Back to top |
|
 |
penpenpen Cheater
Reputation: 0
Joined: 23 Feb 2014 Posts: 39
|
Posted: Tue Oct 07, 2014 4:08 am Post subject: |
|
|
I'm not sure what you mean.
If you want to know if eax+04 holds the value you are looking for, you can set a breakpoint in memory view, and check out the registers on the right for your value.
|
|
Back to top |
|
 |
11770 Newbie cheater
Reputation: 0
Joined: 23 Sep 2012 Posts: 24
|
Posted: Tue Oct 07, 2014 3:54 pm Post subject: |
|
|
well when i got to the template you told me to it asks me "on what address do you want the jump?"
|
|
Back to top |
|
 |
penpenpen Cheater
Reputation: 0
Joined: 23 Feb 2014 Posts: 39
|
Posted: Wed Oct 08, 2014 5:50 am Post subject: |
|
|
You will want it to jump on the address where the value you want increased is mov(ed).
The Code injection is quite simple, all it does is create a jmp operation for you, which jumps to some free space(I think it alloctes it first), executes some code (in your case add value x), and then jumps back to the original code.
|
|
Back to top |
|
 |
|