The Town Update !
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#Visual studio stuff
|
||||||
|
.vs
|
||||||
|
DevourClient/bin
|
||||||
|
DevourClient/obj
|
||||||
@@ -31,49 +31,60 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="0Harmony, Version=2.9.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\0Harmony.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Assembly-CSharp">
|
<Reference Include="Assembly-CSharp">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\Assembly-CSharp.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\Assembly-CSharp.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="bolt, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="bolt, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\bolt.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\bolt.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="bolt.user, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="bolt.user, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\bolt.user.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\bolt.user.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Il2Cppmscorlib">
|
<Reference Include="Il2Cppmscorlib">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\Il2Cppmscorlib.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\Il2Cppmscorlib.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="MelonLoader">
|
<Reference Include="MelonLoader">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\MelonLoader.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\MelonLoader.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Opsive.UltimateCharacterController, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\Opsive.UltimateCharacterController.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="UnhollowerBaseLib">
|
<Reference Include="UnhollowerBaseLib">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Il2CppAssemblyUnhollower\UnhollowerBaseLib.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Il2CppAssemblyUnhollower\UnhollowerBaseLib.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnhollowerRuntimeLib">
|
<Reference Include="UnhollowerRuntimeLib">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Il2CppAssemblyUnhollower\UnhollowerRuntimeLib.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Il2CppAssemblyUnhollower\UnhollowerRuntimeLib.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine">
|
<Reference Include="UnityEngine">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.CoreModule">
|
<Reference Include="UnityEngine.CoreModule">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.CoreModule.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.CoreModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.HotReloadModule">
|
||||||
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.HotReloadModule.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.IMGUIModule">
|
<Reference Include="UnityEngine.IMGUIModule">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.IMGUIModule.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.IMGUIModule.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.InputLegacyModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="UnityEngine.InputLegacyModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.InputModule">
|
<Reference Include="UnityEngine.InputModule">
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.InputModule.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.InputModule.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.UI, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="UnityEngine.UI, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.UI.dll</HintPath>
|
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.UI.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="WindowsBase" />
|
<Reference Include="WindowsBase" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@@ -85,6 +96,7 @@
|
|||||||
<Compile Include="Hacks\Unlock.cs" />
|
<Compile Include="Hacks\Unlock.cs" />
|
||||||
<Compile Include="Helpers\GUIHelper.cs" />
|
<Compile Include="Helpers\GUIHelper.cs" />
|
||||||
<Compile Include="Helpers\StateHelper.cs" />
|
<Compile Include="Helpers\StateHelper.cs" />
|
||||||
|
<Compile Include="Hooks\Hooks.cs" />
|
||||||
<Compile Include="MelonMain.cs" />
|
<Compile Include="MelonMain.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Settings\Settings.cs" />
|
<Compile Include="Settings\Settings.cs" />
|
||||||
|
|||||||
@@ -1,12 +1,62 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using MelonLoader;
|
using MelonLoader;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace DevourClient.Hacks
|
namespace DevourClient.Hacks
|
||||||
{
|
{
|
||||||
public class Misc
|
public class Misc
|
||||||
{
|
{
|
||||||
|
public static void Fly(float speed) //normal speed 0.5f
|
||||||
|
{
|
||||||
|
NolanBehaviour Nolan = UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||||
|
Vector3 PlayerAngles = Nolan.transform.position;
|
||||||
|
|
||||||
|
if (Input.GetKey(KeyCode.Space))
|
||||||
|
{
|
||||||
|
PlayerAngles.y += speed;
|
||||||
|
}
|
||||||
|
if (Input.GetKey(KeyCode.LeftShift))
|
||||||
|
{
|
||||||
|
PlayerAngles.y -= speed;
|
||||||
|
}
|
||||||
|
if (Input.GetKey(KeyCode.LeftArrow))
|
||||||
|
{
|
||||||
|
PlayerAngles.x -= speed;
|
||||||
|
}
|
||||||
|
if (Input.GetKey(KeyCode.RightArrow))
|
||||||
|
{
|
||||||
|
PlayerAngles.x += speed;
|
||||||
|
}
|
||||||
|
if (Input.GetKey(KeyCode.UpArrow))
|
||||||
|
{
|
||||||
|
PlayerAngles.z += speed;
|
||||||
|
}
|
||||||
|
if (Input.GetKey(KeyCode.DownArrow))
|
||||||
|
{
|
||||||
|
PlayerAngles.z -= speed;
|
||||||
|
}
|
||||||
|
|
||||||
|
Nolan.locomotion.SetPosition(PlayerAngles, false);
|
||||||
|
}
|
||||||
|
public static void SetSteamName(string name)
|
||||||
|
{
|
||||||
|
Horror.Menu Menu_ = UnityEngine.Object.FindObjectOfType<Horror.Menu>();
|
||||||
|
Menu_.steamName = name;
|
||||||
|
}
|
||||||
|
public static void SetServerName(string name)
|
||||||
|
{
|
||||||
|
Horror.Menu Menu_ = UnityEngine.Object.FindObjectOfType<Horror.Menu>();
|
||||||
|
Menu_.serverNameText.text = name;
|
||||||
|
}
|
||||||
|
|
||||||
public static void BigFlashlight(bool reset)
|
public static void BigFlashlight(bool reset)
|
||||||
|
{
|
||||||
|
//Ohhhh yes, that's some great code, don't you like try and catches ?
|
||||||
|
//it's for fixing a glitch that activates the big flashlight during the loading of a map
|
||||||
|
//so the things are not loaded and it throws a shit ton of errors in the console
|
||||||
|
try
|
||||||
{
|
{
|
||||||
NolanBehaviour Nolan = UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
NolanBehaviour Nolan = UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||||
Light flashlightSpot = Nolan.flashlightSpot;
|
Light flashlightSpot = Nolan.flashlightSpot;
|
||||||
@@ -21,6 +71,11 @@ namespace DevourClient.Hacks
|
|||||||
flashlightSpot.intensity = 1.5f;
|
flashlightSpot.intensity = 1.5f;
|
||||||
flashlightSpot.range = 200f;
|
flashlightSpot.range = 200f;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public static void FlashlightColor(Color color)
|
public static void FlashlightColor(Color color)
|
||||||
@@ -46,11 +101,11 @@ namespace DevourClient.Hacks
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void MaxRank()
|
public static void SetRank(int rank)
|
||||||
{
|
{
|
||||||
NolanRankController NolanRank = UnityEngine.Object.FindObjectOfType<NolanRankController>();
|
NolanRankController NolanRank = UnityEngine.Object.FindObjectOfType<NolanRankController>();
|
||||||
|
|
||||||
NolanRank.SetRank(70);
|
NolanRank.SetRank(rank);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void MessageSpam(string message)
|
public static void MessageSpam(string message)
|
||||||
@@ -69,7 +124,6 @@ namespace DevourClient.Hacks
|
|||||||
menu_class.OnChatMessageSubmit();
|
menu_class.OnChatMessageSubmit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void InstantWin()
|
public static void InstantWin()
|
||||||
{
|
{
|
||||||
Survival survival_class = UnityEngine.Object.FindObjectOfType<Survival>();
|
Survival survival_class = UnityEngine.Object.FindObjectOfType<Survival>();
|
||||||
@@ -84,6 +138,12 @@ namespace DevourClient.Hacks
|
|||||||
survival_class.PlayWinEnding("AsylumWin");
|
survival_class.PlayWinEnding("AsylumWin");
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
survival_class.PlayWinEnding("TownWin");
|
||||||
|
}
|
||||||
|
catch
|
||||||
{
|
{
|
||||||
survival_class.PlayWinEnding("Win");
|
survival_class.PlayWinEnding("Win");
|
||||||
}
|
}
|
||||||
@@ -91,3 +151,4 @@ namespace DevourClient.Hacks
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
36
DevourClient/Hooks/Hooks.cs
Normal file
36
DevourClient/Hooks/Hooks.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using HarmonyLib;
|
||||||
|
|
||||||
|
namespace DevourClient.Hooks
|
||||||
|
{
|
||||||
|
public class Hooks
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
[HarmonyPatch(typeof(UIPerkSelectionType))]
|
||||||
|
[HarmonyPatch(nameof(UIPerkSelectionType.SetLocked))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||||
|
static class UIPerkSelectionType_SetLocked_Patch
|
||||||
|
{
|
||||||
|
static void Prefix(ref bool locked, ref int cost)
|
||||||
|
{
|
||||||
|
MelonLoader.MelonLogger.Msg("cost : "+cost);
|
||||||
|
MelonLoader.MelonLogger.Msg("locked : " + locked);
|
||||||
|
|
||||||
|
locked = false;
|
||||||
|
cost = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(NolanBehaviour))]
|
||||||
|
[HarmonyPatch(nameof(NolanBehaviour.SetIsBeingKnockedOut))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||||
|
static class NolanBehaviour_SetIsBeingKnockedOut_Patch
|
||||||
|
{
|
||||||
|
static void Prefix(ref bool enable)
|
||||||
|
{
|
||||||
|
MelonLoader.MelonLogger.Msg("called ! : " + enable);
|
||||||
|
enable = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -8,8 +8,13 @@ namespace DevourClient
|
|||||||
public class Load : MelonMod
|
public class Load : MelonMod
|
||||||
{
|
{
|
||||||
bool flashlight_toggle = false;
|
bool flashlight_toggle = false;
|
||||||
bool flashlight_reset = false;
|
|
||||||
bool flashlight_colorpick = false;
|
bool flashlight_colorpick = false;
|
||||||
|
bool level_70 = false;
|
||||||
|
bool level_666 = false;
|
||||||
|
bool change_server_name = false;
|
||||||
|
bool change_steam_name = false;
|
||||||
|
bool fly = false;
|
||||||
|
float fly_speed = 0.5f;
|
||||||
|
|
||||||
bool spam_message = false;
|
bool spam_message = false;
|
||||||
|
|
||||||
@@ -26,23 +31,46 @@ namespace DevourClient
|
|||||||
Settings.Settings.menu_enable = !Settings.Settings.menu_enable;
|
Settings.Settings.menu_enable = !Settings.Settings.menu_enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.flashlight_toggle && !flashlight_reset && Player.IsInGame())
|
if (this.flashlight_toggle && Player.IsInGame())
|
||||||
{
|
{
|
||||||
flashlight_reset = true;
|
|
||||||
Hacks.Misc.BigFlashlight(false);
|
Hacks.Misc.BigFlashlight(false);
|
||||||
MelonLogger.Msg("Big Flashlight enabled !");
|
|
||||||
}
|
}
|
||||||
else if (!this.flashlight_toggle && flashlight_reset && Player.IsInGame())
|
else if (!this.flashlight_toggle && Player.IsInGame())
|
||||||
{
|
{
|
||||||
flashlight_reset = false;
|
|
||||||
Hacks.Misc.BigFlashlight(true);
|
Hacks.Misc.BigFlashlight(true);
|
||||||
MelonLogger.Msg("Big Flashlight disabled !");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.spam_message)
|
if (this.spam_message)
|
||||||
{
|
{
|
||||||
Hacks.Misc.MessageSpam(Settings.Settings.message_to_spam);
|
Hacks.Misc.MessageSpam(Settings.Settings.message_to_spam);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.level_70 != this.level_666 && !Player.IsInGame())
|
||||||
|
{
|
||||||
|
if (this.level_70)
|
||||||
|
{
|
||||||
|
Hacks.Misc.SetRank(70);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Hacks.Misc.SetRank(666);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.change_server_name && !Player.IsInGame())
|
||||||
|
{
|
||||||
|
Hacks.Misc.SetServerName("patate on top !");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.change_steam_name && !Player.IsInGame())
|
||||||
|
{
|
||||||
|
Hacks.Misc.SetSteamName("patate");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.fly && Player.IsInGame())
|
||||||
|
{
|
||||||
|
Hacks.Misc.Fly(this.fly_speed);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnGUI()
|
public override void OnGUI()
|
||||||
@@ -51,7 +79,14 @@ namespace DevourClient
|
|||||||
{
|
{
|
||||||
GUI.Label(new Rect(300, Settings.Settings.y, 100, 30), "Devour Client"); //Titre du menu
|
GUI.Label(new Rect(300, Settings.Settings.y, 100, 30), "Devour Client"); //Titre du menu
|
||||||
this.flashlight_toggle = GUI.Toggle(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 100, 150, 20), this.flashlight_toggle, "Big Flashlight"); //Checkbox Flashlight
|
this.flashlight_toggle = GUI.Toggle(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 100, 150, 20), this.flashlight_toggle, "Big Flashlight"); //Checkbox Flashlight
|
||||||
this.spam_message = GUI.Toggle(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 220, 150, 20), this.spam_message, "Chat Spam"); //Checkbox Chat Spam
|
this.spam_message = GUI.Toggle(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 250, 150, 20), this.spam_message, "Chat Spam"); //Checkbox Chat Spam
|
||||||
|
this.level_70 = GUI.Toggle(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 190, 150, 20), this.level_70, "Level 70"); //Checkbox lvl 70
|
||||||
|
this.level_666 = GUI.Toggle(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 220, 150, 20), this.level_666, "Level 666"); //Checkbox lvl 70
|
||||||
|
this.change_server_name = GUI.Toggle(new Rect(Settings.Settings.x + 200, Settings.Settings.y + 40, 150, 20), this.change_server_name, "Change server name"); //Checkbox servername
|
||||||
|
this.change_steam_name = GUI.Toggle(new Rect(Settings.Settings.x + 200, Settings.Settings.y + 70, 150, 20), this.change_steam_name, "Change steam name"); //Checkbox servername
|
||||||
|
this.fly = GUI.Toggle(new Rect(Settings.Settings.x + 200, Settings.Settings.y + 100, 150, 20), this.fly, "Fly"); //Checkbox fly
|
||||||
|
this.fly_speed = GUI.HorizontalSlider(new Rect(Settings.Settings.x + 200, Settings.Settings.y + 130, 100, 10), this.fly_speed, 0f, 1f); //Slider for the fly speed
|
||||||
|
GUI.Label(new Rect(Settings.Settings.x + 310, Settings.Settings.y + 125, 100, 30), this.fly_speed.ToString()); //Prints the value of the slider
|
||||||
|
|
||||||
if (GUI.Button(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 40, 150, 20), "Unlock Achievements"))
|
if (GUI.Button(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 40, 150, 20), "Unlock Achievements"))
|
||||||
{
|
{
|
||||||
@@ -93,13 +128,7 @@ namespace DevourClient
|
|||||||
MelonLogger.Msg("Here are your keys !");
|
MelonLogger.Msg("Here are your keys !");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GUI.Button(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 190, 150, 20), "Rank 70"))
|
if (GUI.Button(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 280, 150, 20), "Instant WIn") && Player.IsInGame())
|
||||||
{
|
|
||||||
Hacks.Misc.MaxRank();
|
|
||||||
MelonLogger.Msg("EZ LV 70");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (GUI.Button(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 250, 150, 20), "Instant WIn") && Player.IsInGame())
|
|
||||||
{
|
{
|
||||||
Hacks.Misc.InstantWin();
|
Hacks.Misc.InstantWin();
|
||||||
MelonLogger.Msg("EZ Win");
|
MelonLogger.Msg("EZ Win");
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user