OpenJK icon indicating copy to clipboard operation
OpenJK copied to clipboard

Player becomes permanently invisible after vehicle is crushed

Open deathsythe47 opened this issue 8 years ago • 3 comments

Operating system and version:

Tested on a Windows 10 server running OpenJK dedicated server and OpenJK gamecode.

Is this for single player or multiplayer?

Multiplayer

Description of the bug (and if possible, steps to reproduce the bug):

If a vehicle with the hiderider flag (one where you can't see the pilot, such as atst_vehicle) gets killed by a crusher door, the pilot player permanently becomes invisible, persisting across deaths and respawns. The player is also inaudible; no sounds can be heard except for force jump woosh noise. Also, it is worth nothing that the vehicle doesn't explode; it just instantly gets removed from the game.

Video of the bug: [link to video]

Steps to reproduce:

  • Go to a map with a crusher door/lift (I used mp/siege_desert in the video above)
  • Spawn an ATST under the lift and get in
  • Call the lift down so that it crushes the ATST
  • Observe that the ATST does not explode; it just gets removed instantly.
  • You are now permanently invisible (and inaudible except for force jump woosh noise).

What did you expect to happen instead?

The vehicle should just die normally (catch on fire and die after a brief delay). And obviously, the player should not become invisible/inaudible.

I tried some clientside debugging and found that the CG_Player function is never called on the invisible player, so it seems clients no longer receive the invisible player at all. Btw, I have tried clearing the player's serverside eFlags, m_pVehicle, and owner, but to no avail.

deathsythe47 avatar Jun 01 '16 14:06 deathsythe47

Likely the player might be ET_INVISIBLE but I'm wondering if this is related to the old bugfixes about fixing ghosted players or lift fixes, I'm not sure yet. I'll take a look later. Anyone else is welcome to as well.

ensiform avatar Jun 01 '16 15:06 ensiform

This is a basejka bug, IIRC.

Razish avatar Jun 01 '16 21:06 Razish

Has this been tested on a server running OpenJK's jampgame mod variant? I was able to reproduce if the player has godmode but respawning in siege resumes visibility.

ensiform avatar Oct 11 '16 05:10 ensiform