-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Smooth AOTE #963
base: master
Are you sure you want to change the base?
Smooth AOTE #963
Conversation
I tried a bit and found bugs
|
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.
Very epic as usual
private boolean shouldShowPacketSizeAndPingCharts(DebugHud instance, Operation<Boolean> original) { | ||
//make the f3+3 screen always send ping packets even when closed | ||
//this is needed to make smooth AOTE work | ||
return true; |
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.
Maybe only on skyblock? To avoid spamming other servers and using more bandwidth.
"skyblocker.config.uiAndVisuals.smoothAOTE": "Smooth AOTE", | ||
"skyblocker.config.uiAndVisuals.smoothAOTE.@Tooltip": "Smooths out teleporting with right click teleport ability's", | ||
"skyblocker.config.uiAndVisuals.smoothAOTE.enableEtherTransmission": "Enable Ether Transmission", | ||
"skyblocker.config.uiAndVisuals.smoothAOTE.enableInstantTransmission": "Enable Instant Transmission ", | ||
"skyblocker.config.uiAndVisuals.smoothAOTE.enableSinrecallTransmission": "Enable Sinrecall Transmission", | ||
"skyblocker.config.uiAndVisuals.smoothAOTE.enableWeirdTransmission": "Enable Weird Transmission", | ||
"skyblocker.config.uiAndVisuals.smoothAOTE.enableWitherImpact": "Enable Wither Impact", |
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.
specifying which item(s) that is in tooltip for smoof brained people like me would be nice
private static final MinecraftClient CLIENT = MinecraftClient.getInstance(); | ||
|
||
private static final Pattern MANA_LORE = Pattern.compile("Mana Cost: (\\d+)"); | ||
private static final long maxTeleportTime = 1000; |
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.
UPPER_SNAKE_CASE like the static final variable just above
Critical Issue: (no location check) Works in F7/M7 Boss Fight / Glacite Minshaft or anywhere that blocked teleport |
i have hopefully disabled it in those locations but i can not find a list of locations were its not allowed so i do not know if there are any more places like that |
I suddenly think of what I forgot.
|
strange, Latest build crashes immediately. |
ah, olim goofed a mixin. I can quickly commit a fix if olim doesn't have time |
Sure I probably can't get to fix this for at least a few hours |
return false; | ||
} else if (Utils.getLocation() == Location.PRIVATE_ISLAND && !Utils.getIslandArea().equals("⏣ Your Island")) { //do not allow it when visiting | ||
return false; | ||
} else if (Utils.getLocation() == Location.PRIVATE_ISLAND && !Utils.getIslandArea().equals("⏣ Your Island")) { //do not allow it when visiting garden |
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.
forget? or I misunderstand something?
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.
forget. i was going to do the same check for the garden the realised it was not as easy. oops
I have re written the raycast to be more like hypixel. it seams to be correct 95+% of the time now |
src/main/java/de/hysky/skyblocker/mixins/ClientPlayNetworkHandlerMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/de/hysky/skyblocker/mixins/ClientPlayNetworkHandlerMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/de/hysky/skyblocker/mixins/ClientPlayNetworkHandlerMixin.java
Outdated
Show resolved
Hide resolved
there is still debug stuff in this commit
still debug stuff in
still debug
still debug
still debug
still debug
still debug
still in debug
still debug
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.
I believe this is good, but this will conflict with #816. I'll wait for that, and I can handle the merge conflicts.
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.
looks good now
adds smoothing when using the aspect of the end or other teleports
it works out where hypixel is sending the player based on the distance they are going to teleport and then looks at the players ping and uses this as a goal to be end the predicted position in the time of the players ping (when they will receive a teleport packet from hypixel) then there is just a mixed to the Camera class that moves it to the position corresponding to how far though the allotted me the player is.
tests
only tested with aspect of the void and aspect of the end. however this should work with everything else
small bugs