Bug Closed · Resolved

[Bug] Players spawn in the overworld at the coordinates they used to occupy in the dungeon if the server reboots while a player is logged out in a dungeon.

#3301 opened by Unknown 4 years ago

Unknownreported this bug

Greetings, I do not have a reliable way to reproduce this issue at this time, however some of my players occasionally disconnect while in a dungeon, and when they log back in, they respawn in the overworld at the coordinates that they used to occupy in the dungeon. This typically causes them to suffocate underground. I will comment here if I figure out a way to reliably reproduce this issue, however it does not happen consistently.

EDIT: I have found a way to reproduce this issue. If a player logs off while in a dungeon and the server reboots shortly after, the player ends up in the overworld at the coordinates they previously occupied in the dungeon upon logging back in.

Unknowncommented

I have not been able to test this yet, but I just had a player encounter this issue. Here is what happened:

  • Player was in a dungeon.
  • Server was about to reboot, so all players on the server were sent to my holding server before the reboot.
  • 60 seconds later, the server rebooted.
  • 4 minutes later, all players were sent back to the server. The player who was in the dungeon spawned underground in the overworld, at the coordinates they used to occupy in the dungeon.

It seems that what caused this to happen was the player first disconnecting, then the server rebooting while they were still considered to be in the dungeon. (Not enough time passed for them to be kicked for being offline).

EDIT: I have found a way to reproduce this issue. If a player logs off while in a dungeon and the server reboots shortly after, the player ends up in the overworld at the coordinates they previously occupied in the dungeon upon logging back in.

Unknowncommented

Thanks for the detailed report. After quite a bit of researching... I've implemented a solution in the latest dev build that should preserve the feeling and still resolve players respawning underground. Let me know if anything seems amiss, but it should solve the problem!

Sign in to join the discussion.