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

don't send empty GameInf and CostumeInf packets and resend them on reconnect #36

Merged
merged 1 commit into from Dec 16, 2022

Conversation

Istador
Copy link
Contributor

@Istador Istador commented Sep 5, 2022

Resend because: on server restarts the server will lose the stage and costume information.

If only one client is connected to the server, the packets currently aren't resent, so the server doesn't know in which stage the client is and what costume it wears (which I'd like to display on the website).

With more then one client connected it already works, because when another client joins the server, the client will send both packets.

This is a recreation of PR #34 based on the latest dev branch version

…connect

Resend because: on server restarts the server will lose the stage and costume information.

If only one client is connected to the server, the packets currently aren't resent, so the server doesn't know in which stage the client is and what
costume it wears
(which I'd like to display on the website).

With more then one client connected it already works, because when another client joins the server, the client will send both packets.
@Sanae6 Sanae6 merged commit 36f9343 into CraftyBoss:dev Dec 16, 2022
@Istador Istador deleted the dev-disconnect-resend branch December 17, 2022 02:24
@Istador Istador restored the dev-disconnect-resend branch December 24, 2022 22:25
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

Successfully merging this pull request may close these issues.

None yet

2 participants