Posted: Fri Feb 18, 2011 12:15 am Post subject: anyone have tutorial/info on how to track down environmental
anyone have tutorial/info on how to track down environmental information/array such as array of all monster around the area, array of all item around the area and so forth?
ive figure out how to get pointer to most things but can't seem to grasp on where to begin looking for such a thing
Joined: 17 Feb 2008 Posts: 524 Location: Inside the Intel CET shadow stack
Posted: Sun Feb 20, 2011 7:39 am Post subject:
I don't know of any complete tutorials, but here's a rough idea:
Learn what pointers are, how to use pointer scan and how to debug and find pointers from the assembly. Scan for a known value of one of your target objects (e.g. monster life) and get that address. Then find the pointer to that object. Usually, the game will have a struct for the monster and a pointer array indexing those monsters. If you find a valid pointer chain, you just work your way up to find the next level of abstraction around how the monster is stored. The top level pointer (the one you have that's pointing to life or whatever) will have a final offset that tells you the offset of the life value in the monster's struct. The next level down will tell you the index in the monster array that your monster is. For example, monsters[4] will probably result in an offset of 16 (0x10) on a 32-bit process because it's 4 bytes per pointer. You can use the pointer at this level to get the base address of the monster array.
Hope it helps. _________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
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