Skip to content

feature: CS2FOW anti-wallhack integration#162

Open
Flegma wants to merge 7 commits into
mainfrom
feature/anti-wallhack
Open

feature: CS2FOW anti-wallhack integration#162
Flegma wants to merge 7 commits into
mainfrom
feature/anti-wallhack

Conversation

@Flegma

@Flegma Flegma commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Integrates the CS2FOW server-side anti-wallhack Metamod plugin (pinned v0.1.1-preview, SHA256-verified).

  • Image installs addons/cs2fow + metamod VDF into /opt/addons; baker toolchain in /opt/cs2fow-tools; repo-owned cfg/cs2fow.cfg
  • setup.sh: AVX guard (fail-open), per-node persistent bakes at DATA_DIR/cs2fow/maps, tools symlinks, cfg copy
  • update.sh: one-time per-node official-map prebake fetch (SHA256-verified, non-fatal on failure)
  • FiveStack plugin: new anti_wallhack match option (default true), applied via cs2fow_enable at setup and go-live, antiWallhackStatus event published per map

Design: docs/plans/2026-07-09-cs2fow-anti-wallhack-design.md (5stack local docs)
Part 1 of 3; merge before the api and web PRs.

Flegma added 7 commits July 9, 2026 12:17
…te exit code

Relocate the shared CS2FOW maps/prebake cache from ${DATA_DIR}/cs2fow to
${BASE_SERVER_DIR}/.cs2fow in setup.sh and update.sh: the serverfiles volume
is the only shared mount guaranteed in both the update job and match pods;
the dot-directory keeps it out of the base-serverfiles symlink glob in
util.sh (which iterates "$source_path"/* and skips dotfiles).

Also:
- Preserve the update.sh exit status (UPDATE_RC) across the appended CS2FOW
  prebake block, so steamcmd failures on the unpinned path are no longer
  masked. Prebake failures do not affect UPDATE_RC.
- Skip the CS2FOW prebake download on non-AVX nodes, matching the existing
  AVX guard used elsewhere in these scripts.
- Collapse two MatchManager.cs statements that fit within 100 columns, to
  match CSharpier defaults and the file's existing style.
- Remove a leftover double blank line in Dockerfile after the CS2FOW
  download RUN block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant