Mikenoworth How do I cheat? Reputation: 0
Joined: 01 Sep 2005 Posts: 1
|
Posted: Thu Sep 01, 2005 2:06 am Post subject: Pointer Issue with Settlers 2 Gold |
|
|
Heyo.
First off, I understand assembler code, not well, but I can read it like pages in a book. Secondly, I can find the addresses to values I want no with problem.
Now, in Settlers 2 Gold, say I found the address for my gold supply, well there is no way this is not stored inside a record that was dynamically alloc'd. So I did the pointer do-dah step by step:
1. Find what writes to the value.
2. Change value in game.
3. More Info (or double click) on asm code.
Info:
move [eax], al ( or ah, whatever doesn't matter. )
eax=030EE64C
4. 4 Byte hex search for 030EE64C.
5. Picked an address to use, out of the three found. 02D4AA2E
6. Manually add address.
[x] Pointer
Address of pointer = 02D4AA2E Offset = 0
Problem is the value is wrong. Dead wrong, like instead of being 4 or so, it's ~240,000, but basically random, I assume, because it's invalid.
I've tried all three addresses pulled up in the search, all point to the same outrageously invalid value.
I really need some help so instead of having to find the address everytime I play the game, I can build a trainer. ( If you've ever played settlers 2, getting gold takes time, let alone if the map even has gold on it. )
Thanks in advance.
[ EDIT ] -------------------------------------------------------------------------
Okay, so I hacked the hack.
What I did was take the first pointer I found, 02D4AA2E, and added an offset until it equalled the address the gold was stored at, 030EE66A.
What I now have is this:
HQ Gold 030E66A 4 Bytes 534
No description P->030E66A 4 Bytes 534
It works wonderfully, restarted game, new game/load game, cheat still works.
Everyone else should be told this tip on this elusive pointer problem.
|
|