Repository navigation
fix(host): read the game files servers run now, not master-install - #152
Merged
Merged
Conversation
On an instance host the current CS2 lives in games/current and master-install stays at the build it was set up with, so radars, pictures and catalogs came from that old build (no Cobblestone). The agent now asks for the current game folder each time, the way the inventory already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a host with instances, a CS2 update goes into
games/current, andmaster-installstays at the build it was set up with. Radars, pictures and the catalogs readmaster-install, so they served that old build. On a real host that was 1.41.8.6 from September, without Cobblestone. The agent now gets the game folder fromCurrentGameDir()on every use, the same lookup the inventory uses formaster_patch.Options.CS2Dirbecomes a function, because an update movesgames/currentwhile the agent keeps running.Checked against a real host's
games/current: maps.json listsde_cbbleat patch 1.41.9.8, and its picture and icon read.🤖 Generated with Claude Code