added Create Server button in the menu

This commit is contained in:
2023-03-06 21:31:34 +01:00
parent 27e6956f2d
commit cac4c63dad
2 changed files with 15 additions and 0 deletions

View File

@@ -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()

View File

@@ -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)<br>