Log in

View Full Version : Dynamic Memory Allocation Question


Rip0r
March 28th, 2005, 04:38
I Written a trainer for Act of War: Direct Action, retrieved the memory address using 'Art Money' and managed to get the trainer working etc.... but once the game is closed down and restarted the memory address for the money in the game changes....
I presume this is because it will use alloc() or something similar to allocation memory during runtime dynamically?

is there anyway i can get my program to retrieve the address where the money is stored each time? for example would ther not be a memory address thats static, that points to the dynamic memory address?

CoDe_InSiDe
March 28th, 2005, 05:55
Hi Rip0r,

Yes, most likely it gets some space for all those variables and saves this pointer somewhere.

Did you use some Gamehack program or something?
I hate those kind of programs, there's no fun when you use them
It's much more fun to find all the stuff yourself by debugging/disassembling/searching
So my suggestion is: SEARCH for it yourself

Regards,

CoDe_InSiDe

Rip0r
March 28th, 2005, 07:56
lol yea its one of them GameHack programs
I tryed using a debugger before, but fwooor went streight over my head.
Would prob help if i knew ASM, can grasp the basics but i never tryed learnin it.....

How would i do the Breakpoint thing on Memory Addresses using a debugger? (Ollydbg) and trace it back to where its been called??

evlncrn8
March 28th, 2005, 13:28
without knowing asm it'll be a tad difficult as you probably wont see the woods for the trees