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.53k stars 3.13k forks source link

Ninja suit power glitch #28170

Open Sandman3323 opened 3 months ago

Sandman3323 commented 3 months ago

Description

Sometimes when switching power cells in a ninja suit one power cell may get stuck without actually being in the suit leading to the suit running out of power eventually and not being able to swap or charge the suit leading to the ninjas almost assured death.

Reproduction I have done no reproduction testing but the best way to try and reproduce the glitch is to switch power cells. You will know if the glitch works when when you try to recharge with the suit it tells you that power is full when the indicator shows otherwise and it will not allow you to swap another power cell. When attempting to swap another power cell it will go in for a few ticks before being swapped back out and the suit will show no power cell is slotted in.

Screenshots N/A

Additional context N/A

deltanedas commented 3 months ago

sounds like a mispredict that never gets cleaned up, might be fixed in big refactor

TurboTrackerss14 commented 3 months ago

This surely must be a mispredict as we literally changed it so you cannot swap the batteries in ninja suit to enforce them to actually use their glove recharging instead of hoarding batteries.

TurboTrackerss14 commented 3 months ago

https://github.com/space-wizards/space-station-14/pull/15491