ldtteam / minecolonies

Minecolonies minecraft mod
http://minecolonies.com/
GNU General Public License v3.0
664 stars 340 forks source link

[AI] Couriers twitch on ladder. #6291

Closed Moleculor closed 3 years ago

Moleculor commented 3 years ago

Prerequisites

Context

Expected behavior

I would expect the couriers to pathfind properly.

Actual behavior

The couriers twitch on the top of this ladder for a good minute or so before breaking free. If it helps, this is the level 1 Medieval Dark Oak sawmill.

2020-12-24_14 15 57

2020-12-24_14 18 32

Steps to reproduce the issue

  1. Have a warehouse and courier(s).
  2. Have a level 1 Medieval Dark Oak sawmill positioned so that the shortest path to the hut block is directly over the logs with rails/ladders on them.
  3. Have the sawmill request something the couriers need to deliver.
  4. Play some rave music.

Logs

Notes

Unce unce unce unce!


Viewers

Lielac commented 3 years ago

I also noticed something similar with a level 3 wooden warehouse: its second level is accessible only by a ladder, and the couriers spend a lot of time flailing around unable to climb the ladders to access items on the second level. I eventually replaced the ladders with a little staircase, and so far they've been able to path up that just fine.

Raycoms commented 3 years ago

Fixed in newest

tecnobrat commented 3 years ago

I'm not sure this is fixed. I still am having issues with my courier's getting stuck on ladders in my warehouse.

I think this is the fix you were referring to being in latest? https://github.com/ldtteam/minecolonies/pull/6378

Looking at it, it doesn't seem to fix ladders, only rails.

Raycoms commented 3 years ago

There are rails after those ladders, they tried to take the rails and got stuck afaik.

tecnobrat commented 3 years ago

Okay maybe I should open a different issue, but I'm confirming what @Lielac mentioned earlier that couriers get stuck trying to climb the ladder in the tier 3+ wooden (and other) warehouses. They twitch back and forth for a long time, sometimes forever, unless you recall them back to their hut and let them have another try at it.

Raycoms commented 3 years ago

that's a different issue then. Please open a new one then, with the new info and potentially a way to reproduce it easily.