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..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 @@ -92,7 +91,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 +138,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/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 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"; } diff --git a/README.md b/README.md index 2e19ad2..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 @@ -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 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`