Conversation
Less clumping early on from mass infections
This is impossible to happen in practice (right now), but it's better to guard the code against this, incase a bug elsewhere in the code allows it to happen, like was the case in b31d782
+ very minor formatting changes
- This fix simply removes all double quotes, meaning they can no longer be used within the 'reason' itself as they will be stripped out
Co-authored-by: xen <xen@momentum-mod.org>
This was missed in my previous testing, due to starting the server with cvar enabled and only disabling it after, which meant the map list was loaded and m_iVoteSize check didn't fail
Valve broke them in the 2025-05-07 CS2 update by introducing a map change crash bug. By extension, this bug also broke our mp_endmatch_votenextmap fix, because that also relied on the games default map selection to choose a map when all vote options were disabled. So I have opted to just remove it rather than keep a broken feature.
This allowed various behaviour bugs
- Change admin config format to .jsonc from .cfg - Auto convert old admins.cfg files to admins.jsonc - Add support for admin groups in admins.jsonc
- GetAdminImmunity returns 0 immunity if cannot find a matching CAdmin, as this is how targetting actually works - SetAdminFlags and SetAdminImmunity return a bool on whether they succeeded or not - SetAdminFlags and SetAdminImmunity will create a new CAdmin if one doesnt exist, rather than returning without doing anything
- Before zr_infect_spawn_time_min and zr_infect_spawn_time_max had to be set in the previous round, while this commit should allow changes while the timer is counting down
- Had possible value ranges mixed
May be used for hiding legs or as a hide replacement
Not only does this actually seem to be a server specific issue, the fix was not working anyways (random timing always triggers it after this)
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
Fixes particle randomly disappearing & size being dependent on client FPS
To avoid conflicting with env_hudhint usage in maps, CS2Fixes will now use this instead of HUD_PRINTCENTER
* Feat: add spawn warning message * Feat: add warning to hud * Remove unneeded variable * Change default value of convar * Adjust formatting --------- Co-authored-by: Vauff <mctehkitti@gmail.com>
Vauff
enabled auto-merge (rebase)
July 17, 2025 21:43
Vauff
disabled auto-merge
July 22, 2025 21:43
Frozen-H2O
force-pushed
the
dev
branch
2 times, most recently
from
July 22, 2025 22:21
ce79a9f to
61bc7a7
Compare
Vauff
enabled auto-merge (rebase)
July 22, 2025 22:50
Frozen-H2O
suggested changes
Jul 23, 2025
Frozen-H2O
approved these changes
Jul 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
player_pingcooldown for active leaderscs2f_leader_enablegame_uimp_endmatch_votenextmapfix, due to a crash introduced by Valve making it non-viableadmins.cfgwill be auto-converted toadmins.jsoncadmins_old.cfgin case something goes wrongmp_weapons_allow_typecount(you probably want to set-1), and grenades followammo_grenade_limit_default, to match buy menu behaviourcs2f_free_armorcvar which mimicsmp_free_armor, due to the game cvar breaking kevlar rebuys in buy menu