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 

Selected Unit [Mono/Unity(x64)]

Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Advanced Cheater
Reputation: 1

Joined: 07 Apr 2009
Posts: 94

PostPosted: Fri Feb 09, 2018 3:30 pm    Post subject: Selected Unit [Mono/Unity(x64)] Reply with quote

Right. So I want to hack a game that probably has been hacked already,
but I want to do it anyway for my own benefit. Endless Legend. It's a 4x strategy game much like the Civilization series. It's also Unity game in 64 bit, and a lot of its primary functions are shared.

I want to be able to adjust the values of the units on the map. I figured to do so; without continuously scanning new units by their variables, I would need to create a script that responds to which unit is selected.
I'm sure it's a hack often done by the more experienced hackers here. And I too have made similar scripts like it (amount of items currently selected with the cursor, etc).
But the few ways I know of to approach this have not been successful and I am entirely at a loss on how to proceed.

What I usually do is simply scan what accesses a value like health, stack size, or in this case movement. Then inject code at that spot to intercept an address in the structure, and rebuild it from there.
However, with this game all unit values (and more) go through a singular function of "set_Value" and "get_Value".
Now, usually this wouldn't stop me. I would find a registry value that's consistent across all of the values that the unit hands over. But there's really way too many values that go through this function.

So my question is, how do you guys do it? Is there a comprehensive and diverse guide on this somewhere? Am I missing something obvious? Should I try finding something C# related in the dissector and try from there?

Any advice would be much appreciated.
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