TangoTek / TekTopia-Community

Bug/Issue tracking for TekTopia testing
35 stars 12 forks source link

Top Slabs Block AI Pathing #80

Open PfluorescentZebra opened 5 years ago

PfluorescentZebra commented 5 years ago

Describe the bug Merchants cannot find a path through an area of top slabs; nomads were able to path through the same space without issues.

To Reproduce Steps to reproduce the behavior:

  1. Define a clear path into the village
  2. Replace entrance blocks with top slabs only.
  3. In the morning, receive error message in client chat that Merchant cannot create path to village.
  4. Replace slabs with full blocks.
  5. Merchant will path correctly on the next morning.

Expected behavior Merchant should be able to path through same spaces as Nomads.

Server/Location What server were you playing on? What If Server 1 What are the world coordinates of your town hall marker? 2681 / 116 / -8672

PfluorescentZebra commented 5 years ago

Johny, that issue seems to be related to stairs and blocking the air spaces above partial blocks. The half slabs were on a plain, on the surface, and had no blocks above them. The issue was not in the space, but in the inability for only the merchant to use top slabs. He uses full blocks at the same y level without changing anything else.

PfluorescentZebra commented 5 years ago

Yes, I see that. The merchants are able to path over stairs with a 5 block height above them as well as bottom slabs. In all other aspects of the game, a top slab behaves as a full block. Without being able to see the source code, it is well neigh impossible to guarantee that the two issues are related. I felt it safer to create a separate ticket so nothing would be missed.