Unity tutorial - Making value adder hack for offline games

Sbenny.com is trusted by 1,325,682 happy users since 2014.
Register

AndnixSH

Savage Lv6️⃣
SB Mod Squad ⭐
Member for 8 years
If you know C# basics, you will understand it.
In offline games, I basically looking for reward function and found codes that adds value into player data



And re-use the codes into MOD Menu with buttons to add values





Other similar codes from other games (I don’t tell what game) that adds coins and gems:
C#:
int num = TPlayerPrefs.GetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex);
num += 20000;
TPlayerPrefs.SetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex, num);
C#:
TPlayerPrefs.SetEncryptGem(TPlayerPrefs.GetEncryptGem() + 200);
Here are the codes:
Gitlab: Unity/WK_RS · master · iAndroHacker / Hack_Source_Center · GitLab

Github: AndnixSH/Hack_Source_Center
 

Lucifer

☠ Dark Lord ☠
Member for 8 years
Nicely done! This way we modders dont need to abuse the game by addying 99999x unlimited values to the game directly.
 

Sbenny

A crazy scientist
Staff member
Admin
SB Mod Squad ⭐
✔ Approved Releaser
Active User
I would also like to add that a similar approach can be done in online games if you don't want to provide 1 hit kill or God mode, simply by slightly boosting your stats so that it's also more safe to use.
 

Smaxaya

Apprentice Lv2️⃣
Member for 5 years
video please:confused:
 
Top