Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.44k stars 382 forks source link

SSC Bed Spawn Not Saving #3011

Open Sancus101 opened 10 months ago

Sancus101 commented 10 months ago

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

Arthri commented 10 months ago

Known issue. #1966

Sancus101 commented 10 months ago

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.

punchready commented 10 months ago

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.