Get Static/BasePointer from dynamic pointer address

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
cookie
Posts: 83
Joined: Sun Aug 23, 2009 9:30 pm

Get Static/BasePointer from dynamic pointer address

Post by cookie »

Hey,

I want to write a tool what works like a Trainer for games.

For that i need to know the memoryaddress for example for Life.
But i dont need the dynamic address i need the basepointer/static address who points to the dynamic address because the dynamic address changes on every restart of the game.

So my question is how can i do that with c++ ?

How can i recalculate the basepointer address plus offsets with the help of the latest dynamic address who points to the Life value?

Or is there already a tool where i can enter the address of the life value, and the tool displays the address of the base/static pointer plus the corresponding offsets?

thanks

Cookie
terier
Posts: 34
Joined: Sun Oct 05, 2008 4:46 pm

Re: Get Static/BasePointer from dynamic pointer address

Post by terier »

cookie wrote:Or is there already a tool where i can enter the address of the life value, and the tool displays the address of the base/static pointer plus the corresponding offsets?
You should try studying reverse engineering. Oh yeah, ever heard of cheat engine? And here's a better alternative: memoryhacking.com
And here's a decompiler that may help you: http://www.ollydbg.de
Hope this helps. I never tried programming a memory scanner before... :)
Post Reply