From 3258fcc4f5a24ef5b1534cd1ab4c5bb60c7b85f8 Mon Sep 17 00:00:00 2001 From: anavoi Date: Sat, 15 Mar 2025 22:14:51 +0100 Subject: [PATCH 1/6] docs: added contact info for community feedback --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2e19ad2..bf1dd14 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,13 @@ 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 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` From 4a5c66566719364ecf38d8c36246893d80a57f5d Mon Sep 17 00:00:00 2001 From: anavoi Date: Sat, 15 Mar 2025 22:15:24 +0100 Subject: [PATCH 2/6] style: remove trailing dot --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf1dd14..36251ee 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ If it's still not working, try using `winecfg` for your prefix or `protontricks` 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 required. This will change once Forgejo supports federation. Alternatively, feel free to reach out to us for general feedback or questions. +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 From abe74e4ea51afef726e91372b62e3b52afafc117 Mon Sep 17 00:00:00 2001 From: anavoi Date: Sat, 15 Mar 2025 22:19:03 +0100 Subject: [PATCH 3/6] style: fix spelling mistakes Add .vscode/settings.json for VSCode/VSCodium users using cspell --- .vscode/settings.json | 23 +++++++++++++++++++++++ Addons/GBSUGui.cs | 6 +++--- README.md | 2 +- 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..dc400bf --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,23 @@ +{ + "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 f30cfb2..431c5c5 100644 --- a/Addons/GBSUGui.cs +++ b/Addons/GBSUGui.cs @@ -92,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, becauuse it can be overrided by args like -ip and -port + ServerConfig serverConfig = NetConfigLoader.LoadServerConfig(); // load default server config, because it can be overridden 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 } @@ -139,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 availaible at git.gaboule.com/Gaboule/GBSU +Our source code is available 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/README.md b/README.md index 36251ee..ca415d8 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 From 5c6a96b800f72920db8e83e87fff2bb004161519 Mon Sep 17 00:00:00 2001 From: anavoi Date: Sat, 15 Mar 2025 22:19:21 +0100 Subject: [PATCH 4/6] refactor: remove unused import --- Addons/GBSUGui.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Addons/GBSUGui.cs b/Addons/GBSUGui.cs index 431c5c5..d1447a3 100644 --- a/Addons/GBSUGui.cs +++ b/Addons/GBSUGui.cs @@ -4,7 +4,6 @@ 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 From 89fcf1ed7b4395733a9bddd5957598537d5c3c57 Mon Sep 17 00:00:00 2001 From: anavoi Date: Sat, 15 Mar 2025 22:20:33 +0100 Subject: [PATCH 5/6] refactor: bump severity from info to warning --- Addons/Helper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Addons/Helper.cs b/Addons/Helper.cs index 535ec0a..d53cef5 100644 --- a/Addons/Helper.cs +++ b/Addons/Helper.cs @@ -14,7 +14,7 @@ public class Helper } catch (Exception e) { - Plugin.Log.LogInfo("Failed to disable analytics: " + e.Message); + Plugin.Log.LogWarning("Failed to disable analytics: " + e.Message); } } } \ No newline at end of file From bdc26f252867a09859e3096e2e734870c48bd891 Mon Sep 17 00:00:00 2001 From: anavoi Date: Sat, 15 Mar 2025 22:21:27 +0100 Subject: [PATCH 6/6] 1.0.2 --- GBSU.csproj | 2 +- Plugin.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GBSU.csproj b/GBSU.csproj index 866ce81..2a42d53 100644 --- a/GBSU.csproj +++ b/GBSU.csproj @@ -4,7 +4,7 @@ netstandard2.0 GBSU Gang Beasts Server Utility - 1.0.1 + 1.0.2 true latest diff --git a/Plugin.cs b/Plugin.cs index f1e871c..b98969d 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.1"; + public const string PluginVersion = "1.0.2"; }