MineColonies

MineColonies

53M Downloads

Pathfinding fails when colonist is standing on half block

keldor314 opened this issue · 19 comments

commented

Minecolonies version

Version: 1.12.2 - 0.10.27 Release

Expected behavior

Colonist should continue on to their destination.

Actual behaviour

Colonist remains stuck where they are indefinitely. Sometimes shoving them until they're standing on a full block fixes the problem. Recalling them works.

Steps to reproduce the problem

My delivery man gets stuck every time they go to the level 2 Medieval Fisherman's Hut. The delivery point is on top of some wooden slabs on the "dock" portion of the structure. The fisherman gets stuck in the same location.

commented

Do you have some special slab block?

commented

same here... on normal slabs

https://ibb.co/bWdYjTx

I have also tried putting waypoints on intersections but its a big nope for them. (on the screenshot there is a waypoint on the "south intersection" and the "north intersection" (relative to the image not the map) and they still want to go sideways

commented

Uhm, 2 questions with this

  1. Is there water under the halfslab at the fisherman?
  2. Do you have an easy way to reproduce it?
commented

on my case the easiest way to reproduce is with the guard tower, and put the guy on patrol, around the guard tower the path goes down a couple blocks, 1 step down each 5 blocks, guy just doesn't know how to get up.

commented
commented

image

commented
commented

check the fall, if its too big don't jump? don't see the issue going down? or maybe use the waypoint he has right next to it?

commented
commented

u the man!

commented

I caught my builder stuck on a stairs block earlier too. It seems to be that they're confused if they're standing at a halfblock height when they try to path, rather than anything to do with the block itself. Maybe they think they're falling, and won't path until they "land"?

In my case, there was a water block under the halfslab, which was just a regular wooden one (oak I think). The stairs were just normal oak stairs in the builder's hut, and the builder had stopped while standing on them for some reason and then couldn't figure out how to get off.

commented
commented

will try it right away TX

commented

they sure are jumpers now!... jajaja... one just went down 2 1/2 blocks taking 1 point of damage like it was nothing XD (I really don't mind the jumpling will be checking if they jump from higher up.

commented

but the going up part seems to be fixed

commented
commented

do they do checks to see if they are going to fall/move into hazardous terrain?, is there a config to tell them to avoid certain blocks? I have punji sticks on floors and walls from tinkers, and they just keep hitting those?

commented