View Single Post
  #14  
Old 13-05-2009, 15:08
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
What TippeX was also trying to explain in nearly all games these days, addresses for health, ammo etc are protected by DMA (dynamic memory allocation), next time you load the game from scratch you will notice the previous address does not work (this can happen with map loads).

So hence why you have to know basic ASM at least, debug the game find out the routine that works out a specific function e.g ammo as you said and then manipulate that code to force it to right a value for you.

So it defeats DMA.

Check out the GTA:SA tut I did, it shows you an example of ammo. Bear in mind games will not share the same coding of course, some may use different methods of calculating values and some are a nightmare to debug.