Baubles

Baubles

117M Downloads

Packets containing the player's baubles aren't sent on login on MP

Vazkii opened this issue ยท 2 comments

commented

How to reproduce:

  • Get a bauble that has some sort of HUD element or client indication
  • Equip it on a dedicated server
  • Close your client
  • Reopen your client
  • Log back into the server

The element is gone, because the server doesn't send the packets over to the client.

commented

Thanks, I'll take a look

commented

Strange, it looks like the PlayerEvent.LoadFromFile event is only triggered sometimes when a player logs in - that is where I currently do my syncing. I'm guessing there is a garbage collection type thing that unloads players that are logged off, but if a player logs on before that has run its file won't be loaded again.

Either way, I will add another sync trigger in PlayerEvent.PlayerLoggedInEvent