zochris / SCPSL-SpectatorDisabler

Prevents players from spectating and rushing to the last survivors once they respawn. Built on the EXILED framework for SCP: Secret Laboratory
Other
2 stars 1 forks source link

SCP-106 Pocket Dimension items appearing in tower #62

Open Wilnath opened 3 months ago

Wilnath commented 3 months ago

What happened?

When SCP-106 kills a player by teleporting them to the pocket dimension, items that get dropped in that dimension gradually get introduced back into the facility by having the items randomly spawn around alive players. This check includes tutorials and therefore items in this dimension can end up in the tutorial tower effectively removing them from play (or causing havoc as a bored tutorial player get their hands on a grenade)

The code in game responsible for this seems to be under Scp106PocketItemManager, where in finding places for items to spawn it searches for anyone with an ifpc role and therefore includes tutorial. A possible fix could be introducing a condition that skips the loop iteration if the player is a tutorial.

image

SCP:SL version

13.4.2

EXILED version

8.8.0

SpectatorDisabler version

3.0.1

Relevant log output

No response