View previous topic :: View next topic |
Author |
Message |
PzKd How do I cheat?
Reputation: 0
Joined: 08 Jan 2017 Posts: 2
|
Posted: Sun Jan 08, 2017 6:50 am Post subject: [Unity 5.x] Find and change a variable |
|
|
Hey guys,
Sorry if my question is dumb but it's my first attempt to make a real hack for a game.
So here is the situation :
The Game, at startup, read a json file and get a boolean. This boolean is named SaveGame.
If SaveGame is set to true, the player progression is kept from level to level and death to death.
If SaveGame is set to false, the player progression is reset to last saved data every time he died or complete the current level.
You might ask why devs allow player to choose if the game save the progression or not, the answer is simple : training.
Since The Game is permadeath and very challenging, I would like to be able to set SaveGame to true or false during the level.
The Game is made on Unity engine v5.x (i don't know which specific version).
Could you show me some good tutorials or give some tips ?
Thanks guys
|
|
Back to top |
|
 |
Filipe_Br Master Cheater
Reputation: 3
Joined: 07 Jan 2016 Posts: 272 Location: My house
|
Posted: Sun Jan 08, 2017 8:42 am Post subject: Re: [Unity 5.x] Find and change a variable |
|
|
Do a scan with unknown initial value, go in the game and change "SaveGame", go to the cheat engine and look for values that have changed. And keep scanning until you find few addresses. And now test any of these addresses is working. (To help filter the list, also look for values that have not changed)
_________________
... |
|
Back to top |
|
 |
PzKd How do I cheat?
Reputation: 0
Joined: 08 Jan 2017 Posts: 2
|
Posted: Sun Jan 08, 2017 1:23 pm Post subject: |
|
|
As I say, the only way to change SaveGame is by editing the json config file. There is no other way to modify it when the game is launched.
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8585 Location: 127.0.0.1
|
Posted: Sun Jan 08, 2017 1:25 pm Post subject: |
|
|
Unity is coded in C#, just decompile the games files using a tool such as dnSpy or ILSpy.
_________________
- Retired. |
|
Back to top |
|
 |
|