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 


Finding an address for a unity engine game is not working

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Question2
Newbie cheater
Reputation: 0

Joined: 13 Nov 2013
Posts: 19

PostPosted: Sun Feb 16, 2025 6:07 am    Post subject: Finding an address for a unity engine game is not working Reply with quote

Im trying to change the quantity of an item in a unity engine game called "Elin", and this is normally a simple process for other games...e.g. i have a stack of 92 items, i just search for "92" and change the quantity of the stack to narrow down the address.

But for some reason, that doesnt work for this game. I always get a wrong address or no address at all. I've tried binary, byte, 2 bytes, 4 bytes, 8 bytes, float and double.

Any ideas why it is doing this?

Edit : I also tried using the mono dissector and searching for "ticket_furniture" (the internal ID of the item i am trying to change the quantity of), but cheat engine just freezes forever, waiting for 10+ minutes does not cause it to unfreeze.
Back to top
View user's profile Send private message
Question2
Newbie cheater
Reputation: 0

Joined: 13 Nov 2013
Posts: 19

PostPosted: Wed Feb 19, 2025 2:05 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4694

PostPosted: Wed Feb 19, 2025 2:55 pm    Post subject: Reply with quote

Moving around items can cause the memory backing them to be moved around as well, invalidating scans. Take some consumable item, search for the initial value, then only unchanged value scans and "decreased value by 1" scans as you use the consumable. The memory probably won't be reallocated.
After you find that, you can find other items by looking at shared code. Find what instructions access that address (or addresses near it) and they might access other items' addresses.

It could also be obfuscated- e.g. xor the real value with some key before storing it in memory.

Regarding the mono dissector, don't search for item IDs like that. The mono dissector gives you information on how the game is structured- it won't give you much information on the implementation.
The search function has terrible performance. You're better off looking through classes and methods manually. Or wait for a while (could be half an hour) to export everything to a text file and use some text editor to search through it.

_________________
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