diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index dc400bf..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "cSpell.words": [ - "allmaps", - "Behaviour", - "currentmap", - "Dont", - "gamemode", - "GBSU", - "gmenu", - "hlapi", - "netstandard", - "protontricks", - "rotationconfig", - "serverip", - "serverpassword", - "serverport", - "vsync", - "winecfg", - "WINEDLLOVERRIDES", - "winhttp", - "ZeroTier" - ] -} \ No newline at end of file diff --git a/Addons/GBSUGui.cs b/Addons/GBSUGui.cs index d1447a3..f30cfb2 100644 --- a/Addons/GBSUGui.cs +++ b/Addons/GBSUGui.cs @@ -4,6 +4,7 @@ using GB.Config; using GB.Core; using GB.Game; using GB.Platform.Lobby; +using HarmonyLib; using UnityEngine; #pragma warning disable IDE0051 // Private member is unused @@ -91,7 +92,7 @@ Set CLI arguments: -ip, -port, -servername, -serverpassword Plugin.AddServerComp(); // add custom GBSU server component RotationConfig gameConfig = GBConfigLoader.LoadRotationConfig("config.json", true); // load rotation config from Config/Rotation/config.json - ServerConfig serverConfig = NetConfigLoader.LoadServerConfig(); // load default server config, because it can be overridden by args like -ip and -port + ServerConfig serverConfig = NetConfigLoader.LoadServerConfig(); // load default server config, becauuse it can be overrided by args like -ip and -port MonoSingleton.Instance.UNetManager.LaunchServer(serverConfig); // launch the server with the server config MonoSingleton.Instance.UNetManager.GetComponent().ChangeRotationConfig(gameConfig, 0); // set server's rotationconfig } @@ -138,14 +139,14 @@ Set CLI arguments: -ip, -port, -servername, -serverpassword Current map: {currentmap} Lobby State: {LobbyManager.Instance.LobbyStates.SelfState} -VSync: {QualitySettings.vSyncCount} +Vsync: {QualitySettings.vSyncCount} Target FPS: {Application.targetFrameRate} {UpdateScoreDisplay()} Made with <3 by anavoi at Gaboule Community Free and open-source software under GPLv3. -Our source code is available at git.gaboule.com/Gaboule/GBSU +Our source code is availaible at git.gaboule.com/Gaboule/GBSU Please refer to the documentation for more information."); GUI.DragWindow(new Rect(0, 0, 10000, 10000)); diff --git a/Addons/Helper.cs b/Addons/Helper.cs index d53cef5..535ec0a 100644 --- a/Addons/Helper.cs +++ b/Addons/Helper.cs @@ -14,7 +14,7 @@ public class Helper } catch (Exception e) { - Plugin.Log.LogWarning("Failed to disable analytics: " + e.Message); + Plugin.Log.LogInfo("Failed to disable analytics: " + e.Message); } } } \ No newline at end of file diff --git a/GBSU.csproj b/GBSU.csproj index 2a42d53..866ce81 100644 --- a/GBSU.csproj +++ b/GBSU.csproj @@ -4,7 +4,7 @@ netstandard2.0 GBSU Gang Beasts Server Utility - 1.0.2 + 1.0.1 true latest diff --git a/Plugin.cs b/Plugin.cs index b98969d..f1e871c 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -67,5 +67,5 @@ public class Plugin : BaseUnityPlugin public const string PluginGUID = "com.gaboule.plugins.gbsu"; public const string PluginName = "Gang Beasts Server Utility"; - public const string PluginVersion = "1.0.2"; + public const string PluginVersion = "1.0.1"; } diff --git a/README.md b/README.md index ca415d8..2e19ad2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This mod allows you to connect to a Gang Beasts server in recent versions (throu **NOTICE: This is not a "Cement" mod, and we don't want to be affiliated with their developers. This mod is standalone, and will work best on its own!** # Features -- LAN (ethernet switches at LAN parties) and Online (port forwarding, ZeroTier, Wireguard) multiplayer +- LAN (ethernet switches at LAN parties) and Online (port forwarding, Zerotier, Wireguard) multiplayer - Custom score handling made by the server (we don't want to use the game's score handler) # Installation @@ -62,13 +62,6 @@ On Steam, simply put `WINEDLLOVERRIDES="winhttp.dll=n,b" %command%` in your laun If it's still not working, try using `winecfg` for your prefix or `protontricks` and go to the libraries tab in Wine Configuration. Simply add `winhttp` as an override and check if it's correctly set as "native, then builtin" (or "n,b"). -# Contact us -## Need help? -Ask us on [Matrix](https://matrix.to/#/#gbsu:gaboule.com). - -## Feature requests or bug reports -Want a new feature? Found a bug? [Open an issue!](https://git.gaboule.com/Gaboule/GBSU/issues) Please note that a Gaboule account is currently required. This will change once Forgejo supports federation. Alternatively, feel free to reach out to us for general feedback or questions. - # Developer information - The mod is made for BepInEx 5 - The targeted Unity version is `2020.3.5f1`