space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.59k stars 3.23k forks source link

Visual glitch that makes you seem dead (clientside) #23715

Closed UbaserB closed 6 months ago

UbaserB commented 8 months ago

Description

The icon randomly shows you as "DEAD" sometimes. Tested it, it's only clientside as any methods of analysing through the health analyser or else from other players shows you as normal.

Screenshots

image

Additional context

First experienced this bug on round #43289 on leviathan.

Rainbeon commented 8 months ago

I have been in a Salamander where another player appeared dead to my MediHUD and Health Anakyzer while they were walking around and talking. Health Analyzer showed them as having 300 bloodloss damage (round 43234 I think, Viktor Friese), when I asked them they said they appeared dead as well.

I've also had this happen a decent amount to me and to other people but most of the time it doesnt show on analyzer, seems to happen a lot when Shuttle arrives at CentComm?

themias commented 8 months ago

This has happened to me twice, once as soon as the Round End Summary appeared, and once right before I was chosen as Initial Infected.

themias commented 8 months ago

This might have something to do with shared solutions #23168. (I noticed the 300 bloodloss bug on a medical patient soon after when this was merged.)

Since this happens when there's some burst of lag/calculations (round-end audio, shuttle spawn-in, etc.), this might cause some kind of mispredict when it comes to getting your blood solution to calculate blood levels/bleeding damage.

That would explain why the phantom damage is Bloodloss type, although I'm not quite sure why it gets stuck on 'Dead' status on clientside and subsequent Health Analyzer checks still show the phantom damage...

Heck if I know how to reproduce/fix it, just thought I'd add my two cents.

LordCarve commented 8 months ago

Possibly related to #23901

LordCarve commented 8 months ago

Experienced this today, can confirm still an issue.

I was downed (crit), then healed before death. As I got enough health to stand up my status became dead. Probably not reproducible this way, but maybe it will give someone an idea.

It's actually a very annoying bug and NOT just visual. It's only client-side but that also means all of client-side predictions are broken - you do not see any verbs, and for all interactions your client predicts them as if you were dead (no hands, action blocked, etc.). You actually can interact, but only because your inputs are sent raw to the server, and it interprets the actions correctly. But if this happens you are gimped for the rest of the round (only basic click interactions are available). Better hope your role wasn't important.

MeowVal commented 8 months ago

a temporary fix for this issue is using the command resetallents by writing /resetallents while in a round/shift

MeowVal commented 8 months ago

i have also experienced this happen but while I was in this state I used my health scanner on another person, and they showed up as having 300 asphyxiations and 40 burn, but when I did it again it showed it correctly as only 40 burn. Med HUD still showed incorrectly that the person and I were dead until the health state was modified by healing but healing myself after taking damage did not fix the state, though it did make my health go back to not being dead still unable to actions away from my body like i was dead.

LordCarve commented 8 months ago

300 asphyxiations

I wonder if client is mispredicting breathing (or airloss drugs?). According to the server the character is breathing, but according to client it's not. It would fit the scenario where it happened to me: no breath as crit, as I stood up I should start breathing again, but according to my client I wasn't. Hence alive server-side, but dead client-side.

metalgearsloth commented 8 months ago

Need someone who gets the issue to VV and see where the mispredict is, all the ones I've been sent have only had serverside components.

metalgearsloth commented 8 months ago

In the interest of people just ignoring the bug I made https://github.com/space-wizards/space-station-14/pull/24436 so we can actually get it fixed.

Veritius commented 7 months ago

one round this repeatedly happened when power flickered or maybe power didn't flicker, i just saw it flicker hard to tell

metalgearsloth commented 7 months ago

one round this repeatedly happened when power flickered or maybe power didn't flicker, i just saw it flicker hard to tell

When did this happen? AFAIK we fixed the organ removal mispredict.

UbaserB commented 6 months ago

Haven't seen it anymore so im closing it