fixed for .net6 & newest MelonLoader
This commit is contained in:
@@ -1,37 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.28729.10
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.1.32407.343
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevourClient", "DevourClient\DevourClient.csproj", "{87349803-31DC-462A-87A3-677CD23AFBA7}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevourClient", "DevourClient\DevourClient.csproj", "{87349803-31DC-462A-87A3-677CD23AFBA7}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|Mixed Platforms = Debug|Mixed Platforms
|
||||
Debug|x64 = Debug|x64
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|Mixed Platforms = Release|Mixed Platforms
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|Any CPU.ActiveCfg = Debug|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|Any CPU.Build.0 = Debug|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|Mixed Platforms.Build.0 = Debug|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|x64.Build.0 = Debug|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|Any CPU.ActiveCfg = Release|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|Any CPU.Build.0 = Release|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|Mixed Platforms.ActiveCfg = Release|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|Mixed Platforms.Build.0 = Release|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|x64.ActiveCfg = Release|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|x64.Build.0 = Release|x64
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{87349803-31DC-462A-87A3-677CD23AFBA7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {99B5936A-A0A9-48E0-98C4-105DAEB535C3}
|
||||
SolutionGuid = {CC319521-F66A-4BE0-9D8F-BD285A35C847}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
@@ -1,114 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
||||
<ProjectGuid>{87349803-31DC-462A-87A3-677CD23AFBA7}</ProjectGuid>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>DevourClient</RootNamespace>
|
||||
<AssemblyName>DevourClient</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<WarningLevel>0</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<WarningLevel>0</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<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 Include="0Harmony">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\net6\0Harmony.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Assembly-CSharp">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\Assembly-CSharp.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\Assembly-CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="BehaviorDesigner.Runtime, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\BehaviorDesigner.Runtime.dll</HintPath>
|
||||
<Reference Include="Il2CppBehaviorDesigner.Runtime">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\Il2CppBehaviorDesigner.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="bolt, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\bolt.dll</HintPath>
|
||||
<Reference Include="Il2Cppbolt">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\Il2Cppbolt.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="bolt.user, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\bolt.user.dll</HintPath>
|
||||
<Reference Include="Il2Cppbolt.user">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\Il2Cppbolt.user.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Il2CppInterop.Runtime">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\net6\Il2CppInterop.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Il2Cppmscorlib">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\Il2Cppmscorlib.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\Il2Cppmscorlib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Il2CppOpsive.UltimateCharacterController">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\Il2CppOpsive.UltimateCharacterController.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MelonLoader">
|
||||
<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 Include="PresentationCore" />
|
||||
<Reference Include="UnhollowerBaseLib">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Il2CppAssemblyUnhollower\UnhollowerBaseLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnhollowerRuntimeLib">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Il2CppAssemblyUnhollower\UnhollowerRuntimeLib.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\net6\MelonLoader.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\UnityEngine.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.CoreModule">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.CoreModule.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\UnityEngine.CoreModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.HotReloadModule">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.HotReloadModule.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\UnityEngine.HotReloadModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.IMGUIModule">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.IMGUIModule.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\UnityEngine.IMGUIModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.InputLegacyModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
|
||||
<Reference Include="UnityEngine.InputLegacyModule">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\UnityEngine.InputLegacyModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.InputModule">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.InputModule.dll</HintPath>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\UnityEngine.InputModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UI, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\UnityEngine.UI.dll</HintPath>
|
||||
<Reference Include="UnityEngine.UI">
|
||||
<HintPath>D:\Jeux\steamapps\common\Devour\MelonLoader\Il2CppAssemblies\UnityEngine.UI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Hacks\Misc.cs" />
|
||||
<Compile Include="Hacks\Unlock.cs" />
|
||||
<Compile Include="Helpers\Map.cs" />
|
||||
<Compile Include="Helpers\GUIHelper.cs" />
|
||||
<Compile Include="Helpers\Render.cs" />
|
||||
<Compile Include="Helpers\StateHelper.cs" />
|
||||
<Compile Include="Hooks\Hooks.cs" />
|
||||
<Compile Include="MelonMain.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Settings\Settings.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Connected Services\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -6,8 +6,8 @@ using System.Runtime.InteropServices;
|
||||
using DevourClient.Helpers;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using Opsive.UltimateCharacterController.Character;
|
||||
using Photon.Bolt;
|
||||
using Il2CppOpsive.UltimateCharacterController.Character;
|
||||
using Il2CppPhoton.Bolt;
|
||||
|
||||
namespace DevourClient.Hacks
|
||||
{
|
||||
@@ -15,9 +15,9 @@ namespace DevourClient.Hacks
|
||||
{
|
||||
public static void Fly(float speed) //normal speed 5f
|
||||
{
|
||||
NolanBehaviour nb = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour nb = Player.GetPlayer();
|
||||
Vector3 pos = nb.transform.position;
|
||||
RewiredHelpers helpers = UnityEngine.Object.FindObjectOfType<RewiredHelpers>();
|
||||
Il2Cpp.RewiredHelpers helpers = UnityEngine.Object.FindObjectOfType<Il2Cpp.RewiredHelpers>();
|
||||
if (Input.GetKey((KeyCode)System.Enum.Parse(typeof(KeyCode), helpers.GetCurrentBinding("Move Up").ToString().Replace(" ", ""))))
|
||||
{
|
||||
pos += nb.transform.forward * speed * Time.deltaTime;
|
||||
@@ -61,8 +61,8 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void BurnRitualObj(string map, bool burnAll)
|
||||
{
|
||||
SurvivalObjectBurnController _altar = UnityEngine.Object.FindObjectOfType<SurvivalObjectBurnController>();
|
||||
InnMapController _innMapController = UnityEngine.Object.FindObjectOfType<InnMapController>();
|
||||
Il2Cpp.SurvivalObjectBurnController _altar = UnityEngine.Object.FindObjectOfType<Il2Cpp.SurvivalObjectBurnController>();
|
||||
Il2Cpp.InnMapController _innMapController = UnityEngine.Object.FindObjectOfType<Il2Cpp.InnMapController>();
|
||||
|
||||
if (map != "Inn")
|
||||
{
|
||||
@@ -89,7 +89,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void SpawnAzazel(PrefabId _azazelPrefabId)
|
||||
{
|
||||
if (!Photon.Bolt.BoltNetwork.IsServer)
|
||||
if (!Il2CppPhoton.Bolt.BoltNetwork.IsServer)
|
||||
{
|
||||
MelonLogger.Msg("You need to be host to spawn stuff !");
|
||||
return;
|
||||
@@ -100,12 +100,12 @@ namespace DevourClient.Hacks
|
||||
|
||||
_azazel = BoltNetwork.Instantiate(_azazelPrefabId, new Vector3(pos.x, pos.y, pos.z + 1f), Quaternion.identity);
|
||||
|
||||
_azazel.gameObject.GetComponent<SurvivalAzazelBehaviour>().Spawn();
|
||||
_azazel.gameObject.GetComponent<Il2Cpp.SurvivalAzazelBehaviour>().Spawn();
|
||||
}
|
||||
|
||||
public static void SpawnGoatOrRat(PrefabId _goatPrefabID)
|
||||
{
|
||||
if (!Photon.Bolt.BoltNetwork.IsServer)
|
||||
if (!Il2CppPhoton.Bolt.BoltNetwork.IsServer)
|
||||
{
|
||||
MelonLogger.Msg("You need to be host to spawn stuff !");
|
||||
return;
|
||||
@@ -115,8 +115,8 @@ namespace DevourClient.Hacks
|
||||
Vector3 pos = Player.GetPlayer().transform.position;
|
||||
|
||||
_goat = BoltNetwork.Instantiate(_goatPrefabID, new Vector3(pos.x, pos.y, pos.z + 1f), Quaternion.identity);
|
||||
_goat.gameObject.GetComponent<GoatBehaviour>().Spawn();
|
||||
BehaviorDesigner.Runtime.Behavior goat_behavior = _goat.gameObject.GetComponent<GoatBehaviour>().m_mainBehaviour;
|
||||
_goat.gameObject.GetComponent<Il2Cpp.GoatBehaviour>().Spawn();
|
||||
Il2CppBehaviorDesigner.Runtime.Behavior goat_behavior = _goat.gameObject.GetComponent<Il2Cpp.GoatBehaviour>().m_mainBehaviour;
|
||||
goat_behavior.EnableBehavior();
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
for (int i = 0; i < fountains.Length; i++)
|
||||
{
|
||||
fountains[i].GetComponent<InnFountainController>().Clean();
|
||||
fountains[i].GetComponent<Il2Cpp.InnFountainController>().Clean();
|
||||
}
|
||||
}
|
||||
catch { return; }
|
||||
@@ -136,7 +136,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void AutoRespawn()
|
||||
{
|
||||
NolanBehaviour nb = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour nb = Player.GetPlayer();
|
||||
|
||||
Vector3 setNewPosition = nb.transform.position = new Vector3(0.0f, -100.0f, 0.0f);
|
||||
nb.locomotion.SetPosition(setNewPosition);
|
||||
@@ -146,11 +146,11 @@ namespace DevourClient.Hacks
|
||||
{
|
||||
try
|
||||
{
|
||||
NolanBehaviour Nolan = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour Nolan = Player.GetPlayer();
|
||||
|
||||
foreach (SurvivalInteractable item in Helpers.Entities.SurvivalInteractables)
|
||||
foreach (Il2Cpp.SurvivalInteractable item in Helpers.Entities.SurvivalInteractables)
|
||||
{
|
||||
item.transform.position = Nolan.transform.position + Nolan.transform.forward * Random.RandomRange(1f, 3f);
|
||||
item.transform.position = Nolan.transform.position + Nolan.transform.forward * UnityEngine.Random.RandomRange(1f, 3f);
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
@@ -158,18 +158,18 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void SetSteamName(string name)
|
||||
{
|
||||
Horror.Menu Menu_ = UnityEngine.Object.FindObjectOfType<Horror.Menu>();
|
||||
Il2CppHorror.Menu Menu_ = UnityEngine.Object.FindObjectOfType<Il2CppHorror.Menu>();
|
||||
Menu_.steamName = name;
|
||||
}
|
||||
public static void SetServerName(string name)
|
||||
{
|
||||
Horror.Menu Menu_ = UnityEngine.Object.FindObjectOfType<Horror.Menu>();
|
||||
Il2CppHorror.Menu Menu_ = UnityEngine.Object.FindObjectOfType<Il2CppHorror.Menu>();
|
||||
Menu_.serverNameText.text = name;
|
||||
}
|
||||
|
||||
public static void BigFlashlight(bool reset)
|
||||
{
|
||||
NolanBehaviour Nolan = Player.GetPlayer();//UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
Il2Cpp.NolanBehaviour Nolan = Player.GetPlayer();//UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
if (Nolan == null)
|
||||
{
|
||||
return;
|
||||
@@ -198,7 +198,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void Fullbright(bool reset)
|
||||
{
|
||||
NolanBehaviour Nolan = Player.GetPlayer();//UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
Il2Cpp.NolanBehaviour Nolan = Player.GetPlayer();//UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
if (Nolan == null)
|
||||
{
|
||||
return;
|
||||
@@ -228,7 +228,7 @@ namespace DevourClient.Hacks
|
||||
}
|
||||
public static void FlashlightColor(Color color)
|
||||
{
|
||||
NolanBehaviour Nolan = Player.GetPlayer(); //UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
Il2Cpp.NolanBehaviour Nolan = Player.GetPlayer(); //UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
Light flashlightSpot = Nolan.flashlightSpot;
|
||||
|
||||
flashlightSpot.color = color;
|
||||
@@ -236,9 +236,9 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void TPKeys()
|
||||
{
|
||||
NolanBehaviour Nolan = Player.GetPlayer(); //UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
Il2Cpp.NolanBehaviour Nolan = Player.GetPlayer(); //UnityEngine.Object.FindObjectOfType<NolanBehaviour>();
|
||||
|
||||
foreach (KeyBehaviour keyBehaviour in Helpers.Entities.Keys)
|
||||
foreach (Il2Cpp.KeyBehaviour keyBehaviour in Helpers.Entities.Keys)
|
||||
{
|
||||
bool flag = keyBehaviour == null;
|
||||
if (flag)
|
||||
@@ -251,7 +251,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void SetRank(int rank)
|
||||
{
|
||||
NolanRankController NolanRank = UnityEngine.Object.FindObjectOfType<NolanRankController>();
|
||||
Il2Cpp.NolanRankController NolanRank = UnityEngine.Object.FindObjectOfType<Il2Cpp.NolanRankController>();
|
||||
|
||||
NolanRank.SetRank(rank);
|
||||
}
|
||||
@@ -260,14 +260,14 @@ namespace DevourClient.Hacks
|
||||
{
|
||||
if (Helpers.Player.IsInGame())
|
||||
{
|
||||
GameUI game_ui_class = UnityEngine.Object.FindObjectOfType<GameUI>();
|
||||
Il2Cpp.GameUI game_ui_class = UnityEngine.Object.FindObjectOfType<Il2Cpp.GameUI>();
|
||||
|
||||
game_ui_class.textChatInput.text = message;
|
||||
game_ui_class.OnChatMessageSubmit();
|
||||
}
|
||||
else
|
||||
{
|
||||
Horror.Menu menu_class = UnityEngine.Object.FindObjectOfType<Horror.Menu>();
|
||||
Il2CppHorror.Menu menu_class = UnityEngine.Object.FindObjectOfType<Il2CppHorror.Menu>();
|
||||
menu_class.textChatInput.text = message;
|
||||
menu_class.OnChatMessageSubmit();
|
||||
}
|
||||
@@ -275,7 +275,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void DespawnDemons()
|
||||
{
|
||||
foreach (SurvivalDemonBehaviour demon in Helpers.Entities.Demons)
|
||||
foreach (Il2Cpp.SurvivalDemonBehaviour demon in Helpers.Entities.Demons)
|
||||
{
|
||||
if (demon != null)
|
||||
{
|
||||
@@ -286,7 +286,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void DespawnSpiders()
|
||||
{
|
||||
foreach (SpiderBehaviour spider in Helpers.Entities.Spiders)
|
||||
foreach (Il2Cpp.SpiderBehaviour spider in Helpers.Entities.Spiders)
|
||||
{
|
||||
if (spider != null)
|
||||
{
|
||||
@@ -297,7 +297,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void DespawnGhosts()
|
||||
{
|
||||
foreach (GhostBehaviour ghost in Helpers.Entities.Ghosts)
|
||||
foreach (Il2Cpp.GhostBehaviour ghost in Helpers.Entities.Ghosts)
|
||||
{
|
||||
if (ghost != null)
|
||||
{
|
||||
@@ -308,7 +308,7 @@ namespace DevourClient.Hacks
|
||||
|
||||
public static void ShowMessageBox(string message)
|
||||
{
|
||||
Horror.Menu menu = UnityEngine.Object.FindObjectOfType<Horror.Menu>();
|
||||
Il2CppHorror.Menu menu = UnityEngine.Object.FindObjectOfType<Il2CppHorror.Menu>();
|
||||
menu.ShowMessageModal(message);
|
||||
}
|
||||
public static void PlaySound()
|
||||
@@ -324,11 +324,11 @@ namespace DevourClient.Hacks
|
||||
public PlayRandomAudioClip laughClips;
|
||||
*/
|
||||
|
||||
PlayRandomAudioClip playRandomAudioClip = UnityEngine.Object.FindObjectOfType<PlayRandomAudioClip>();
|
||||
NolanVoiceOvers nolanVoiceOvers = UnityEngine.Object.FindObjectOfType<NolanVoiceOvers>();
|
||||
Il2Cpp.PlayRandomAudioClip playRandomAudioClip = UnityEngine.Object.FindObjectOfType<Il2Cpp.PlayRandomAudioClip>();
|
||||
Il2Cpp.NolanVoiceOvers nolanVoiceOvers = UnityEngine.Object.FindObjectOfType<Il2Cpp.NolanVoiceOvers>();
|
||||
playRandomAudioClip.delay = 0f;
|
||||
|
||||
int num = Random.RandomRangeInt(0, 10);
|
||||
int num = UnityEngine.Random.RandomRangeInt(0, 10);
|
||||
switch (num)
|
||||
{
|
||||
case 0:
|
||||
@@ -367,7 +367,7 @@ namespace DevourClient.Hacks
|
||||
}
|
||||
public static void InstantWin()
|
||||
{
|
||||
Survival survival_class = UnityEngine.Object.FindObjectOfType<Survival>();
|
||||
Il2Cpp.Survival survival_class = UnityEngine.Object.FindObjectOfType<Il2Cpp.Survival>();
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
public static void Achievements()
|
||||
{
|
||||
AchievementHelpers ah = UnityEngine.Object.FindObjectOfType<AchievementHelpers>();
|
||||
Il2Cpp.AchievementHelpers ah = UnityEngine.Object.FindObjectOfType<Il2Cpp.AchievementHelpers>();
|
||||
|
||||
/*
|
||||
string[] names = { "hasAchievedFusesUsed", "hasAchievedGasolineUsed", "hasAchievedNoKnockout", "hasCollectedAllPatches", "hasCollectedAllRoses",
|
||||
@@ -37,7 +37,7 @@
|
||||
public static void Doors()
|
||||
{
|
||||
//Pour chaques portes, on les ouvre
|
||||
foreach (Horror.DoorBehaviour doorBehaviour in UnityEngine.Object.FindObjectsOfType<Horror.DoorBehaviour>())
|
||||
foreach (Il2CppHorror.DoorBehaviour doorBehaviour in UnityEngine.Object.FindObjectsOfType<Il2CppHorror.DoorBehaviour>())
|
||||
{
|
||||
doorBehaviour.state.Locked = false;
|
||||
if (doorBehaviour.IsOpen())
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using UnityEngine;
|
||||
using Opsive.UltimateCharacterController.Character;
|
||||
using Il2CppOpsive.UltimateCharacterController.Character;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
public static bool IsInGame()
|
||||
{
|
||||
OptionsHelpers optionsHelpers = UnityEngine.Object.FindObjectOfType<OptionsHelpers>();
|
||||
Il2Cpp.OptionsHelpers optionsHelpers = UnityEngine.Object.FindObjectOfType<Il2Cpp.OptionsHelpers>();
|
||||
return optionsHelpers.inGame;
|
||||
}
|
||||
|
||||
@@ -18,19 +18,19 @@ namespace DevourClient.Helpers
|
||||
return GetPlayer() != null;
|
||||
}
|
||||
|
||||
public static NolanBehaviour GetPlayer()
|
||||
public static Il2Cpp.NolanBehaviour GetPlayer()
|
||||
{
|
||||
if (Entities.LocalPlayer_ == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return Entities.LocalPlayer_.GetComponent<NolanBehaviour>();
|
||||
return Entities.LocalPlayer_.GetComponent<Il2Cpp.NolanBehaviour>();
|
||||
}
|
||||
|
||||
public static bool IsPlayerCrawling()
|
||||
{
|
||||
NolanBehaviour nb = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour nb = Player.GetPlayer();
|
||||
|
||||
if (nb == null)
|
||||
{
|
||||
@@ -51,13 +51,13 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
public static GameObject LocalPlayer_;
|
||||
public static GameObject[] Players;
|
||||
public static GoatBehaviour[] GoatsAndRats;
|
||||
public static SurvivalInteractable[] SurvivalInteractables;
|
||||
public static KeyBehaviour[] Keys;
|
||||
public static SurvivalDemonBehaviour[] Demons;
|
||||
public static SpiderBehaviour[] Spiders;
|
||||
public static GhostBehaviour[] Ghosts;
|
||||
public static SurvivalAzazelBehaviour[] Azazels;
|
||||
public static Il2Cpp.GoatBehaviour[] GoatsAndRats;
|
||||
public static Il2Cpp.SurvivalInteractable[] SurvivalInteractables;
|
||||
public static Il2Cpp.KeyBehaviour[] Keys;
|
||||
public static Il2Cpp.SurvivalDemonBehaviour[] Demons;
|
||||
public static Il2Cpp.SpiderBehaviour[] Spiders;
|
||||
public static Il2Cpp.GhostBehaviour[] Ghosts;
|
||||
public static Il2Cpp.SurvivalAzazelBehaviour[] Azazels;
|
||||
|
||||
public static IEnumerator GetLocalPlayer()
|
||||
{
|
||||
@@ -67,7 +67,7 @@ namespace DevourClient.Helpers
|
||||
|
||||
for (int i = 0; i < currentPlayers.Length; i++)
|
||||
{
|
||||
if (currentPlayers[i].GetComponent<NolanBehaviour>().entity.IsOwner)
|
||||
if (currentPlayers[i].GetComponent<Il2Cpp.NolanBehaviour>().entity.IsOwner)
|
||||
{
|
||||
LocalPlayer_ = currentPlayers[i];
|
||||
break;
|
||||
@@ -94,7 +94,7 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
GoatsAndRats = GoatBehaviour.FindObjectsOfType<GoatBehaviour>();
|
||||
GoatsAndRats = Il2Cpp.GoatBehaviour.FindObjectsOfType<Il2Cpp.GoatBehaviour>();
|
||||
|
||||
// Wait 5 seconds before caching objects again.
|
||||
yield return new WaitForSeconds(5f);
|
||||
@@ -105,7 +105,7 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
SurvivalInteractables = SurvivalInteractable.FindObjectsOfType<SurvivalInteractable>();
|
||||
SurvivalInteractables = Il2Cpp.SurvivalInteractable.FindObjectsOfType<Il2Cpp.SurvivalInteractable>();
|
||||
|
||||
// Wait 5 seconds before caching objects again.
|
||||
yield return new WaitForSeconds(5f);
|
||||
@@ -116,7 +116,7 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
Keys = KeyBehaviour.FindObjectsOfType<KeyBehaviour>();
|
||||
Keys = Il2Cpp.KeyBehaviour.FindObjectsOfType<Il2Cpp.KeyBehaviour>();
|
||||
|
||||
// Wait 5 seconds before caching objects again.
|
||||
yield return new WaitForSeconds(5f);
|
||||
@@ -127,7 +127,7 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
Demons = SurvivalDemonBehaviour.FindObjectsOfType<SurvivalDemonBehaviour>();
|
||||
Demons = Il2Cpp.SurvivalDemonBehaviour.FindObjectsOfType<Il2Cpp.SurvivalDemonBehaviour>();
|
||||
|
||||
// Wait 5 seconds before caching objects again.
|
||||
yield return new WaitForSeconds(5f);
|
||||
@@ -138,7 +138,7 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
Spiders = SpiderBehaviour.FindObjectsOfType<SpiderBehaviour>();
|
||||
Spiders = Il2Cpp.SpiderBehaviour.FindObjectsOfType<Il2Cpp.SpiderBehaviour>();
|
||||
|
||||
// Wait 5 seconds before caching objects again.
|
||||
yield return new WaitForSeconds(5f);
|
||||
@@ -149,7 +149,7 @@ namespace DevourClient.Helpers
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
Ghosts = GhostBehaviour.FindObjectsOfType<GhostBehaviour>();
|
||||
Ghosts = Il2Cpp.GhostBehaviour.FindObjectsOfType<Il2Cpp.GhostBehaviour>();
|
||||
|
||||
// Wait 5 seconds before caching objects again.
|
||||
yield return new WaitForSeconds(5f);
|
||||
@@ -163,7 +163,7 @@ namespace DevourClient.Helpers
|
||||
*/
|
||||
for (;;)
|
||||
{
|
||||
Azazels = SurvivalAzazelBehaviour.FindObjectsOfType<SurvivalAzazelBehaviour>();
|
||||
Azazels = Il2Cpp.SurvivalAzazelBehaviour.FindObjectsOfType<Il2Cpp.SurvivalAzazelBehaviour>();
|
||||
|
||||
// Wait 5 seconds before caching objects again.
|
||||
yield return new WaitForSeconds(5f);
|
||||
|
||||
@@ -5,11 +5,11 @@ namespace DevourClient.Hooks
|
||||
{
|
||||
public class Hooks
|
||||
{
|
||||
[HarmonyPatch(typeof(NolanBehaviour), "OnAttributeUpdateValue")]
|
||||
[HarmonyPatch(typeof(Il2Cpp.NolanBehaviour), "OnAttributeUpdateValue")]
|
||||
static class NolanBehaviour_UV
|
||||
{
|
||||
[HarmonyPrefix]
|
||||
static void Prefix(ref Opsive.UltimateCharacterController.Traits.Attribute attribute)
|
||||
static void Prefix(ref Il2CppOpsive.UltimateCharacterController.Traits.Attribute attribute)
|
||||
{
|
||||
if (Load.unlimitedUV && attribute.m_Name == "Battery")
|
||||
{
|
||||
@@ -19,11 +19,11 @@ namespace DevourClient.Hooks
|
||||
}
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(RankHelpers))]
|
||||
[HarmonyPatch(nameof(RankHelpers.CalculateExpGain))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
[HarmonyPatch(typeof(Il2Cpp.RankHelpers))]
|
||||
[HarmonyPatch(nameof(Il2Cpp.RankHelpers.CalculateExpGain))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
static class RankHelpers_CalculateExpGain
|
||||
{
|
||||
static void Postfix(ref RankHelpers.ExpGainInfo __result)
|
||||
static void Postfix(ref Il2Cpp.RankHelpers.ExpGainInfo __result)
|
||||
{
|
||||
if (Load.exp_modifier)
|
||||
{
|
||||
@@ -34,11 +34,11 @@ namespace DevourClient.Hooks
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPatch(typeof(Horror.Menu))]
|
||||
[HarmonyPatch(nameof(Horror.Menu.SetupPerk))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
[HarmonyPatch(typeof(Il2CppHorror.Menu))]
|
||||
[HarmonyPatch(nameof(Il2CppHorror.Menu.SetupPerk))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
static class Horror_Menu_SetupPerk_Patch
|
||||
{
|
||||
static void Prefix(ref CharacterPerk perk)
|
||||
static void Prefix(ref Il2Cpp.CharacterPerk perk)
|
||||
{
|
||||
/*
|
||||
public int cost { get; set; }
|
||||
@@ -56,11 +56,11 @@ namespace DevourClient.Hooks
|
||||
}
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(Horror.Menu))]
|
||||
[HarmonyPatch(nameof(Horror.Menu.SetupOutfit))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
[HarmonyPatch(typeof(Il2CppHorror.Menu))]
|
||||
[HarmonyPatch(nameof(Il2CppHorror.Menu.SetupOutfit))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
static class Horror_Menu_SetupOutfit_Patch
|
||||
{
|
||||
static void Prefix(ref CharacterOutfit outfit)
|
||||
static void Prefix(ref Il2Cpp.CharacterOutfit outfit)
|
||||
{
|
||||
/*
|
||||
public ulong currentPrice;
|
||||
@@ -81,8 +81,8 @@ namespace DevourClient.Hooks
|
||||
}
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(OptionsHelpers))]
|
||||
[HarmonyPatch(nameof(OptionsHelpers.IsRobeUnlocked))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
[HarmonyPatch(typeof(Il2Cpp.OptionsHelpers))]
|
||||
[HarmonyPatch(nameof(Il2Cpp.OptionsHelpers.IsRobeUnlocked))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
static class OptionsHelpers_IsRobeUnlocked_Patch
|
||||
{
|
||||
static bool Prefix(ref string robe)
|
||||
@@ -94,11 +94,11 @@ namespace DevourClient.Hooks
|
||||
}
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(Horror.Menu))]
|
||||
[HarmonyPatch(nameof(Horror.Menu.SetupFlashlight))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
[HarmonyPatch(typeof(Il2CppHorror.Menu))]
|
||||
[HarmonyPatch(nameof(Il2CppHorror.Menu.SetupFlashlight))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||
static class Horror_Menu_SetLocked_Patch
|
||||
{
|
||||
static void Prefix(CharacterFlashlight flashlight)
|
||||
static void Prefix(Il2Cpp.CharacterFlashlight flashlight)
|
||||
{
|
||||
/*
|
||||
public bool isHidden { get; set; }
|
||||
|
||||
@@ -2,8 +2,12 @@
|
||||
using MelonLoader;
|
||||
using System.Threading;
|
||||
using DevourClient.Helpers;
|
||||
using Photon.Bolt;
|
||||
using Il2CppPhoton.Bolt;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Il2CppHorror;
|
||||
|
||||
[assembly: MelonInfo(typeof(DevourClient.Load), "DevourClient", "1", "ALittlePatate & Jadis")]
|
||||
[assembly: MelonGame("Straight Back Games", "DEVOUR")]
|
||||
|
||||
namespace DevourClient
|
||||
{
|
||||
@@ -36,7 +40,7 @@ namespace DevourClient
|
||||
bool demon_esp = false;
|
||||
bool fullbright = false;
|
||||
|
||||
public override void OnApplicationStart()
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
MelonLogger.Msg("For the Queen !");
|
||||
MelonCoroutines.Start(Helpers.Entities.GetLocalPlayer());
|
||||
@@ -57,7 +61,7 @@ namespace DevourClient
|
||||
{
|
||||
try
|
||||
{
|
||||
GameUI gameUI = UnityEngine.Object.FindObjectOfType<GameUI>();
|
||||
Il2Cpp.GameUI gameUI = UnityEngine.Object.FindObjectOfType<Il2Cpp.GameUI>();
|
||||
|
||||
if (Settings.Settings.menu_enable)
|
||||
{
|
||||
@@ -138,7 +142,7 @@ namespace DevourClient
|
||||
{
|
||||
try
|
||||
{
|
||||
Helpers.Entities.LocalPlayer_.GetComponent<Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion>().TimeScale = this._PlayerSpeedMultiplier;
|
||||
Helpers.Entities.LocalPlayer_.GetComponent<Il2CppOpsive.UltimateCharacterController.Character.UltimateCharacterLocomotion>().TimeScale = this._PlayerSpeedMultiplier;
|
||||
}
|
||||
catch { return; }
|
||||
}
|
||||
@@ -173,7 +177,7 @@ namespace DevourClient
|
||||
{
|
||||
//string playername = player.field_Private_PhotonView_0.field_Private_ObjectPublicObInBoStBoHaStObInHaUnique_0.field_Private_String_0;//player.photonView._Controller_k__BackingField.NickName;
|
||||
|
||||
if (player.GetComponent<NolanBehaviour>().entity.IsOwner)
|
||||
if (player.GetComponent<Il2Cpp.NolanBehaviour>().entity.IsOwner)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -187,7 +191,7 @@ namespace DevourClient
|
||||
|
||||
if (this.goat_rat_esp)
|
||||
{
|
||||
foreach (GoatBehaviour goat in Helpers.Entities.GoatsAndRats)
|
||||
foreach (Il2Cpp.GoatBehaviour goat in Helpers.Entities.GoatsAndRats)
|
||||
{
|
||||
if (goat != null)
|
||||
{
|
||||
@@ -218,7 +222,7 @@ namespace DevourClient
|
||||
|
||||
if (this.item_esp)
|
||||
{
|
||||
foreach (SurvivalInteractable obj in Helpers.Entities.SurvivalInteractables)
|
||||
foreach (Il2Cpp.SurvivalInteractable obj in Helpers.Entities.SurvivalInteractables)
|
||||
{
|
||||
if (obj != null)
|
||||
{
|
||||
@@ -249,7 +253,7 @@ namespace DevourClient
|
||||
}
|
||||
}
|
||||
|
||||
foreach (KeyBehaviour key in Helpers.Entities.Keys)
|
||||
foreach (Il2Cpp.KeyBehaviour key in Helpers.Entities.Keys)
|
||||
{
|
||||
if (key != null)
|
||||
{
|
||||
@@ -281,7 +285,7 @@ namespace DevourClient
|
||||
|
||||
if (this.demon_esp)
|
||||
{
|
||||
foreach (SurvivalDemonBehaviour demon in Helpers.Entities.Demons)
|
||||
foreach (Il2Cpp.SurvivalDemonBehaviour demon in Helpers.Entities.Demons)
|
||||
{
|
||||
if (demon != null)
|
||||
{
|
||||
@@ -310,7 +314,7 @@ namespace DevourClient
|
||||
}
|
||||
}
|
||||
|
||||
foreach (SpiderBehaviour spider in Helpers.Entities.Spiders)
|
||||
foreach (Il2Cpp.SpiderBehaviour spider in Helpers.Entities.Spiders)
|
||||
{
|
||||
if (spider != null)
|
||||
{
|
||||
@@ -339,7 +343,7 @@ namespace DevourClient
|
||||
}
|
||||
}
|
||||
|
||||
foreach (GhostBehaviour ghost in Helpers.Entities.Ghosts)
|
||||
foreach (Il2Cpp.GhostBehaviour ghost in Helpers.Entities.Ghosts)
|
||||
{
|
||||
if (ghost != null)
|
||||
{
|
||||
@@ -371,7 +375,7 @@ namespace DevourClient
|
||||
|
||||
if (this.azazel_esp || this.azazel_snapline)
|
||||
{
|
||||
foreach (SurvivalAzazelBehaviour survivalAzazel in Helpers.Entities.Azazels)
|
||||
foreach (Il2Cpp.SurvivalAzazelBehaviour survivalAzazel in Helpers.Entities.Azazels)
|
||||
{
|
||||
if (survivalAzazel != null)
|
||||
{
|
||||
@@ -633,7 +637,7 @@ namespace DevourClient
|
||||
case "Menu":
|
||||
if (GUI.Button(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 430, 120, 20), "Force Start"))
|
||||
{
|
||||
Horror.Menu menu = UnityEngine.Object.FindObjectOfType<Horror.Menu>();
|
||||
Il2CppHorror.Menu menu = UnityEngine.Object.FindObjectOfType<Il2CppHorror.Menu>();
|
||||
menu.OnLobbyStartButtonClick();
|
||||
}
|
||||
return;
|
||||
@@ -653,7 +657,7 @@ namespace DevourClient
|
||||
{
|
||||
try
|
||||
{
|
||||
NolanBehaviour nb = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour nb = Player.GetPlayer();
|
||||
|
||||
nb.TeleportTo(Helpers.Map.GetAzazel().transform.position, Quaternion.identity);
|
||||
}
|
||||
@@ -685,7 +689,7 @@ namespace DevourClient
|
||||
{
|
||||
try
|
||||
{
|
||||
NolanBehaviour nb = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour nb = Player.GetPlayer();
|
||||
|
||||
nb.TeleportTo(Helpers.Map.GetAzazel().transform.position, Quaternion.identity);
|
||||
}
|
||||
@@ -722,7 +726,7 @@ namespace DevourClient
|
||||
{
|
||||
try
|
||||
{
|
||||
NolanBehaviour nb = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour nb = Player.GetPlayer();
|
||||
|
||||
nb.TeleportTo(Helpers.Map.GetAzazel().transform.position, Quaternion.identity);
|
||||
}
|
||||
@@ -753,7 +757,7 @@ namespace DevourClient
|
||||
{
|
||||
try
|
||||
{
|
||||
NolanBehaviour nb = Player.GetPlayer();
|
||||
Il2Cpp.NolanBehaviour nb = Player.GetPlayer();
|
||||
|
||||
nb.TeleportTo(Helpers.Map.GetAzazel().transform.position, Quaternion.identity);
|
||||
}
|
||||
|
||||
@@ -1,17 +1,10 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.Versioning;
|
||||
using MelonLoader;
|
||||
|
||||
[assembly: MelonInfo(typeof(DevourClient.Load), "DevourClient", "1.0", "ALittlePatate")]
|
||||
[assembly: MelonGame(null, null)]
|
||||
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyCompany("DevourClient")]
|
||||
[assembly: AssemblyConfiguration("Release")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyInformationalVersion("1.0.0")]
|
||||
[assembly: AssemblyProduct("DevourClient")]
|
||||
[assembly: AssemblyTitle("DevourClient")]
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("DevourClient")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("DevourClient")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("DevourClient")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
Reference in New Issue
Block a user