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 find and freeze an address that changes constantly?

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

Joined: 29 Oct 2020
Posts: 1

PostPosted: Thu Oct 29, 2020 3:38 pm    Post subject: How to find and freeze an address that changes constantly? Reply with quote

Hey, so, I'm not EXTREMELY new to game hacking. I've done simple value changes, and only recently figured out (somewhat) how to use pointers to find values.
My problem is; In Hades, there's a gun-type weapon. The ammo address changes EVERY time you go to another chamber. Yes, the address.
Changing and freezing the value is no problem, but having to find the new address every single time I enter a chamber, which last not even a few minutes, is infuriating.
Thanks for reading this, at least.

_________________
Note, I'm not a coder, I just REALLY like breaking games in the most amazing ways possible.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Thu Oct 29, 2020 4:46 pm    Post subject: Reply with quote

Find a pointer to that address. You may not find a static address; that's fine. Just keep going up until you find a path that remains valid between levels. The pointer scanner may help (maybe disable "Only find paths with a static address"; if you do, also reduce max level to 2-3).
Relevant video by DB: https://www.youtube.com/watch?v=3dyIrcx8Z8g

If you want a static address but can't find one, use code injection to automatically get the address itself or a pointer that remains valid between levels. Look up "injection copy" for more information. If you just want infinite ammo, you might not need to copy anything.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
QuarryTen
Newbie cheater
Reputation: 0

Joined: 25 Aug 2019
Posts: 20

PostPosted: Sun Nov 08, 2020 10:17 pm    Post subject: Reply with quote

The best method that I can think of is to locate the opcode writing to those addresses. But I know from my own experience with Hades and Unity that even if you do find the opcode, there are thousands of other addresses that it writes to.
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 Gamehacking 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