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

Bot going back and forth, "visibility" issue? #179

Closed
Garfield100 opened this issue Jul 9, 2021 · 1 comment
Closed

Bot going back and forth, "visibility" issue? #179

Garfield100 opened this issue Jul 9, 2021 · 1 comment

Comments

@Garfield100
Copy link

Garfield100 commented Jul 9, 2021

In testing I've found this strange behaviour by the bot. Simply look at the gif.
There is only one way for the bot to get to me, and that is by taking the narrow way because the way on the main platform is blocked by a wall.
The bot is the player walking back and forth near the gold blocks. It is trying to find a way to me, the player on the right.
Does this have something to do with the bot's "view distance"? If so, how can this be turned up? And why can it see the bridge on the left from so far away, but "loses sight" of the bridge on the right almost immediately?
This does not happen in the opposite direction, i.e. with the player positions swapped.

ezgif-2-c63e58bc8876

@Karang
Copy link
Collaborator

Karang commented Jul 9, 2021

Increasing the tick timeout should fix the issue https://github.com/PrismarineJS/mineflayer-pathfinder#botpathfinderticktimeout

You are testing in an "artificial" situation, its not often that the bot is separated from its objective by a bedrock wall, so walking toward the goal is usually a good decision, but not in this situation.

@Karang Karang closed this as completed Jul 11, 2021
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

No branches or pull requests

2 participants