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.71k stars 3.43k forks source link

Getting stuck between a disposal unit and a wall, lag from alt-tabbing #4086

Closed Swirl-droid closed 3 years ago

Swirl-droid commented 3 years ago

Description Currently it is possible to get stuck between a garbage chute and a wall. In this state, alt-tabbing causes the client to lag severely. To perform:

  1. Enter the chute by click-dragging yourself onto it.
  2. Exit the chute towards the wall using WASD.
  3. Press Alt+tab.

Screenshots SS14 chute glitch

Additional info Ver. 0.1

esguard commented 3 years ago

I can't reproduce the lag on local but I managed to get stuck between the wall and disposal unit with no way to get out. Climbing in the disposal and getting out ejects me against the wall again.

metalgearsloth commented 3 years ago

Fix is to keep track of the entity when it exits somewhere and use PreventCollideEvent, then when the collision ends remove it from the list (similar to what tables do).

The old (broken) functionality for this was removed in a recent PR I did.

metalgearsloth commented 3 years ago

Disposals part fixed, lag sounds completely unrelated.