Bug Closed · Resolved

[Bug Report] Players are trapped in a dungeon after death + Dungeons are no longer recognized

#3233 opened by Unknown 4 years ago

Unknownreported this bug

When players die in a dungeon set to no respawns/spectating, they respawn back in the dungeon and are trapped. It seems that the world never gets unloaded, and MythicDungeons forgets that it is a dungeon world. They cannot use any commands, and /md leave states that you are not in a dungeon. It also seems like this only applies on deaths - if a player successfully completes the dungeon, expected behavior is seen.

Expected Behavior: The player should respawn back into the location and world they first ran /md play at. The dungeon instance should be cleaned and removed.

Video: https://www.youtube.com/watch?v=VZLnGbDU5yU In the first part of the video you can see the issue. In the second part, you can see that I killed the mob and it successfully teleported me out and the world was unloaded (expected behavior).

Here's the map files for the dungeon in the video: https://drive.google.com/file/d/1sYsS65wjU5CKqn6lBEvAg3o-B4V_BRE3/view?usp=sharing

MythicDungeons 1.0.2 Purpur 1.19-1669

ADDITION: Dying at least once in a dungeon with multiple lives causes anything - loot chests, triggers, /md leave - to not work at all. If there's a party in the dungeon, only the players who have died once are affected - the dungeon works fine for anyone else who has not died yet. I assume this is also related to this issue, due to MythicDungeons failing to recognize the dungeon after a death?

Unknowncommented

Thanks for the very thorough bug report! Surprised this issue wasn't found earlier, actually... but it should be fixed now as of the latest dev build! There were some issues relating to dead players spectating and the associated config option.

In short, if "DeadPlayerSpectate" was set to false, it would unregister the player from the dungeon regardless of their lives count, hence why the player could no longer interact with anything in the dungeon or use /leave.

Sign in to join the discussion.