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 


Some help with dma

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

Joined: 17 Jun 2010
Posts: 1

PostPosted: Fri Jun 18, 2010 1:43 pm    Post subject: Some help with dma Reply with quote

Ok iv found an address and i have made a small trainer to nop it correctly even though it changes. Now im working with another address to change a different part. I have the current address, which is a dma, I need to change the value to 30 and freeze it there, and make that a trainer.
noping the address worked for the last because i did autohack with tsearch, but this one would be different since i dont want to nop it, i just need it set to a high number so you wont run out and 30 is the max you will use. any help on how to find the right pointers and such so that it goes down the chain and changes the correct value? and then be able to add that to a trainer using tmk. And hopefully this makes sense. If not then I can try to reword it.
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Sat Jun 19, 2010 3:08 am    Post subject: Reply with quote

You could try jumping into a codecave and writing the value.
But you'l probably want to manually find one since you're using autohack with tsearch.
Cheat engine will allocate one but i dont know if tsearch can do that.
See the tut section for caves.
Lets say
00500000 - mov [eax],1 //your instructions that access the address
00500006 - push eax // next instruction
00400000 // manual codecave
A simple jump could look like this that tmk should have no problem converting.
[enable]
00500000: //accesses your address
jmp 00400000 //when 00500000 is accessed it'l jump to your codecave

00400000: //codecave
mov [eax],30 //custom value 30
jmp 00500006 // jumps back to the next instruction

[disable]
00500000:
mov [eax],1
00500006:
push eax //I sometimes add the next instruction to the disable part just to make sure everything gets cleaned up. Also you can clean up the codecave but i dont.


Thats basically it. Thats how i used to do it when i first started out.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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