Unity tutorial - Making value adder hack for offline games

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:

int num = TPlayerPrefs.GetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex);
num += 20000;
TPlayerPrefs.SetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex, num);
TPlayerPrefs.SetEncryptGem(TPlayerPrefs.GetEncryptGem() + 200);

Here are the codes:


Popular Posts

[Android] X8 Sandbox (EN/CN) - Free Android VM, Pre-rooted (VMOS alternative)

VMOS Pro Global/CN Free Custom ROMs | Android 4.4.4, 5.1.1, 7.1.2 | ROOT | Gapps | Xposed | (NO VIP NEEDED)