Really basic hack for Kingdom New Lands to play around with Unity Mono Injection.
Game version v1.2.8
Download and copy the Assembly-CSharp.dll and Kingdom_Hack.dll to your Kingdom New Lands - Kingdom_Data - Managed folder
Function | Button |
---|---|
Invulnerable (Toggle) | Numpad 1 |
Add 10 coins to your wallet | Numpad 2 |
Game - OnLevelLoaded() : void
Added assembly reference then called Init() to "inject" the dll every time the level loads.
Kingdom_Hack.Loader.Init();
Player - coins : int
Created a set with the default get so that we can set the amount of coins from the player object.
public int coins
{
get
{
return this._wallet.coins;
}
set
{
this._wallet.coins = value;
}
}