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 


Linking a manual entered address to another?

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

Joined: 18 Sep 2015
Posts: 3

PostPosted: Fri Sep 18, 2015 10:08 am    Post subject: Linking a manual entered address to another? Reply with quote

I have tried search for this but was unable to find a solution, but I am not even sure if it's possible.

The problem is, that I have a number of different values for materials in a game. The first one is very random and the game crashed if I start a debugger.

Finding the first one is easy enough and the rest are all relative to the first found value.

Example:

Roses = address $1000 (4 bytes)
Carrots = (base of roses) + 4 bytes
Wood = (base of roses) + 8 bytes

By finding Roses, I can adjust the other offsets, but if I could make them linked to "Roses + 4 bytes", it would make my life easier (and faster Smile).

Can it be done, and how please? Smile

/AeriesDK
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Sep 18, 2015 10:38 am    Post subject: Reply with quote

Create one address with the Roses address.
I normally call it Base Address and make it a String with a length of 0.

Now add another address and give it the address "+0".
Name it Roses and drag-and-drop it on top of Base Address.

Do the same for Carrots [+4], Wood [+8], Next One [+C], etc.
Note the Hex notation. Not decimal.

Now all you have to do is change the address of Base Address and the rest will update for you.

Also, have you switched your debugger to VEH? That one doesn't normally crash the game.
Edit > Settings > Debugger Options > [x] Use VEH Debugger
Back to top
View user's profile Send private message
AeriesDK
How do I cheat?
Reputation: 0

Joined: 18 Sep 2015
Posts: 3

PostPosted: Fri Sep 18, 2015 10:47 am    Post subject: Reply with quote

Thank Zanzer,

this was almost too easy! I tried all sorts of stuff to make it work, cannot believe I hadn't tried this method!

I'll try out the VHE enabled debugger to see if it makes a difference.

Thanks again, been a great help 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 -> General Discussions 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