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

Implement workaround for out of order StartGame packet #714

Closed
wants to merge 64 commits into from

Conversation

bundabrg
Copy link
Collaborator

@bundabrg bundabrg commented Jun 1, 2020

Randomly the StartGame packet will end up sent after the packets that are supposed come after it. This workaround will force a 500ms delay after the packet to ensure it has the best chance of coming first.

This should solve the "Waiting for Server" message for generally the first connection.

Camotoy and others added 5 commits May 26, 2020 10:05
Despite the Bukkit suffix being correct in terms of the API, the name causes some people to download CraftBukkit instead of Spigot or Paper. All internal references to Bukkit have been renamed to Spigot.
Randomly the StartGame packet will end up sent after the packets that are supposed come after it. This workaround will force a 500ms delay after the packet to ensure it has the best chance of coming first.
Copy link
Member

@Camotoy Camotoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is OK to merge if we agree it is the best way to go about solving the problem.

@Heath123
Copy link
Contributor

Heath123 commented Jun 2, 2020

How does vanilla Bedrock handle it?

@AJ-Ferguson
Copy link
Member

The bug in the Protocol library should be fixed instead

@bundabrg
Copy link
Collaborator Author

bundabrg commented Jun 3, 2020

The proper fix should be done in the Protocol library as other packets can and will be out of order throughout a session. However it may be a useful workaround until that takes place and can always be reverted later though by having the workaround in place there is then less pressure to fix the real issue.

AJ-Ferguson and others added 20 commits June 26, 2020 18:51
Temporary. The inventory system will be rewritten very soon.
* Relocate Reflections Dependency

* Update some mappings
Fixes occasional inventories not working because of being unable to read the locale.
* Add dump command
Adds a command to collect and dump infomation about the Geyser install and bootstrap and submit it to a dumps site.

* Finalize URL; misc. fixes; add 'architecture' param

Co-authored-by: DoctorMacc <[email protected]>
Versions of Java and Bedrock Edition supported updated
Fixes shulker boxes
# Conflicts:
#	connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java
@bundabrg
Copy link
Collaborator Author

1.16 Version

bundabrg added a commit to bundabrg/Protocol that referenced this pull request Jul 1, 2020
I think also fixes ProxyPass connection issues.
Closes GeyserMC/Geyser#714
@bundabrg
Copy link
Collaborator Author

bundabrg commented Jul 9, 2020

I'm pretty sure this is now resolved upstream

@bundabrg bundabrg closed this Jul 9, 2020
@Camotoy
Copy link
Member

Camotoy commented Jul 9, 2020

I've had no issues with not being able to connect on the first try, so I agree.

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.

10 participants