Skip to content

Releases: Source2ZE/CS2Fixes

v1.8.2

08 May 00:18
Compare
Choose a tag to compare

Changelog

  • Added new vprof to various recurring functions, usable with vprof_on/off then vprof_generate_report when done, can also do vprof_generate_report_budget CS2FixesPerFrame/ConCommands. These 2 budget groups (CS2FixesPerFrame/ConCommands) can also appear when the server warns of long frames (as part of VProfLite)
  • Player speed mod will reset upon spawning to match CS:GO behavior
  • The plugin will create the data directory for infractions if it doesn't exist already
  • ZR: Overhauled player classes to use a new JSON format (for more details see #223)
  • ZR: Fix double round restart bug that occurs when a CT-filtered nuke is enabled after the round is over, most notably seen in ze_mirrors_edge_reborn_p
  • ZR: Rework zombie moan so it doesn't pile up when zombies die

v1.8.1

02 May 02:39
Compare
Choose a tag to compare

Changelog

  • Fixes for the 2024-04-30 & 2024-05-01 CS2 updates
  • Fixed a crash from steam auth when there are bots
  • Fixed ApplyGameSettings crash on listen servers
  • Fixed game_player_equip regression with the TriggerForActivatedPlayer input
  • Reworked entity strings fix to prevent breaking cubemap fog in maps
  • [ZR] Added screen shake on infection
  • Added the following "cvars":
cs2f_purge_entity_strings		0		// Whether to purge the EntityNames stringtable on new rounds

// Zombie:Reborn settings
zr_infect_shake					1		// Whether to shake a player's view on infect
zr_infect_shake_amp				15.0	// Amplitude of shaking effect
zr_infect_shake_frequency		2.0		// Frequency of shaking effect
zr_infect_shake_duration		5.0		// Duration of shaking effect

v1.8

29 Apr 02:58
9d00b56
Compare
Choose a tag to compare

Changelog

General

  • Fixed strip flag on the game_player_equip entity (#212)
  • Re-implemented the game_ui entity (#216)
  • Fixed friendly fire counting towards the top defender hit counter (#219)
  • Added Leader (#202)
  • Added !unban command (#221)
  • Fixes for the 2024-04-25 CS2 update (#224)
  • Removed lag compensation crash fix, due to Valve fixing the issue
  • Overhauled the map system (#225)
    • maplist.cfg is now the authoritative source for the server map list, and will override the collection passed into host_workshop_collection
    • Fixed many various issues that could cause the map system to misbehave
    • Added support for default maps
  • Added the following "cvars":
cs2f_delay_auth_fail_kick		0		// How long in seconds to delay kicking players when their Steam authentication fails, use with sv_steamauth_enforce 0

// Leader settings
cs2f_leader_enable              0       // Whether to enable Leader features
cs2f_leader_vote_ratio          0.15	// Vote ratio needed for player to become a leader
cs2f_leader_actions_ct_only     1       // Whether to allow leader actions (like !beacon) only from human team
cs2f_leader_mute_ping_no_leader 1       // Whether to mute player pings whenever there's no leader
cs2f_leader_model_path          ""      // Path to player model to be used for leaders

Zombie:Reborn

  • Switched to using selfillum field for win overlay particle lifetime (#214)
  • Fixed crash when the victim controller is gone (#215)
  • Fixed zombies passing human filters for a short period when spawning, notably fixes teleport issues (#218)

v1.7.1

08 Apr 11:42
Compare
Choose a tag to compare

Changelog

NOTE: All chat commands are now behind cs2f_commands_enable, so be sure to enable it if you want to use chat commands.

General

  • Removed logging detours.
  • Added a detour to disable subtick movement (it affected pushes).
  • Added a cvar to log all pushes (spammy!) cs2f_log_pushes, meant for testing mega-pushes.
  • Patch func_physbox to pass itself as the caller when used.
  • Override the IgniteLifetime input on players with a custom implementation.
  • Fixed weapon commands not working from console.
  • Added cvars to toggle all chat commands or admin commands, this strictly applies to the c_* commands.
  • Removed the vscript patch, we're no longer supporting it to discourage maps from using it.
  • Fixed !goto/!ban chat echoes for no matching targets.
  • Time unit parsing for durations; no units provided means minutes like before (ie. !mute Ice 1440 == !mute Ice 1d)
    • h = hour
    • d = day
    • w = week
    • m = month
  • Timed admin actions will print using the highest unit of time (i.e. instead of "Ice muted Ice for 60 minutes", echo "Ice muted Ice for 1 hour")
  • c_help output is now sorted alphabetically.
    Added the following admin commands:
c_pm <name> <message> - Private message a player. This will also show to all online admins (meant for responding to adminchat messages)
c_who - List the flags of all online players into console
c_status <name> - Checks a player's active punishments. Non-admins may only check their own punishments

Added the following KeyValue handlers:

absvelocity <x y z> // Absolute velocity of an entity
gravity x // Scale entity gravity
timescale x // Changes simulation timescale of some entities like func_movelinear
friction x // Scale entity friction
speed x // Scales player movement timescale using the same method as player_speedmod, but clients will not predict
runspeed x // Scales player running speed on the ground, clients will predict but if set <1 it will slowly revert back to 1

Added ConVars:

cs2f_commands_enable			0		// Whether to enable chat commands
cs2f_admin_commands_enable		0		// Whether to enable admin chat commands
cs2f_disable_subtick_move		0		// Whether to disable subtick movement

// Custom burn settings
cs2f_burn_particle				"particles/burning_fx/burning_character_b.vpcf"		// The particle to use for burning entities
cs2f_burn_damage				1.0		// The amount of each burn damage tick
cs2f_burn_slowdown				0.6		// The slowdown of each burn damage tick as a multiplier of base speed
cs2f_burn_interval				0.3		// The interval between burn damage ticks

Zombie:Reborn

  • Added zombie sounds.
  • Added napalm grenades.
  • Prevent all damage on spawned zombies until they're infected (0.05s later).
  • Swap spawntime cvars if they were set backwards (min > max).

Added ConVars:

zr_sounds_groan_chance			5		// How likely should a zombie groan whenever they take damage (1 / N)
zr_sounds_moan_interval			30		// How often in seconds should zombies moan

zr_napalm_enable				1		// Whether to use napalm grenades
zr_napalm_burn_duration			5.0		// How long in seconds should zombies burn from napalm grenades
zr_napalm_full_damage			50.0	// The amount of damage needed to apply full burn duration for napalm grenades (max grenade damage is 99)

v1.6

14 Mar 14:06
Compare
Choose a tag to compare

Changelog

  • Removed unused signature that broke in 2024-03-14 CS2 update (#201)
  • Added an EntityNames stringtable blocker, to fix possible "CUtlRBTree overflow" crashes (#197)
  • Removed dual addon mounting, functionality has been moved to MultiAddonManager
  • Fixed inconsistent flashlight sound volume
  • Added the following "cvars":
cs2f_block_entity_strings		0		// Whether to block adding entries in the EntityNames stringtable

// Flashlight settings
cs2f_flashlight_transmit_others	0		// Whether to transmit other players' flashlights, recommended to have shadows disabled with this
cs2f_flashlight_brightness		1.0		// How bright should flashlights be
cs2f_flashlight_color			"255 255 255"	// What color to use for flashlights

v1.5.1

29 Feb 10:50
Compare
Choose a tag to compare

Changelog

  • Updated gamedata for 2024-02-28 CS2 update (#198)
  • [ZR] Added win overlays (#196)

v1.5

21 Feb 15:05
Compare
Choose a tag to compare

Changelog

  • Added dual addon mounting (#188)
    Severs can use this to ship a separate content addon to players (for server-specific player models, sounds, particles, etc)
    This comes with 2 cvars:
cs2f_extra_addon         ""    // The workshop ID of an extra addon to mount and send to clients
cs2f_extra_addon_timeout 10    // How long in seconds until clients are timed out in between connects for the extra addon, requires cs2f_extra_addon to be used
  • Added the KeyValues custom input to all entities (#192)
    This behaves exactly like AddOutput did in source1 and can be used when porting maps that rely heavily on it.
  • Fixed an occasional crash with blast damage.
  • Fixed pushes with prop_physics (#191)
  • [ZR] Fixed items being stripped when the holder is infected.
  • [ZR] Fixed !ztele/mother zombie teleport randomly breaking on some maps (#194)

v1.4.1

13 Feb 04:02
Compare
Choose a tag to compare

Changelog

  • Updated signatures for 2024-02-12 CS2 update (#187)

v1.4

11 Feb 19:49
Compare
Choose a tag to compare

Changelog

  • Added user preferences system, currently has a REST backend (#152)
  • Added !help command (#175)
  • Added fix for lag compensation crash with env_entity_maker (#174)
  • Fixed breakage from recent CS2 updates (#182)
  • Fixed RTV/extend votes being available when they shouldn't have been (#183)
  • Fixed timers breaking after 73 hours of uptime
  • Added flashlight
  • Removed cheat flag from some bot cvars
  • Added @spec targeting
  • Added admin !beacon command
  • Fixed infinite reserve ammo breaking grenades in some configs
  • Moved infinite reserve ammo into the main plugin, no longer ZR-specific
  • [ZR] Added !zclass command (#152)
  • [ZR] Added disabling of automatic respawn
  • [ZR] Removed vertical knockback from molotovs
  • [ZR] Added !infect and !revive commands
  • Added the following "cvars":
cs2f_fix_lag_comp_crash			0		// Whether to fix lag compensation crash with env_entity_maker
cs2f_flashlight_enable			0		// Whether to enable flashlights
cs2f_admin_beacon_particle		"particles/testsystems/test_cross_product.vpcf" // Particle file to be used for admin beacon
cs2f_infinite_reserve_ammo		0		// Whether to enable infinite reserve ammo on weapons

// Flashlight settings
cs2f_flashlight_shadows			1		// Whether to enable flashlight shadows
cs2f_flashlight_distance		54		// How far flashlights should be from the player's head (the default is such that an equipped awp doesn't block the light if shadows are enabled)
cs2f_flashlight_attachment		axis_of_intent	// Which attachment to parent a flashlight to

// User preferences settings
cs2f_user_prefs_api				""		// User Preferences REST API endpoint

v1.3

13 Jan 20:36
Compare
Choose a tag to compare

Changelog

  • Fixed several SteamID authentication issues (#138)
  • Added a map vote system (#136)
  • Added a gamesystem implementation, and used it for precaching (#144)
  • Fixed a crash when targeting a disconnected client (#158)
  • Add console chat timers (#153)
  • Fixed server lag when the server is full on a map with nav (#159)
  • Added Zombie:Reborn (#154)
  • Added a patch to allow spawning a bot without a nav mesh present (#160)
  • Added the following "cvars":
cs2f_trigger_timer_enable		0		// Whether to process countdown messages said by Console (e.g. Hold for 10 seconds) and append the round time where the countdown resolves
cs2f_block_nav_lookup			0		// Whether to block navigation mesh lookup, improves server performance but breaks bot navigation
cs2f_vote_maps_cooldown			10		// Number of maps to wait until a map can be voted / nominated again i.e. cooldown.
cs2f_vote_max_nominations		10		// Number of nominations to include per vote, out of a maximum of 10.

// Zombie:Reborn settings
zr_enable						0		// Whether to enable ZR features
zr_knockback_scale				5.0		// Global knockback scale
zr_infect_spawn_type			1		// Type of Mother Zombies Spawn [0 = MZ spawn where they stand, 1 = MZ get teleported back to spawn on being picked]
zr_infect_spawn_time_min		15		// Minimum time in which Mother Zombies should be picked, after round start
zr_infect_spawn_time_max		15		// Maximum time in which Mother Zombies should be picked, after round start
zr_infect_spawn_mz_ratio			7		// Ratio of all Players to Mother Zombies to be spawned at round start
zr_infect_spawn_mz_min_count	1		// Minimum amount of Mother Zombies to be spawned at round start
zr_respawn_delay				5.0		// Time before a zombie is respawned
zr_default_winner_team			1		// Which team wins when time ran out [1 = Draw, 2 = Zombies, 3 = Humans]
zr_infinite_ammo				1		// Whether to enable infinite reserve ammo on weapons
zr_mz_immunity_reduction		20		// How much mz immunity to reduce for each player per round (0-100)
zr_ztele_max_distance 			150.0	// Maximum distance players are allowed to move after starting ztele
zr_ztele_allow_humans 			0		// Whether to allow humans to use ztele