diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2bd8575..5ff6542 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,6 +45,8 @@ jobs: uses: mikepenz/release-changelog-builder-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + commitMode: true - name: Create release id: create_release uses: actions/create-release@v1 @@ -70,4 +72,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - id: ${{ steps.create_release.outputs.id }} \ No newline at end of file + id: ${{ steps.create_release.outputs.id }} diff --git a/README.md b/README.md index e8c90a6..b600039 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,10 @@ Torch is the successor to SE Server Extender and gives server admins the tools t ### Fork Difference * .NET 6.0 runtime -* Additional options & features +* Optimized in-game scripts (also newer compiler & language versions) +* Better configuration via cli arguments, environment variables or xml config +* Designed to run multiple instance from same install directory without having you to waste disk space +* Mostly compatible with original torch's plugins ### Discord @@ -21,10 +24,13 @@ If you have any questions or issues please join our [discord](https://discord.gg ### Installation * Unzip the Torch release into its own directory and run the executable. It will automatically download the SE DS and generate the other necessary files. - - If you already have a DS installed you can unzip the Torch files into the folder that contains the DedicatedServer64 folder. + - If you already have a DS installed you can: + * Unzip the Torch files into the folder that contains the DedicatedServer64 folder. + * Pass path to game files using config parameter `gamePath` # Building -To build Torch you must first have a complete SE Dedicated installation somewhere. Before you open the solution, run the Setup batch file and enter the path of that installation's DedicatedServer64 folder. The script will make a symlink to that folder so the Torch solution can find the DLL references it needs. + +As a regular dotnet project with cli by running `dotnet build Torch.Server/Torch.Server.csproj`, with VS 2022 or higher, with JB Rider or Fleet. If you have a more enjoyable server experience because of Torch, please consider supporting us on Patreon. (https://www.patreon.com/TorchSE) diff --git a/Torch.Server/Patches/SteamLoginPatch.cs b/Torch.Server/Patches/SteamLoginPatch.cs index 8663285..a79d683 100644 --- a/Torch.Server/Patches/SteamLoginPatch.cs +++ b/Torch.Server/Patches/SteamLoginPatch.cs @@ -12,7 +12,7 @@ public static class SteamLoginPatch private static readonly ILogger Log = LogManager.GetCurrentClassLogger(); [ReflectedMethodInfo(null, "LogOnAnonymous", TypeName = "VRage.Steam.MySteamGameServer, VRage.Steam")] - private static readonly MethodInfo LoginMethod; + private static MethodInfo LoginMethod = null!; public static void Patch(PatchContext context) { diff --git a/Torch.Server/Torch.Server.csproj b/Torch.Server/Torch.Server.csproj index 4325290..8e16e3b 100644 --- a/Torch.Server/Torch.Server.csproj +++ b/Torch.Server/Torch.Server.csproj @@ -45,6 +45,10 @@ + + all + compile +