View previous topic :: View next topic |
Author |
Message |
kanakis Cheater Reputation: 0
Joined: 19 Feb 2015 Posts: 28
|
Posted: Thu Jul 23, 2015 5:02 am Post subject: Number of barracks made |
|
|
I am searching in Age of Empires 2 for a variable that holds the number of barracks that I have on the map.
Age of empires usually stores values in floats, however no float was storing that particular value.
I tried 4bytes type and I narrow it down to 2 addresses that sore the value I want.
Then I click what accesses this address
Then I make one new barrack
Then I look at the debugger and none of the pointers I find with or without the offset have the value I want (2 or 3 or 4 or 5)
All the pointers with or without the offset point to a value 0 out of all 27 addresses found!
Look at a screenshot from the debugger
Is it possible that the debugger gives me something wrong?
What should I change/do?
Description: |
|
Filesize: |
590.9 KB |
Viewed: |
2737 Time(s) |
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Thu Jul 23, 2015 5:06 am Post subject: |
|
|
The offset is 2*c+abc (or 113ee06c-113ed598)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
kanakis Cheater Reputation: 0
Joined: 19 Feb 2015 Posts: 28
|
Posted: Thu Jul 23, 2015 10:03 am Post subject: |
|
|
I am coming to an understanding that this value is not stored anywhere which hurts my automation a lot.
I need to find a way to keep track of how many town centers, barracks, stables, archeries I have even if I have to change this value manually once I am building one in game.
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Jul 23, 2015 10:40 am Post subject: |
|
|
As Dark Byte showed, your offset is not simply ABC. It's eax*2+ABC.
From your screenshot, the offset you want is AD4.
|
|
Back to top |
|
|
kanakis Cheater Reputation: 0
Joined: 19 Feb 2015 Posts: 28
|
Posted: Thu Jul 23, 2015 1:03 pm Post subject: |
|
|
Zanzer wrote: | As Dark Byte showed, your offset is not simply ABC. It's eax*2+ABC.
From your screenshot, the offset you want is AD4. |
yes I tried that. I got the hex calculator and got AD4.
the next offset was wrong.
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Jul 23, 2015 1:25 pm Post subject: |
|
|
What next offset? That was the last offset and takes you right to your 2-byte value.
|
|
Back to top |
|
|
kanakis Cheater Reputation: 0
Joined: 19 Feb 2015 Posts: 28
|
Posted: Thu Jul 23, 2015 2:41 pm Post subject: |
|
|
Zanzer wrote: | What next offset? That was the last offset and takes you right to your 2-byte value. |
The next offset was not giving the correct value, I don't remember what it was.
I tried it again, and now the game crashes at the second pointer debug.
I am going to give it one last try with "pointer scan for this address" although last time I tried that the result was 0 pointers found.
EDIT: I mean I am supposed to find a pointer like this:
game.exe + something + something + something
I find the first pointer correctly. Next pointer the client crashes.
EDIT: 2
to clarify this is what happens after I find the first pointer, and try to find the next one (the goal is to find game.exe + something)
see screenshot
Description: |
|
Filesize: |
609.4 KB |
Viewed: |
2595 Time(s) |
|
|
|
Back to top |
|
|
|