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 


how to increase an increase?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
11770
Newbie cheater
Reputation: 0

Joined: 23 Sep 2012
Posts: 24

PostPosted: Sun Oct 05, 2014 4:04 pm    Post subject: how to increase an increase? Reply with quote

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
View user's profile Send private message
penpenpen
Cheater
Reputation: 0

Joined: 23 Feb 2014
Posts: 39

PostPosted: Sun Oct 05, 2014 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
11770
Newbie cheater
Reputation: 0

Joined: 23 Sep 2012
Posts: 24

PostPosted: Mon Oct 06, 2014 9:28 am    Post subject: Reply with quote

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
View user's profile Send private message
penpenpen
Cheater
Reputation: 0

Joined: 23 Feb 2014
Posts: 39

PostPosted: Tue Oct 07, 2014 4:08 am    Post subject: Reply with quote

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
View user's profile Send private message
11770
Newbie cheater
Reputation: 0

Joined: 23 Sep 2012
Posts: 24

PostPosted: Tue Oct 07, 2014 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
penpenpen
Cheater
Reputation: 0

Joined: 23 Feb 2014
Posts: 39

PostPosted: Wed Oct 08, 2014 5:50 am    Post subject: Reply with quote

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
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