Skip to content

v1.2.0

Latest

Choose a tag to compare

@K4ryuu K4ryuu released this 19 Nov 12:32

Added

  • The workshop cache clears out unused addon versions by itself, every prune_hours (24 by default, asked at install, 0 leaves it to cs2node workshop prune). A version goes once nothing used it for keep_days. With seed on that means no running server had it loaded, so addons nobody plays stop being offered and get cleared out too. cs2node workshop shows when each was last used.
  • SteamRT4 images next to the SteamRT3 (sniper) ones: stable-rt4 and beta-rt4, listed in the egg as (SteamRT4). stable and beta stay on SteamRT3 until CS2 moves to SteamRT4.

Changed

  • Workshop keep_days defaults to 7 instead of 30. A node that already has it set keeps its value.
  • Go 1.27.4 and every module updated, which also fixes the otel/trace attribute length limit bypass (#7).
  • The image build takes its Go version from go.mod, the same as CI and the release build.
  • Commands the egg types into the server itself (hostname, the bot-guard probe and its answer, kicks) stay out of the panel console.
  • ModSharp gets the .NET runtime its own build names, so a move to .NET 11 needs no egg update. The runtime comes from builds.dotnet.microsoft.com, Microsoft is retiring the old azureedge address.

Fixed

  • Workshop addons never updated on servers using the workshop cache (#8). The old version came back as real files with its old appworkshop_730.acf entry, so MultiAddonManager and AddonsManager saw it as installed. An outdated item is now removed, so the current version gets downloaded. The node checks Steam at every boot, items new to the cache included, and cs2node workshop sync handles updates too.
  • Addons and the node stayed on a beta after a stable release came out. With PRERELEASE off, or the node on the stable channel, an installed beta now goes back to the latest stable. This fix was sent for the bash egg and got forgotten (thanks @shmitzas, K4ryuu/CS2-Egg#53).
  • Turning on SwiftlyS2 or ModSharp on an older server put it above MetaMod in gameinfo.gi, so MetaMod and CounterStrikeSharp stopped loading.
  • ModSharp never got its .NET runtime. The runtime archive starts with a ./ entry, and the unpacking refused it.
  • ModSharp next to CounterStrikeSharp or SwiftlyS2 only got a console warning, though the panel says they get switched off. While ModSharp is on they now stay unloaded, and they come back once it is off.
  • The maintenance pass counted every_hours from each daemon start, so a node that restarted more often (a self-update, cs2node install) never got one. It now counts from the last pass.
  • Workshop keep_days: 0 removed every unused version instead of keeping them all, and the days counted from when a version was stored instead of from its last use.
  • cs2node status and cs2node doctor showed an empty map for a crash that came before a map loaded.

Note

Sorry for being late on some of these. A few were reported a while ago and slipped through. I'll keep up with everything that gets reported from now on, so nothing gets forgotten again. If something breaks or you have an idea, feel free to open an issue or a PR, they are always welcome.