TShock icon indicating copy to clipboard operation
TShock copied to clipboard

SSC Bed Spawn Not Saving

Open Sancus101 opened this issue 1 year ago • 3 comments

Setting a bed spawn for a SSC player is not saving after they logout.

TShock version 5.2

Reproduce bug steps

  1. Set bed spawnpoint
  2. Logout
  3. Use Magic Mirror. Brings you to vanilla spawnpoint and not your bed.

We are all getting the message for a successful spawnpoint being set as well. The bedspawn point will work until you logout and back in.

2024-01-16_14-10-57.log

Sancus101 avatar Jan 16 '24 20:01 Sancus101

Known issue. #1966

Arthri avatar Jan 16 '24 21:01 Arthri

Known issue. #1966

Sad to hear this is a known issue for years. I checked the sql database for my server to see what is being saved. I see the spawnX and sapwnY locations are updating just fine into the sql database. I can only assume the problem is the character datamanager is not retriving the data from the sql DB correctly.

Sancus101 avatar Jan 17 '24 00:01 Sancus101

This is because it is impossible to save the bed spawn position from interacting with the bed without an additional user interaction, which is why most servers have something like a /sethome command.

punchready avatar Jan 17 '24 00:01 punchready