Skip to content

dissemblir/Kingdom-New-Lands-Simple-Hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kingdom New Lands Simple Hack

Really basic hack for Kingdom New Lands to play around with Unity Mono Injection.

Game version v1.2.8


How to install

Download and copy the Assembly-CSharp.dll and Kingdom_Hack.dll to your Kingdom New Lands - Kingdom_Data - Managed folder


Keybinds

Function Button
Invulnerable (Toggle) Numpad 1
Add 10 coins to your wallet Numpad 2

Assembly-CSharp.dll modifications

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;
	}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages