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

Phantom dead players appear on the HUD #151

Open
borzaka opened this issue Feb 25, 2024 · 3 comments
Open

Phantom dead players appear on the HUD #151

borzaka opened this issue Feb 25, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@borzaka
Copy link
Contributor

borzaka commented Feb 25, 2024

Reproduce:

  • Have a match with mp_disconnect_kills_players 0
  • Some players start to disconnect before the game ends (lost cause scenario, where the team can't win and last round)
  • Have another match with different players (and even on a different map) on the same server right after.
  • The early disconnected players from the prev match still appear on the HUD as dead players.

Solutions:

  • Full game server restart after every match.
  • The HUD filter players.

I know about the hide players feature, but these phantom players don't have a steamId, and/or sometimes they just don't use typeable characters.

The status command shows this on the server. Maybe it helps to filter out phantom players from the HUD:

[Client] ---------players--------
[Client]   id     time ping loss      state   rate name
[Client]    0  1:34:20    0    0     active 786432 '[ESM] Attila'
[Client] 65535 [NoChan]    0    0 challenging      0 ''
[Client]  258    13:40    0    0     active 1000000 'strong3r'
[Client] 65535 [NoChan]    0    0 challenging      0 ''
[Client] 65535 [NoChan]    0    0 challenging      0 ''
[Client]    5      BOT    0    0     active      0 'CSTV #1'
[Client]    6    17:15    0    0     active 1000000 'NonS3nS-'
[Client]    7    17:10    0    0     active 786432 '-LANCER'
[Client]    8    17:06    0    0     active 786432 'gabcimanô'
[Client]    9    16:52    0    0     active 786432 'James8K'
[Client]   10    16:47    0    0     active 786432 'FL'
[Client]   11    16:31    0    0     active 1000000 'sc0rchzz'
[Client]   12    16:05    0    0     active 786432 'boo'
[Client]   13    01:55    0    0     active 786432 'xelex..'
[Client]   14    14:10    0    0     active 1000000 'makszi'

Demo file: https://drive.google.com/file/d/1cfOre_NjMoM8v1YYTVWAH-xC-mIz_7w6/view?usp=drive_link

image

image

@drweissbrot drweissbrot added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Feb 27, 2024
drweissbrot added a commit that referenced this issue Mar 2, 2024
@borzaka
Copy link
Contributor Author

borzaka commented Apr 13, 2024

I'am still experiencing this issue. I still have a dead player on the HUD.
I had to hide manually on the config page. The 5th slot was already taken a player in the CT team.

---------players--------
  id     time ping loss      state   rate adr name
65535 [NoChan]    0    0 challenging      0unknown ''

image

@drweissbrot
Copy link
Owner

As always, I need a demo :D

@drweissbrot drweissbrot reopened this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants