Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added updating more game info to the player who started recording the demo #881

Merged
merged 1 commit into from Nov 8, 2023

Conversation

s1lentq
Copy link
Owner

@s1lentq s1lentq commented Oct 23, 2023

This issue pertains to an inaccurate display of player info when playback recorded demo file.
During demo playback, essential data such as player team, frags, deaths, and related info are missing when the demo is initially started.
Consequently, all players are displayed on the scoreboard as "SPECTATOR" with 0 frags and 0 deaths etc and until when new in-game events occur, but it takes time.

The proposed fix involves enhancing the CBasePlayer::ForceClientDllUpdate function
Including updating more data related to:

  • TeamInfo player team
  • ScoreInfo frags and deaths info
  • Radar player positions on the radar
  • ScoreAttrib player attributes (e.g., DEAD, BOMB, VIP)
  • Location player locations

@s1lentq s1lentq merged commit c87761e into master Nov 8, 2023
4 checks passed
@s1lentq s1lentq deleted the demo-fullupdate branch November 26, 2023 04:28
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.

None yet

1 participant