Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Pathfinding not recalculated on bridge destruction  (Read 403 times)

Shadowlord

  • Bay Watcher
    • View Profile
Pathfinding not recalculated on bridge destruction
« on: January 16, 2007, 07:03:00 am »

I think that the pathfinding appears to not be updated when a bridge is destroyed by rampaging dwarves.

Quick summary of why I came to that conclusion:
1. I lost my only bridge over the cave river during a riot. 90% of my dwarves froze in place, all bridge rebuilding jobs were repeatedly suspended, and I got lots of 'cannot find path' spam.
2. They remained frozen for a couple months, until a natural flood occurred - then they all unfroze simultaneously, and when I unsuspended the bridge jobs after the unfreeze, they rebuilt the small one and then the main bridge.

What I tried to unfreeze them prior to the natural flood (all of these failed):
1. I attempted to rebuild the bridge, but the job was repeatedly suspended. However, some bones were blocking it and the dwarves would not remove them.
2. I also tried making a smaller bridge, and although some stone was eventually delivered (after several dozen unsuspensions), the dwarves would not complete the bridge (until they all unfroze when the natural flood occured later).
3. I freed all their beds (which were east of the river) in case they were getting confused by trying to reach them.
4. I conscripted everyone and then unconscripted one or two people with their jobs set to architecture. They remained frozen and did not work on the bridge.
5. I cancelled and reordered the bridges repeatedly to find out which rocks were near and on the proper side of the bridge, and to get them to use only those. (Using limestone, which I didn't have many pieces of)
6. I ordered the farm flood lever to be pulled. The dwarves did not pull it until after they all unfroze.

My fortress layout is:

  • West of the river: Workshops, farms, and major stockpiles (most of the dwarves were over there when the bridge was destroyed),
  • East of the river: Housing, noble rooms, and some food stockpiles.
  • I have three-wide hallways which double as stone stockpiles. There was plenty of stone on both sides of the cave river.

I have zipped up a saved game from when the dwarves were frozen, if that's wanted.

[ January 16, 2007: Message edited by: SL ]

Logged
<Dakkan> There are human laws, and then there are laws of physics. I don't bike in the city because of the second.
Dwarf Fortress Map Archive

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Pathfinding not recalculated on bridge destruction
« Reply #1 on: January 16, 2007, 04:36:00 pm »

If I have a look at the save I'll be able to see what's stopping them.  The pathfinding map itself is recalculated (just checked), so it's likely job-specific for the various frozen dwarves.

toadyone@bay12games.com or somewhere downloadable
region#.sav + region# folder in some kind of zip/rar
any new objects that were added to the raw folder

Logged
The Toad, a Natural Resource:  Preserve yours today!