Skip to content

Releases: Source2ZE/CS2Fixes

v1.14

24 Jul 02:40

Choose a tag to compare

Changelog

  • Updated flashlight parenting to a more stable method that doesn't shake (#359)
  • Added glow to dropped EntWatch items (#360)
    • Distance can be configured (or outright disabled) with entwatch_glow cvar
  • Added !strip admin command
  • Added !give admin command
  • Added more weapon sounds to !stopsound
  • Increased game team limits when ZR is enabled
  • Fixed off-by-one error in invalid nomination min player check
  • Improved zombie moan randomization
  • Fixed an edge case where saved map cooldowns could be lost
  • Removed player_ping cooldown for active leaders
  • Updated SDK
  • Added removal of active leaders when disabling cs2f_leader_enable
  • Fixed GetReason bug when an argument had double quotes
  • Fixed scroll buttons not working in game_ui
  • Fixed template spawns leaking causing significant performance issues
  • Fixed default map vote always being disabled when our map system was disabled
  • Fixed hitting a crash introduced by Valve when map vote had to be cancelled due to insufficient maps
  • Removed our mp_endmatch_votenextmap fix, due to a crash introduced by Valve making it non-viable
  • Hid disabled maps from showing in !nominate multiple match list
  • Fixed !setnextmap misusing HandlePlayerMapLookup
  • Reworked admin config to JSONC format, with new support for pre-defined groups
    • Refer to admins.jsonc.example for how to make use of the new groups feature
    • After updating, admins.cfg will be auto-converted to admins.jsonc
    • A copy of the original config will be saved as admins_old.cfg in case something goes wrong
  • Exposed admin ranks to MetaMod API (API reference)
  • Allowed for same round changes to infection time cvars
  • Added map display name option that shows in map vote UI
  • Added player colour reset after SetModel input, to prevent zclass/server customization persisting on unintended models
  • Fixed knife knockback regression from knockback refactor
  • Removed unneeded mega-velocity fix
  • Fixed git triggering full rebuilds with new versioning system
  • Reworked ZR purchase restrictions for more flexibility & proper AWS compatibility
    • ⚠️ Weapons now follow mp_weapons_allow_typecount (you probably want to set -1), and grenades follow ammo_grenade_limit_default, to match buy menu behaviour
  • Added cs2f_free_armor cvar which mimics mp_free_armor, due to the game cvar breaking kevlar rebuys in buy menu
  • Reverted to old beacon particle to fix particle randomly disappearing & size being dependent on client FPS
  • Fixed some issues with the workaround for broken animations
  • Added hud system with HTML formatting & priority handling
    • Includes cs2f_fix_hud_flashing cvar, to fix a CS2 bug with the hud flashing, note this isn't compatible with warmup
  • Added classic spawn warning message, toggleable with zr_infect_spawn_warning cvar (#363)

v1.13

10 May 22:05

Choose a tag to compare

Changelog

  • Fixed knockback not working on some weapons in ZR weapons.cfg with knockback refactor (#344)
  • Added new KeyValue inputs (documentation)
    • damage
    • damagetype
    • damageradius
    • Case01-32
  • Fixed Tec-9 weapon definition regression
  • Added R8 Revolver windup sound to !stopsound
  • Fixed regression with !defend duration
  • Fixed movement unlocker toggle regression
  • Removed some old client-only patches
  • Refactored extend logic a bit
  • Fixed c_timeleft not being usable from server console
  • Fixed pending cooldowns lingering when current cooldown was longer
  • Added workaround for broken animations after playermodel change if player was moving
  • Updated game ban fix for 2025-05-07 CS2 update
  • Updated CTakeDamageInfo for 2025-05-08 CS2 update
  • Simplified end of map detection, should also fix a random issue with it we couldn't reproduce

v1.12.1

02 Apr 11:29

Choose a tag to compare

Changelog

  • Updated gamedata for 2025-03-31 CS2 update (#347)
  • Fixed out-of-date buy command weapon prices (#347)

v1.12

26 Mar 23:00

Choose a tag to compare

Changelog

  • Fixed compilation with Metamod 2.0-1323 and later
    • ⚠️ This is now also a minimum server runtime requirement
  • Added always weapon skins, allows usage of equipped T skins as CT (#341)
  • Added custom "Only Strip Same Weapon Type" spawnflag to game_player_equip (documentation) (#341)
  • Fixed enabled not working on some weapons in ZR weapons.cfg (#341)
  • Improved c_who readability by using a dash instead of NONE in for no flags
  • Displayed unauthenticated clients in c_who as such instead of just listing them without flags
  • Split c_listdc output into multiple ClientPrints, since new line characters mess up copying from console
  • Added c_find as an alias for c_help
  • Added an optional argument to c_find/c_help to search through cs2fixes commands
  • Added leader commands to c_help output for active leaders
  • Changed c_info to only display IPs for RCON flag admins
  • Fixed cs2f_leader_max_* cvars to do what they say they do
  • Added cs2f_leader_extra_score cvar to configure score given to leaders
  • Added Put/Patch/Delete HTTP request functions
  • Added optional error callback to HTTP request functions
  • Migrated fake convars to real convars
  • Re-added base support for late loading
  • Fixed grammar in !nomlist when a map only has 1 nomination
  • Added fix for TestActivator null activator crash
  • Fixed possible crash in signature lookup code
  • Added fix for CS2 bans spreading to all new joining players
  • Cleaned up c_who output a bit by properly getting name lengths
  • Fixed chat command argument parsing when player is gagged/flooding

v1.11

20 Feb 20:03
e6c6e05

Choose a tag to compare

Changelog

  • Stopped removing internal flags in convar unlocker
  • Many more map system updates (#339)
    • Fixed not being able to use substrings of default maps defined in maplist config with !map
    • Fixed !map output printing argument substrings instead of full map names
    • Added colour formatting to !map output
    • Added workshop ID support to !setnextmap
    • Added !nextmap command
    • Added an error response to !nominate & !nomlist if a next map is already forced
    • Fixed maps with more nominations not being taken to the map vote
    • Fixed !nominate grammar for nomination count
    • Added errors to !nomlist & !mapcooldowns if they have nothing to display
    • Migrated maplist KeyValues1 config to JSONC for better array support
      • After updating, maplist.cfg will be auto-converted to maplist.jsonc
      • A copy of the original config will be saved as maplist_old.cfg in case something goes wrong
    • Fixed c_reload_map_list crashing if loading map list failed
    • Added nomination status messages for nomination owners when vote starts
    • Fixed case of RTV getting stuck at max votes after a player disconnects
    • Improved current map detection by checking workshop ID as well
    • Added cs2f_vote_max_maps cvar to control total amount of maps in vote
    • Disabled map vote UI if a next map is forced
    • Disabled map vote UI if mp_endmatch_votenextmap is disabled
    • Fixed map vote breaking when not enough maps are available
    • Added min/max clamp to cs2f_vote_max_nominations cvar
    • Switched to time-based cooldowns, more predictable over long periods of time (maps being rtv'd/extended)
      • There will be a one-time reset of saved cooldown states when updating, since maps played/times aren't directly compatible
      • ⚠️ You should adjust the cs2f_vote_maps_cooldown cvar and any custom map cooldowns with time-based cooldowns in mind, else cooldowns will likely last much longer than before
    • Fixed maps not going on cooldown if map change happened outside of a map vote
    • Added cooldown tracking for maps not in maplist config, allowing the cooldown to be used if added later
    • Added group cooldowns, a feature that allows a group of maps to go on cooldown when any are played
    • Re-added !maplist command
    • Fixed edge case where map end could be prematurely detected
  • Fixed ZR crashing if player class config JSON parsing failed
  • Fixed memory safety issues from badly storing several game pointers
  • Added EntWatch (#342)
    • Fully featured item tracking system for ZE maps
    • Requires map configs to be added as configs/entwatch/maps/mapname.jsonc
    • Information is displayed in chat & on player clan tags by default
    • Players can use !hud to cycle on-screen display modes with more detailed item information
    • Admins can !eban players to prevent them from picking items up, !eunban to revert
    • Admins can !etransfer items to players, by player name or item name (using $itemname)
    • !hudcolor r g b [a] to change the hud colour
    • !hudpos x y to change the position of the hud
    • !hudsize x to change the fontsize of the hud

v1.10.4

17 Jan 07:13

Choose a tag to compare

Changelog

  • Added internal disconnect reasons for kicks

v1.10.3

15 Jan 14:18

Choose a tag to compare

Changelog

  • Updated SDK to fix kicks crashing after the 2025-01-14 CS2 update
  • Ensured player_death event always fires on player infection (#333)

v1.10.2

01 Jan 20:21

Choose a tag to compare

Changelog

  • Updated SDK for fixes after the 2024-12-19 CS2 update

v1.10.1

21 Dec 13:19

Choose a tag to compare

v1.10.1 Pre-release
Pre-release

Due to incomplete SDK updates, this is a stopgap release for the 2024-12-19 CS2 update. Flashlight, ZR overlays, and many leader features had to be temporarily disabled.

Recommended to run cs2f_flashlight_enable 0 & cs2f_leader_enable 0 with this, but it won't crash if you don't.

v1.10

16 Dec 06:53

Choose a tag to compare

Changelog

  • Added shuffling of player physics simulation order with cs2f_shuffle_player_physics_sim cvar (#318)
  • Lots of map system updates (#327)
    • Added custom cooldowns to maps
    • Added cooldown saving across server restarts/crashes
    • Cooldowns are now triggered by map end
    • Fixed first map not going on cooldown
    • Added minimum and maximum player requirements to maps
    • Added more details to unavailable maps in !nominate list
    • Fixed nomination resetting not working
    • Added changing map by ID with !map if admin already has console access, this still can't be fully allowed due to bad ID's triggering workshop download game crashes
    • Stopped displaying disabled maps in !nominate list
    • Fixed !setnextmap permanently breaking map votes
    • Added better feedback/behaviour to !setnextmap
    • Fixed RTV's not working for a bit when quickly enabled manually at map start
    • Added more detailed error messages to !nominate
    • Added multiple maps warning to !nominate, to fix discoverability of some maps with shared queries (e.g. "fapescape")
    • Fixed another injection possibility in !map
  • Added ButtonWatch with !bw command and cs2f_enable_button_watch cvar (#263)
    • Due to a missing solution for plugin detour conflicts, and CounterStrikeSharp detouring FireOutputInternal out of the box, this feature is not compatible with CS#
  • Added a custom knockback multiplier to zombie classes (#232)
  • Added knockback multipliers for hitgroups (#232)
    • Comes with a new configs/zr/hitgroups.cfg.example file that needs renaming to use
  • Silenced string conversion warnings in cases where non-numeric input is also expected
  • Fixed bugged active weapon if a grenade was thrown right before infection
  • Fixed knife skin not always matching loadout if different knives were equipped for each team
  • Fixed revived humans not having armour, obeys mp_free_armor
  • Added re-strip on revives, prevents ZM items lingering
  • Fixed zombie regen clamping health values above max health (fixes paramina ZM item HP, still recommended to set max_health to enable higher regen)
  • Stopped transmitting flashlights in spec, this was causing random rare "missing client entity" client crashes since some CS2 update
  • Added possible workaround for CS2 randomly spawning players with mega-velocity
  • Fixed a crash with @aim targeting
  • Updated extend tracking, so total extend count is now shown in !extendsleft
  • Removed !addextend, since it's redundant with !adminve existing (or adjusting cs2f_extends)