Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Vazkii opened this issue Aug 22, 2014 · 2 comments
Closed

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

Vazkii opened this issue Aug 22, 2014 · 2 comments

Comments

@Vazkii
Copy link
Contributor

Vazkii commented Aug 22, 2014

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.

@Azanor
Copy link
Owner

Azanor commented Aug 25, 2014

Thanks, I'll take a look

@Azanor
Copy link
Owner

Azanor commented Aug 25, 2014

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

@Azanor Azanor closed this as completed in f00345f Aug 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants