yogstation13 / yogstation-classic

Yogstation13's classic code source.
http://www.yogstation.net
GNU Affero General Public License v3.0
11 stars 37 forks source link

Locker locked while closing without correct ID? #1237

Closed 00aquir closed 6 years ago

00aquir commented 8 years ago

Around server time 2016-05-28 21:30 I wanted to hide in a security locker (I had normal atmos ID in PDA and a named "captain ID" in the backpack box), I closed the locker on me with bare hands and it was also "red-light" locked. An admin had to get me out... no IDs I had worked on it.

Maybe the locker was alt+clicked when it was open? an open-locked locker which closes in a locked state?

Cruix commented 8 years ago

It is possible that the locker was EMPed while it was open. This has a chance of locking it, and there is no way to check without closing the locker.

00aquir commented 8 years ago

Hm. I say because of this (gameplay standpoint) that the locker should only close in the "open" state since nobody can see even with examination that it's "locked".. while open... yeah.

OurDreadFather commented 8 years ago

Theres also a bug where you can open a container like a backpack, then put it in an ID locked locker, lock the locker, then put the ID in the bag you have open, which is inside the locked locker. So you can lock your ID in a locker you just locked with your ID. Its highly inconvenient.

Cruix commented 8 years ago

Its almost like the thing where you could put smuggler's satchels inside themselves.

X-TheDark commented 8 years ago

Or access the contents of a box inside your backpack without having to open your backpack each time.

Cruix commented 8 years ago

That is specifically intended, there is a comment about it in inventorycode. https://github.com/yogstation13/yogstation/blob/6615b797373685febfdb546993e6f30378a238c1/code/_onclick/click.dm#L108