-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
Conversation
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.
connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java
Show resolved
Hide resolved
There was a problem hiding this 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.
How does vanilla Bedrock handle it? |
The bug in the Protocol library should be fixed instead |
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. |
…eyser into DoctorMacc-mcprotocollibupdate
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
I think also fixes ProxyPass connection issues. Closes GeyserMC/Geyser#714
I'm pretty sure this is now resolved upstream |
I've had no issues with not being able to connect on the first try, so I agree. |
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.