Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Pointer Issue with Settlers 2 Gold

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Mikenoworth
How do I cheat?
Reputation: 0

Joined: 01 Sep 2005
Posts: 1

PostPosted: Thu Sep 01, 2005 2:06 am    Post subject: Pointer Issue with Settlers 2 Gold Reply with quote

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. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites