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 


Help, offline game keeps crashing when I change item amount

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

Joined: 26 Aug 2025
Posts: 1

PostPosted: Tue Aug 26, 2025 6:56 am    Post subject: Help, offline game keeps crashing when I change item amount Reply with quote

Game: Time Break Chronicles

I've been using cheat engine for years to change basic values in offline games like currency. I am in no way an advanced user.
I'm trying to change the value of an item in the inventory (encyclopedia) and I'm scanning 4-bytes. I can find the value on the third scan but when I change it the game freezes for a second and crashes. I open the game again and the value is unchanged. Help?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4690

PostPosted: Tue Aug 26, 2025 1:20 pm    Post subject: Reply with quote

The game is probably storing redundant information for the value. When some invariant between multiple values is broken, the game crashes. I've seen plenty of games do this intentionally to deter cheating, but they usually restore the correct value instead of crashing (this is different from visual values).

If other values (e.g. money or health) behave the same way, then it's probably intentional. You might get lucky with "unknown initial value" and changed / unchanged scans. The code maintaining the invariant(s) is probably near an instruction that writes to the value. You'd have to know how to read assembly to make any use of that information.

Otherwise, it could be something specific to items in the inventory. e.g. maybe the value you found is the number of elements in a container, and changing it to something bigger makes the game read uninitialized memory. At that point, anything can happen, but crashing is the most likely scenario. There's not much you can do here by simply changing values- you'd have to call a function to add an item to your inventory, and that requires knowledge of assembly.

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