BenLubar / df-ai

Dwarf Fortress + Artificial Intelligence
https://benlubar.github.io/df-ai/
zlib License
245 stars 26 forks source link

Blueprint Overlapping #56

Closed mattregul closed 5 years ago

mattregul commented 5 years ago

Describe the bug Appears that rooms (and stockpiles) can overlap. This may be due to multiple gaming sessions. Always the same game & ai version, just multiple save/loads/enable df-ai's

Expected behavior Prevent structure overlapping or at least ensure bodies and refuse stockpiles are enclosed.

Visual reference

ai version:

Dwarf Fortress 0.44.12
  Windows 64-bit
df-ai 0.44.12-r1-update1-6-gc32576d7 (Build ID: df-ai-pre-0.44.12-r1-180805000)
  code c32576d7b45f1336ad9f28272f6856655f80934e
DFHack 0.44.12-r1-0-gc2a64b35 (Build ID: df-ai-pre-0.44.12-r1-180805000)
  library c2a64b3573abbee549761f5c1c2626eec7a6e81c
  structures 23500e4e9bd1885365d0a2ef1746c321c1dd5094
mattregul commented 5 years ago

Does not seem to be related to multiple gaming sessions. Seeing overlap with fresh embark.

BenLubar commented 5 years ago

Ok, a few questions:

mattregul commented 5 years ago
  1. Does not appear to be generating a new layout everytime, at least with my current save.
    • I'll do some more testing tonight/overnight
  2. I originally thought interiors overlap, as seen below... but maybe it is just missing walls? Hmm image
    • I'll do some more testing tonight/overnight
  3. Yes (2.58 MB (2,707,456 bytes))
  4. No, appears to stay the same.
mattregul commented 5 years ago

image

mattregul commented 5 years ago

image

mattregul commented 5 years ago

Looking more like walls/outer edge of blueprints aren't being taken into account when deciding placement?

mattregul commented 5 years ago

image Definitely looking like its just missing walls