Skip to content

Conversation

@CS2ModServer
Copy link
Owner

October catch-up 2025

Vauff and others added 30 commits May 10, 2025 17:54
- Make c_extend print an client-only error for 0 minutes
- Move logic for counting vote extends used into CVoteManager::ExtendMap, so external uses outside of CVoteManager have the option of modifying m_iExtends. There are no current uses in repository of this, but is meant for private use of forcing an extend vote to pass during map tests and might as well be in the public repo.
- Make CVoteManager::ExtendMap taking negative iMinutes always directly subtract from mp_timelimit regardless of bAllowExtraTime (since it never adds 'extra' time, so logically shouldn't apply here). Realistically this has no impact, as before and after cases of this happening both still result in no time left even if mp_timeleft values differ.
This should also resolve an undiagnosed bug that I couldn't recreate, where many random server setups would have map end detected while the current map was still ongoing
* Change flashlight parenting

Use the created viewmodel for better stability and range of motion.

* Add a cvar
* Add item weapon glow on drop

- Cvar `entwatch_glow` to toggle
- glowrange of 1000 so items far away aren't visible

* Adjust colours

* Change cvar from toggle to a distance

* Add team-only glow cvar + no glow on empty items

- might need to add a cvar for setting if a handler is rechargeable for better 'empty' detection

* Fix missing glow colour initialisation

* Glow the weapon model

- Remove glowing prop
ngl feels like it could break at any moment but has worked in testing

* Remove random alpha

Works without it :)

* Fix unsafe timer args

---------

Co-authored-by: Alex <mctehkitti@gmail.com>
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
- This fix simply removes all double quotes, meaning they can no longer be used within the 'reason' itself as they will be stripped out
@CS2ModServer CS2ModServer self-assigned this Oct 12, 2025
@CS2ModServer CS2ModServer changed the base branch from main to dev October 12, 2025 07:15
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.