Repository navigation
fix: bounce setbacks, sprint, fake lag and the passer - #356
Open
blocksimus wants to merge 8 commits into
Open
blocksimus wants to merge 8 commits into
blocksimus wants to merge 8 commits into
Conversation
Grim's ElytraB wants the jump key released as start-flying goes out and pressed by the next move, as pressing jump mid-air sends them.
Bounce had isSprinting say true while gliding, without the speed sprinting adds, so off the glide it walked at walking speed with the flag on, which Grim set back every move. It now sprints for real, from start-flying on, while canSprintOrFly allows it.
Bounce stopped jumping in the pause after a setback, so it stayed on the ground after landing, and the server ended the glide.
Stuck against something, nothing ended a hold: on 2b2t that held everything back for 13 s, and the server dropped the connection.
The server takes no moves after a setback until its confirm and the move after it, so holding those had it set Bounce back again.
Keep-alives are answered from the network thread, where Fake Lag held them in the game thread's queue, and a flush from there threw, losing the answer and timing the player out.
Pings were held as they arrived, ahead of packets still waiting for the game thread, so a setback's confirm answered the ping Grim sends after it, and Grim set back again: 76 of 77 such setbacks on 2b2t. Flushing them also answered pings held together in reverse order. Pings are now answered in turn, and Fake Lag holds the pongs instead.
A setback before moving off the start gave the passer no direction to search along, and it never finished beside the line, as Baritone stops a block short of its goal and the check wanted the exact block.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Been bouncing a lot more on 2b2t... these are some fixes that held up in testing.
Start-flying now looks like pressing jump in the air to open the elytra: jump's let go just before it and pressed again by the next move, which is what Grim's ElytraB checks for.
Sprint - Bounce used to have isSprinting say true while gliding without the speed sprinting adds, so after a landing it walked at walking speed with the flag on and got set back (stuck walking loops). It now really sprints while it glides, starting with start-flying, (also stops when you're too hungry to, which was getting me kicked).
After a setback it keeps hopping through the flag pause, instead of sitting on the ground and losing the glide.
Fake Lag
Obstacle passer - fixed a freeze when you get set back before moving off the start, and it standing still forever when it finished a block beside the line, since Baritone stops a block short of its goal.