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

SmoothAim while mining #2293

Closed
wants to merge 2 commits into from
Closed

SmoothAim while mining #2293

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 24, 2020

Not the cleanest code, but nobody else would do it so I did. it works how its suppose to.
set to 1 to disable. issue #2034

@EngineerGaming69
Copy link

yoyoyoyoyoyooo add this to every version brooooooo

@ZacSharp
Copy link
Collaborator

A smothAim value bigger than 2 is already really likely to break parkour place. In addition this does not solve the problem of Baritone looking weird while walking, because with higher smothAim values it is walking (and jumping) sideways serverside.

@ghost
Copy link
Author

ghost commented Dec 27, 2020

A smothAim value bigger than 2 is already really likely to break parkour place. In addition this does not solve the problem of Baritone looking weird while walking, because with higher smothAim values it is walking (and jumping) sideways serverside.

youre not wrong. but what most people are going to use this for is prison servers and they wont be using parkour place. Id try to implement it, but ive heard parkour isnt that great same with placewater on fall. if you set freeLook to false it should still look in the direction it is walking, but with a smoother aim.

@ghost
Copy link
Author

ghost commented Dec 27, 2020

A smothAim value bigger than 2 is already really likely to break parkour place. In addition this does not solve the problem of Baritone looking weird while walking, because with higher smothAim values it is walking (and jumping) sideways serverside.

youre not wrong. but what most people are going to use this for is prison servers and they wont be using parkour place. Id try to implement it, but ive heard parkour isnt that great same with placewater on fall. if you set freeLook to false it should still look in the direction it is walking, but with a smoother aim.

Update: I just tested the water bucket and it still works as it aims before falling, and I tried to test the parkour place but not too sure what it even does.

@ZacSharp
Copy link
Collaborator

if you set freeLook to false it should still look in the direction it is walking, but with a smoother aim.

I tested it with freeLook turned off and it was walking sideways. Even when I watched from another player (so no chance I was seeing client side rotations)

I tried to test the parkour place but not too sure what it even does.

parkour place does 3 block jumps onto blocks it places while jumping.

@EngineerGaming69
Copy link

I feel like if this was made better it could be very useful for keeping urself/bots not get banned. If it would move faster on further rotations like parkour jumps and slower on smaller rotations and a little bit of randomness then it might look legit and still work fine with parkour jumps.

@ghost
Copy link
Author

ghost commented Dec 28, 2020

if you set freeLook to false it should still look in the direction it is walking, but with a smoother aim.

I tested it with freeLook turned off and it was walking sideways. Even when I watched from another player (so no chance I was seeing client side rotations)

I tried to test the parkour place but not too sure what it even does.

parkour place does 3 block jumps onto blocks it places while jumping.

I don't really know how to code (if you cant tell by my code). Mainly made this for my own needs and proof of concept. wasnt even going to share it but noticed many people were asking for something similar.

@EngineerGaming69
Copy link

if you set freeLook to false it should still look in the direction it is walking, but with a smoother aim.

I tested it with freeLook turned off and it was walking sideways. Even when I watched from another player (so no chance I was seeing client side rotations)

I tried to test the parkour place but not too sure what it even does.

parkour place does 3 block jumps onto blocks it places while jumping.

I don't really know how to code (if you cant tell by my code). Mainly made this for my own needs and proof of concept. wasnt even going to share it but noticed many people were asking for something similar.

yo if u can give me the built version i would love that cuz i have no idea how to do it

@scorbett123 scorbett123 mentioned this pull request Dec 29, 2020
@ralphchristianeclipse
Copy link

This works a little but it likes it thinks for a long time before mining again lol.

@AstroOrbis
Copy link

if you set freeLook to false it should still look in the direction it is walking, but with a smoother aim.

I tested it with freeLook turned off and it was walking sideways. Even when I watched from another player (so no chance I was seeing client side rotations)

I tried to test the parkour place but not too sure what it even does.

parkour place does 3 block jumps onto blocks it places while jumping.

I don't really know how to code (if you cant tell by my code). Mainly made this for my own needs and proof of concept. wasnt even going to share it but noticed many people were asking for something similar.

yo if u can give me the built version i would love that cuz i have no idea how to do it

./gradlew build on Mac/Linux and gradlew build on windows

@killua173
Copy link

if you set freeLook to false it should still look in the direction it is walking, but with a smoother aim.

I tested it with freeLook turned off and it was walking sideways. Even when I watched from another player (so no chance I was seeing client side rotations)

I tried to test the parkour place but not too sure what it even does.

parkour place does 3 block jumps onto blocks it places while jumping.

I don't really know how to code (if you cant tell by my code). Mainly made this for my own needs and proof of concept. wasnt even going to share it but noticed many people were asking for something similar.

I never have coded before , if you could send one with the edit you have made that be really helpful.

@Swiftform
Copy link

How do you put in the code?

@SoniXperia
Copy link

How do I add the code?

@ghost
Copy link

ghost commented May 14, 2022

When will this PR be merged?

@StevenLi-phoenix
Copy link

plz, merge or somehow implement this function.

@ZacSharp
Copy link
Collaborator

ZacSharp commented Jul 4, 2022

I personally don't think this should be merged into Baritone because

  1. I don't see a need for it. If you need to hide you are using Baritone you should not be using Baritone at all.
  2. Realistic head movement is more than just interpolation. Interpolation works fine for mining, farming and building but not for walking or even parkour because in those cases there are additional requirements you have to meet (coordination with movement and timing).

@PiotrekUnityDeveloper
Copy link

I do think it should be added as an optional feature. If you dont want to use it, just dont use it 🤷

@StevenLi-phoenix
Copy link

I personally don't think this should be merged into Baritone because

  1. I don't see a need for it. If you need to hide you are using Baritone you should not be using Baritone at all.
  2. Realistic head movement is more than just interpolation. Interpolation works fine for mining, farming and building but not for walking or even parkour because in those cases there are additional requirements you have to meet (coordination with movement and timing).

My intention is not to make Baritone avoid detection by server anti-cheat. Rather, it's the fast flickering screen that makes me sick when I'm mining. It doesn't matter if I can't achieve smoothness when walking.

I'd like to request that at least the option should be added to make it smoother when mining and farming.

@PiotrekUnityDeveloper
Copy link

server-side rotations?

@StevenLi-phoenix
Copy link

server-side rotations?

I mean client side rotation, on my screen.
Baritone can be use in full client side.

This pull request was closed.
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