Bot gets stuck when falling into water
nbyrd opened this issue · 18 comments
Some information
Operating system: Windows 10
Java version: 1.8.0_51 64-bit
Minecraft version: 1.14.4
Baritone version: 1.4.0
How to reproduce
Have baritone path around the world (#explore
, #mine
, #goto
, etc). If the bot falls into water (not water-bucket, but e.g. the ocean), it gets stuck and is never able to escape on its own, instead choosing to float indefinitely.
It should time out and re-calculate path when this happens.
Final checklist
- I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- I have included logs, exceptions and / or steps to reproduce the issue.
- I have not used any OwO's or UwU's in this issue.
See #3200
I guess it'll never be reopened because @5HT2 can't reproduce it so it must not exist
when this happens to me it doesn't find a new path
Sent with GitHawk
I have this problem too without impact. so no cheats. that command is invalid for me.
sometimes i get stuck in water when falling into water from a few blocks up
@0-x-2-2 allowedWalkOnWater is explicitly set to false
, so nope.
As @Grovre says, the bot fails to find a new path, and as @realflow100 says, this happens when falling from at least a couple blocks up. I guess the best way to reproduce this is to find an ocean biome with icebergs, stand on one, and try to path somewhere. Chances are, it'll get stuck.
@0-x-2-2 I enabled chatDebug and reproduced the issue. Image of chat output is below.
Additional steps to reproduce:
- Create a world with seed
845384498
. - Go to coordinates X=-33, Y=68, Z=-67. (This should be atop a small ice berg.)
#goal 1000 0
and#path
to start things moving.
At this point, you will observe that the bot navigates into water and immediately gets stuck. (If it doesn't happen, give it a few tries, but it happened 100% of the time when I tested.) Notice how the bot makes no attempts to rectify the situation. Occasionally, this can be fixed by manually placing blocks under the bot's feet or breaking nearby blocks, but it's not guaranteed.
(Do note, I #stop
ed after the bot got stuck for several seconds without producing any log output.)
Try "blocksToAvoid water".
I had the same problem and it solved the issue to me. I think.
I feel like this may be 2 issues mixing into one,
i know that when i wanted to test baritone i went onto 9b9t (because screw queuing for hours) after loading in its all water around spawn with some blocks mixed in, i ask baritone to move and it says it couldn't move more than 1 block at a coefficient of 10 (or something like that), so water may be a bit of an issue
In another instance while using the build command, i noticed that baritone could often fall into either a loop of placing and breaking blocks or, more relevant to this, it would freeze and stop all actions until i broke and placed blocks around and/or under it, until it started pathing again