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

bug: dead players that move to spectator cannot have their bodysearch info accessed #1483

Open
1 task
EntranceJew opened this issue Mar 10, 2024 · 0 comments
Open
1 task
Labels
type/bug Something isn't working
Milestone

Comments

@EntranceJew
Copy link
Contributor

EntranceJew commented Mar 10, 2024

Your version of TTT2 (mandatory)

  • Workshop version from Steam

Describe the bug (mandatory)

A player which is moved to spectator cannot have their name clicked and expanded to show their bodysearch details
Even if that info was collected prior to them disconnecting

To reproduce

Steps to reproduce the behavior:

  1. Kill someone
    a. (optional: check their corpse now)
  2. Have that person switch to spectator
  3. Attempt to investigate their corpse

Expected behavior

Info which is available on the corpse remains accessible on the scoreboard regardless of the player's connection status
I expect as much because their death may be the only thing linking activity to a specific killer but that info is diminished if someone ragequits or has to restart their client

Context (please provide as much as you can)

This may have some relationship to the issue

  • todo: put a link to that here

Where the confirmation status of a disconnected player's corpse is not retained, therefore reporting it to the detectives require two clicks (one to re-confirm it in the UI and one to call the detective) -- in addition to not networking that info to any clients because the associated player is disconnected.

A proper solution for this may involve creating a LUT of players for a round (or utilizing something like GAMEMODE.StartingPlayers) when the round begins, because somewhere an IsValid() call is dead-ending something that is ordinarily a rational ask.

@Histalek Histalek added the type/bug Something isn't working label Mar 10, 2024
@Histalek Histalek added this to the v0.13.xb milestone Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants