How slynxcz/gamefixes_mm works
GameFixes_mm is a Metamod:Source plugin that applies independently configurable fixes to a CS2 server. An administrator enables fix blocks in game_fixes.ini; the plugin loads each enabled fix, then forwards shared server lifecycle, frame, and event-manager callbacks to them. Individual fixes hook or adjust engine behavior across crashes, session/player handling, and movement. The scheduler supports timed work, and SDK wrappers expose engine state. Fix-to-engine details are drawn from the README where implementation excerpts were unavailable.
Main entry points: plugin.cpp Plugin lifecycle · server_list_players.cpp Server-list players · scheduler.cpp Timer scheduler · rampbug.cpp Rampbug fix
Components 19
Plugin runtime
- Plugin lifecycle
src/plugin.cpp - Fix interface
src/fixes/fix.h
Engine stability
- Beam crash fix
src/fixes/beam_crash.cpp - Hammer ID fix
src/fixes/hammer_id.cpp - Activator crash fix
src/fixes/input_activator_crash.cpp
Movement fixes
- Rampbug fix
src/fixes/rampbug.cpp - Water jump fix
src/fixes/water_jump.cpp
Session and players
- Slow animation fix
src/fixes/slow_animation.cpp - Demo recording fix
src/fixes/demo_record.cpp - GC ban whitelist
src/fixes/steam_ban.cpp - Team limit fix
src/fixes/team_limit.cpp - Noclip reset
src/fixes/sv_cheats.cpp - Workshop voice fix
src/fixes/workshop_voice.cpp - Server-list players
src/fixes/server_list_players.cpp
Runtime support
- Timer scheduler
src/scheduler.cpp - Player SDK access
src/sdk/CBasePlayerController.h - Movement SDK access
src/sdk/CCSPlayer_MovementServices.h - Server client access
src/sdk/CServerSideClient.h
Other components
- Server administrator
Connections 21
- Server administrator → Plugin lifecycle: configures
README.md - Plugin lifecycle → Fix interface: instantiates
src/plugin.cpp - Plugin lifecycle → Beam crash fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Hammer ID fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Activator crash fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Rampbug fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Water jump fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Slow animation fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Demo recording fix: loads enabled
src/plugin.cpp - Plugin lifecycle → GC ban whitelist: loads enabled
src/plugin.cpp - Plugin lifecycle → Team limit fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Noclip reset: loads enabled
src/plugin.cpp - Plugin lifecycle → Workshop voice fix: loads enabled
src/plugin.cpp - Plugin lifecycle → Server-list players: loads enabled
src/plugin.cpp - Plugin lifecycle → Timer scheduler: ticks
src/plugin.cpp - Slow animation fix → Timer scheduler: schedules checks
src/fixes/slow_animation.cpp - Server-list players → Timer scheduler: schedules updates
src/fixes/server_list_players.cpp - Rampbug fix → Movement SDK access: reads movement state
src/fixes/rampbug.cpp - Water jump fix → Movement SDK access: hooks movement
README.md - Server-list players → Player SDK access: reads player data
src/fixes/server_list_players.cpp - Workshop voice fix → Server client access: rewrites voice messages
README.md