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 


How to save addresses that change?

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

Joined: 09 Apr 2015
Posts: 3

PostPosted: Thu Apr 09, 2015 3:01 am    Post subject: How to save addresses that change? Reply with quote

I know there is a tutorial, but I am hoping there is another way, here's why. I have a simple list of 28 in game values. They are all floats. Every time I turn the game off, I have to find them all again.

To be more specific, it's darkest dungeon, and I am talking about the HP and ST values for each character. These values are not hard to find individually, but time consuming. Changing the values for each person's stress is not something that can be done quickly.

Is there a way to quickly save all of these, or do I need to go through the process with finding the pointers on each individual value?

These values change, so I can't just save it like this, when I re-load they are no longer the correct addresses. Each value is specific to that character, not the position in the formation.


Also, if there was a way to find the value for the formation position, and I could just freeze that at the beginning of a dungeon, that would solve this problem, but I don't really know how to distinguish between the character's value and the position's value, or if that is even a thing.

Any help would be appreciated.

Attached is my list of codes I have found, and would like to find a way to save.



darkest dungeon table.jpg
 Description:
List of codes for Darkest Dungeon
 Filesize:  178.11 KB
 Viewed:  10307 Time(s)

darkest dungeon table.jpg


Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Thu Apr 09, 2015 8:26 am    Post subject: Reply with quote

You only need to find ST, then to find out the HP add 0x5F0 to the address of ST
Alternatively find HP and subtract 0x5F0 to find out ST

Find out what writes/accesses to either ST or HP.
Do a "code injection" at the piece of code that gets executed anyways, regardless of major changes that only writes to all HP's or ST's, no other values needed.
From there analyze the data structure to determine that name like "Caillot" or "Tournai".
In the code injection register a symbol, and under that symbol log every address that the code writes to / reads from.
Now add to the table: symbol+0, symbol+4, +8, +...

_________________
... Fresco
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