Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

faster movement

Open i7vlo opened this issue 3 years ago • 4 comments

can you make the movements faster like regular minecraft walking ?

i7vlo avatar Feb 10 '22 10:02 i7vlo

In the current state: No.

Currently the pathfinding and walking mechancs are in a state, where they do their job. (Most of the time.) They are clearly improvable and in the future, there needs to be an overhaul of them.

Unfortunately the pathfinding and walking algorithm are rather complicated (see Movement.cs and its implementation of A*). As a result it costs a lot of time to read into the topic, just to be able to improve it. On top of that there are fewer and fewer people with enough time to apply changes.

So.. If you want to look into it and improve the general walking behaviour, feel free to do so. Otherwise you unfortunately need to live with the current state of operation. :/

Daenges avatar Feb 10 '22 13:02 Daenges

If you want to adjust speed, you can try playing with the amount of steps by block: https://github.com/MCCTeam/Minecraft-Console-Client/blob/a344ac4101af99d3dd9a4e48c3a12a6c8e989c28/MinecraftClient/Mapping/Movement.cs#L81 Lower would be faster.

ORelio avatar Feb 10 '22 21:02 ORelio

thanks i make it 4 its better and safe from anticheats

i7vlo avatar Feb 11 '22 14:02 i7vlo

Great! If you want to contribute, don't hesitate to add a setting to adjust speed and submit a pull request 😉

ORelio avatar Feb 12 '22 16:02 ORelio

It is possible to change, the speed, but this will get you banned on a lot of servers, as it was increased some time ago and we saw negative effects of people getting banned on Hypixel, now the speed is back to normal. So if you need a faster speed, change the code to your preference and use case.

milutinke avatar Oct 06 '22 18:10 milutinke