Add music kit StatTrak support#105
Open
GT-610 wants to merge 2 commits into
Open
Conversation
* Enable StatTrak music kit MVP counting * Update music kit MVP tracking and logging
Author
* Inject music kit MVP count into round_mvp events * Add cross-platform module factory lookup * Sync music kit MVP state for server round_mvp events * Avoid redundant music kit state syncs
Author
|
Cleaned up the code. Now ready for merge. |
|
Wowie, good work. |
programmer1o1
added a commit
to programmer1o1/cs2_gc
that referenced
this pull request
Jun 14, 2026
Tracks round_mvp events locally and increments the equipped StatTrak music kit's kill counter. Syncs music kit state to the game server so other players can see the current MVP count. Co-authored-by: GT-610 <GT610@users.noreply.github.com> Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
programmer1o1
added a commit
to programmer1o1/cs2_gc
that referenced
this pull request
Jun 14, 2026
Tracks round_mvp events locally and increments the equipped StatTrak music kit's kill counter. Syncs music kit state to the game server so other players can see the current MVP count.
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.

Enable StatTrak music kit MVP counting
Update music kit MVP tracking and logging
By default StatTrak music kit only works in official DS, but now it is impossible anyway. Two features have been implemented for the StatTrak music kit in this PR:
First, the client listens for the
round_mvpevent and increments the count whenever a local player is awarded MVP.Second, the inventory system identifies the currently equipped StatTrak music kit and increments the
kill eatervalue by 1.StatTrak now counts in all matches, including bots, P2P matches and SRCDS matches, with GC patched.
HUD display is yet to be implemented, as this is related to Panorama. I'm still investigating into this.