Skip to content

Misc dev + CS2 update fixes - #471

Merged
Vauff merged 14 commits into
mainfrom
dev
Oct 25, 2026
Merged

Vauff merged 14 commits into
mainfrom
dev

Conversation

@Vauff

@Vauff Vauff commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Breaking changes: The custom server.cfg was removed, and CS2Fixes now loads its .cfg files from csgo/addons/cs2fixes/cfg instead of csgo/cfg/cs2fixes

  • Fixed/replaced game_player_equip TriggerFor input hooks
    • We were hooking the wrong function post 2026-09-22 CS2 update, but we didn't need to rely on signatures anyways
  • Removed default hud disconnect callback
    • Game now automatically cleans up player states on player connect (which is close enough)
  • Updated gamedata for 2026-10-14 & 2026-10-22 CS2 updates
  • Updated SDK for lots of new RE & for 2026-10-22 CS2 update compatibility
  • Synced build scripts with upstream s2_sample_mm changes
  • Cleaned up stale includes
  • Fixed MSVC min/max defines breaking stuff
  • Resolved some suppressed warnings
  • Fixed score changes not being networked
  • Fixed some loop errors in panorama votes
  • Reworked ConVar whitelist system & custom cfg setup for 2026-10-14 CS2 update compatibility
    • IsCommandWhitelisted got inlined in the update, so this is a new approach where we modify the games whitelist table instead
    • Valve also fixed server cfg's not properly bypassing the ConVar whitelist, so the custom server.cfg is no longer necessary and was removed
    • Valve's cfg fix involved trusting all cfg's in the server filesystem. To avoid maps abusing this behaviour with our own cfg's, we need to move all our custom cfg's out of csgo/cfg, so the exec command can't access them
    • The custom cfg parser is still needed for skipping the command buffer, to process map migration cvar changes immediately
  • Fixed game_player_equip crashing with item_* entries after the 2026-10-22 CS2 update
  • Relaxed AI guidelines a bit

AI disclosure: Substantially used for the SDK updates, whitelist system rework & game_player_equip crash fix, assisted humans with other findings

Vauff and others added 7 commits October 10, 2026 01:53
We were hooking the wrong function post 2026-09-22 CS2 update, but we don't need to rely on signatures anyways

Co-authored-by: tilgep <tilgep95@gmail.com>
Game now automatically cleans up player states on player connect (which is close enough)
* test sdk update

* full pass

* Clean up stale includes

* fix msvc min/max bullshit for good

* Update build scripts

* Resolve some suppressed warnings

* finish WIP fix

* Remove unused offset

* Switch to new range-based for loops on SDK containers

* woke is dead

* Match new variant_t behaviour more closely
@Vauff
Vauff marked this pull request as draft October 16, 2026 04:37
Vauff added 5 commits October 22, 2026 23:59
Valve fixed server cfg's not properly bypassing the ConVar whitelist, so the custom server.cfg is no longer necessary.

However, this fix involved trusting *all* cfg's in the server filesystem. To avoid maps abusing this behaviour with our own cfg's, we need to move all our custom cfg's out of csgo/cfg, so the exec command can't access them.

The custom cfg parser is still needed for skipping the command buffer, to process map migration cvar changes immediately.
@Vauff Vauff changed the title Misc dev + 2026-10-14 CS2 update fixes Misc dev + CS2 update fixes Oct 24, 2026
@Vauff
Vauff marked this pull request as ready for review October 24, 2026 15:21
@Vauff
Vauff merged commit 687f51a into main Oct 25, 2026
8 checks passed
@Vauff
Vauff deleted the dev branch October 25, 2026 04:02
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.

2 participants