From cac4c63dade0f9817e6b03b08934caf7d362076a Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Mon, 6 Mar 2023 21:31:34 +0100 Subject: [PATCH] added Create Server button in the menu --- DevourClient/MelonMain.cs | 12 ++++++++++++ README.md | 3 +++ 2 files changed, 15 insertions(+) diff --git a/DevourClient/MelonMain.cs b/DevourClient/MelonMain.cs index 0f9b709..da21531 100644 --- a/DevourClient/MelonMain.cs +++ b/DevourClient/MelonMain.cs @@ -40,6 +40,7 @@ namespace DevourClient static float fly_speed = 5; static bool fastMove = false; static float _PlayerSpeedMultiplier = 1; + public static float lobbySize = 4; public static bool _IsAutoRespawn = false; public static bool unlimitedUV = false; public static bool exp_modifier = false; @@ -939,6 +940,17 @@ namespace DevourClient fastMove = GUI.Toggle(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 610, 150, 20), fastMove, "Player Speed"); _PlayerSpeedMultiplier = GUI.HorizontalSlider(new Rect(Settings.Settings.x + 10, Settings.Settings.y + 640, 100, 10), _PlayerSpeedMultiplier, (int)1f, (int)10f); GUI.Label(new Rect(Settings.Settings.x + 120, Settings.Settings.y + 635, 100, 30), ((int)_PlayerSpeedMultiplier).ToString()); + + GUI.Label(new Rect(Settings.Settings.x + 295, Settings.Settings.y + 70, 150, 30), "Max players"); + lobbySize = GUI.HorizontalSlider(new Rect(Settings.Settings.x + 295, Settings.Settings.y + 90, 100, 10), lobbySize, (int)0f, (int)30f); + GUI.Label(new Rect(Settings.Settings.x + 405, Settings.Settings.y + 85, 100, 30), ((int)lobbySize).ToString()); + + if (GUI.Button(new Rect(Settings.Settings.x + 285, Settings.Settings.y + 110, 150, 30), "Create server")) + { + MelonLogger.Msg("Creating the server..."); + Hacks.Misc.CreateCustomizedLobby((int)lobbySize); + MelonLogger.Msg("Done !"); + } } private static void PlayersTab() diff --git a/README.md b/README.md index ef9532a..77388be 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,10 @@ Everything about spoofing ehre (steam name, server name, level...) will persist * Always carrying a medkit * Change your exp at the end of the game, changing it is permanant ! * Player ESP (with a home made color picker) +* Player skeleton ESP * Player snaplines (with a home made color picker) * Azazel ESP (with a home made color picker) +* Azazel Skeleton ESP * Azazel snapline (with a home made color picker) * Item ESP * Demon ESP @@ -49,6 +51,7 @@ Everything about spoofing ehre (steam name, server name, level...) will persist * Walk in the lobby * Change the player's speed * Fullbright +* Create a lobby with no player limit ## Installation For my french fellas out there, 1tap2times made a French video tutorial for the installation of the Mod : [link](https://vimeo.com/789315436)