Posted: Sun Feb 20, 2022 6:16 pm Post subject: AOE IV unable to find static adress of a value ( video )
Hello all thank you for taking your time to read,
i have been trying to get resources for gold and stone have managed to find the external memory address however unable to find static address getting some strange memory addresses back along with the functions
A few things that I notice in the video. Firstly, it's really difficult to hear what you're saying. When you're trying to find out what instructions handle that address you selected 'Find out what accessess this address', that will include read-only instructions. It's better to choose 'Find out what writes to this address'. The other thing is that when scanning for the possible address which could be the pointer, you selected 4 bytes instead of 8 (64-bit games will be 8-byte addresses).
When finding offsets in a pointer path, you want to know how the game is accessing data. reads / writes don't make a difference. Look at the instructions themselves to figure it out.
In this case, most instructions are using the offset 10 (hex), so it's probably 10.
First major problem I spotted is that you're searching for a 4-byte value when pointers are 8 bytes in size. The value you scanned for (14F271DA5C0) is 6 bytes long. I didn't watch the video past this point.
It looks like the value you're trying to find a pointer to is the amount of gold in a gold vein in the map. Have you ever considered what type of data structure the gold veins could be contained in? It might not be something simple like a fixed size array, and there's no guarantee you'd get any particular gold vein on the map.
I think you'd be better off injecting code to do whatever you want. If you want infinite gold in a gold vein, that might be as easy as replacing an instruction with NOPs.
Posted: Sat Feb 26, 2022 7:33 am Post subject: what is the best way to find this kind of value AOE IV
i have managed to do injecting of the code before posting the thing is i want to make a c# trainer and i know you cant do assembly code inside c# that is why i have been trying to find a way of getting a static address and i love the pointer scan idea but pointer scans don't work on that address and have no idea,
done both methords,
standard pointer scan,
and doing to pointer maps and compare but both of them return no results have tryied my best to get the pointers working with 8byte managed to get 2 pointers - and then the third one it just gives me
push rax
and pop eax
so was unable to get any offsets or anthing from it so was confused on where to go next.
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