MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.67k stars 402 forks source link

/Follow Player is reallyyyyy slow & unresponsive. #2771

Open 1337kat opened 3 months ago

1337kat commented 3 months ago

Prerequisites

Minecraft Version

1.8.9

Console Client Version

1.8.9

Expected Behavior

The bot should be more snappier and follow the player without needing to be in a certain distance/proximity with the bot. I expect the bot to already learn how auto jump approaching blocks, hurdling around objects, and swim. Please use ChatGPT if you can't code.

Actual Behavior

Suggestion: Improve the response time and functionality of the bot in general.

Steps to Reproduce the bug

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

No response

Device

None

Operating System

None

Server Address (If applicable)

No response

milutinke commented 3 months ago

This is not a bug, physics are not implemented in the client, due to the code base being over 10 years old. it requires a re-write from ground up for this to be implemented. Thus it can't swim. This also affects the path finding, because the code of the client needs to be refactored to execute moving faster. As stated in the documentation. After 1.21 update, I have a plan to start working on re-factoring the client, but it's a multiple months of work for it to get to this level.

To speed the bot a bit, you can increase the movement speed, and the rate of bot update in the configuration. Try setting: Update_Limit to 0.5