Unity modding 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);

Comments

Popular Posts

VMOS Pro Global CN FREE Custom ROMs | Gapps, ROOT, Xposed | Android 4.4.4, 5.1.1, 7.1.2, 9.0 ROMs | NO VIP

How to activate VMOS Assistant to run VMOS on Android 12 and above