Skip to content

Conversation

@CS2ModServer
Copy link
Owner

No description provided.

Kxnrl and others added 30 commits March 9, 2025 15:37
…ce2ZE#341)

* feat: always weapon skins

* feat: ``SF_PLAYEREQUIP_ONLYSTRIPSAME`` for ``game_player_equip``

* type 😅

* attempt to fix Source2ZE#189

* pre merge

* refactor: weapon commands

* Fix duplicate unhook

* Some fixes

Still unable to make GetPawn() work through CCSPlayer_ItemServices for some strange reason

* Move virtual functions to CPlayerPawnComponent

* Fix weapon purchases through AWS not getting selected

* null check

* Fix issues with weapon vectors being modified during iteration

* Implement missed ONLYSTRIPSAME check in TriggerForActivatedPlayer

---------

Co-authored-by: Vauff <mctehkitti@gmail.com>
Co-authored-by: xen <xen@momentum-mod.org>
- Improve readability by using a dash instead of NONE in c_who for no flags
- Display 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
- Make leader commands show up for active leaders in c_help
- Hopefully fix cs2f_leader_max_* cvars do what they say they do
- Add cvar for score given to leaders instead of just setting it
Since a DELETE macro is already defined in the windows build environment, it can't be used.
Instead, change naming format to only capitalize the first letter to keep the 5 function names consistent with each other.
Still need to migrate all the fake cvars, of which there's A LOT
- Add a null warning comment to g_pGameRules as well
- Fix grammar in !nomlist when a map only has 1 nomination
Ported from CSSFixes/CSGOFixes, recently appeared in mako_v6.

This bug is now in 3 Counter-Strike games across 2 different engines!
m_size bounds were only checked once and could be exceeded
Properly get name lengths for names with unicode characters.
Unfortunately some unicode characters (Chinese) aren't monospaced, so even with correct length they wont line up cleanly
Frozen-H2O and others added 23 commits March 26, 2025 18:43
Moving away from the mp_weapons_allow_* cvars requires a lot more work, so these workarounds need to stay in place for now
These have actually been out of date for a while
* refactor knoback system

* adjust something

* Fix weapon lookup

---------

Co-authored-by: Vauff <mctehkitti@gmail.com>
- 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.
WARNING: Still mostly to fix plugin startup, cs2f_fix_game_bans is still untested and likely borked
# Conflicts:
#	CS2Fixes.vcxproj.filters
#	gamedata/cs2fixes.games.txt
#	src/cs2_sdk/entity/services.h
#	src/cs2fixes.cpp
#	src/events.cpp
@CS2ModServer CS2ModServer merged commit 7021f01 into main Oct 12, 2025
0 of 4 checks passed
@CS2ModServer CS2ModServer deleted the dev branch October 12, 2025 06:52
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.

8 participants