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 


Defeating DMA (I think it's called that)

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

Joined: 23 Mar 2009
Posts: 5

PostPosted: Sat Apr 14, 2012 11:14 am    Post subject: Defeating DMA (I think it's called that) Reply with quote

Hi All,

I try to develop a trainer for a game and everything works well except when I close & restart the game, it does not work. This is how I do it.

1 - Game starts with health 110 so I scan for 110 and get the Address 11242DA8. I make sure this is the correct Address by adding it to the bottom table List and checking the "Active". Now when I play the game my health does not change. So it must be the right Address.

2 - Right Click on the Address and click "Find out What Writes to this Address". Go back to the Game and lose some Health to get the opcode. I get "0044D0F8 - 89 7E 68 - mov [esi+68], edi". Now I right click on it and get "More Info". This gives me the "Extra Info" window with the following details

a. 0044D0F8 - mov [esi+68], edi
b. ESI = 11242D40
c. The value of the pointer needed to find this address is probally 11242D40

3 - I go back to the main Cheat Engine Window, Check the "Hex" box to do a Hexadecimal value scan for "11242D40". I get 36 Results.

4 - I double click the top most entry in the scan results to add to the bottom Table List. There are no Green/Static Results. The top most entry is "04B86A00" with Value of "287583552"

5 - I click "Add Address Manually", check "Pointer", Add the Address "04B86A00" in the "Address of pointer", Add "68" in the "Offset{Hex}". The Add Address Windows tells me that "This pointer points to the address 11242D40" and "The offset you chose brings it to 11242DA8"

6 - When I click ok, A new entry is added to the bottom Table list in the Main Cheat Engine Window as "P->11242DA8 4 Bytes 98"

7 - Now I make a Trainer for this. Go to file, Generate Trainer from Table", Add Hotkey, Alt+F1 for increase value with 10, Click Generate trainer, Give it name of Trainer and save it to desktop, Choose "Kernal Tools" in the "Features Used", Choose "None" in the "Compression" and click Generate. The Trainer has been generated successfully.

8 - Now I do not run the trainer, go back to the game and click Alt+F1. My health increases by 10. I am guessing this is from the Cheat Engine and not from the Trainer since the Trainer is not running. So I close all Cheat Engine windows and cheat engine itself. Than I run the Trainer. Now when I do Alt+F1 in the Game, I get a increase of value 10. So Far So good.

9 - Now I close the Game, close the Trainer, Start the Trainer and start the Game, and again press Alt+F1 in the Game. It does not work like it worked previously. There is no increase in my health of value 10.

Note that I Choose "Debugger method" as "Use Kernelmode debugger" in the Settings/Options as "Use windows debugger" and "Use VEH" Debugger" does not work on Windoes 7 and I get "Cannot Attach Debugger" Error.

Any Ideas.

Thanks.
Back to top
View user's profile Send private message
JAA149
How do I cheat?
Reputation: 0

Joined: 23 Mar 2009
Posts: 5

PostPosted: Sat Apr 14, 2012 9:38 pm    Post subject: Reply with quote

Right Than.
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Sun Apr 15, 2012 3:38 am    Post subject: Reply with quote

Yea it is DMA. The simple solution would just be to inject your own code to one of those instructions that writes to your health address.

But first try creating a static pointer. Your pointer P->11242DA8 will still
be dynamic. Get to this point again and right click the pointer to find what accesses it. Treat it like another normal address. You know your first offset 68, keep digging.

You might be better off writing some of your own code here
0044D0F8 - mov [esi+68], edi
mov [esi+68], edi is only 3 bytes long but a jump needs 5 bytes.
Post the opcode for the next instruction 0044D0FB - ???????????
Someone could probably help you with a simple script assuming 0044D0F8 isnt shared.

_________________
Back to top
View user's profile Send private message
JAA149
How do I cheat?
Reputation: 0

Joined: 23 Mar 2009
Posts: 5

PostPosted: Mon Apr 16, 2012 4:30 am    Post subject: Reply with quote

Right. Thank you
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