Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002767Dwarf FortressDwarf Mode -- Interface, Stockpilespublic2010-07-19 22:482010-07-20 18:50
cephalo 
 
normalminorrandom
newopen 
 
 
0002767: Mass forbid/claim fails to affect some items in containers
I'm trying to mass forbid my cloth stockpile as part of a workaround for the lack of a storage option for adamantine, and doing this repeatadly makes the items inside the bins alternate somewhat randomly between forbidden and claimed.

Claiming by designating seems to work, but forbidding is broken through bins.
Find a cloth stockpile with bins and lots of thread and cloth. Mass forbid, mass claim, and mass forbid again, and many items will not be forbidden.
No tags attached.
Issue History
2010-07-19 22:48cephaloNew Issue
2010-07-20 05:54FootkerchiefNote Added: 0010710
2010-07-20 06:00cephaloNote Added: 0010711
2010-07-20 07:14FootkerchiefNote Added: 0010714
2010-07-20 08:37cephaloNote Added: 0010716
2010-07-20 08:37cephaloNote Edited: 0010716bug_revision_view_page.php?bugnote_id=0010716#r4167
2010-07-20 10:02cephaloNote Added: 0010724
2010-07-20 11:07cephaloNote Edited: 0010724bug_revision_view_page.php?bugnote_id=0010724#r4169
2010-07-20 12:23FootkerchiefNote Added: 0010733
2010-07-20 12:24FootkerchiefSummaryDesignating a stockpile for forbid erratic => Mass forbid/claim fails to affect some items in containers
2010-07-20 17:35cephaloNote Added: 0010754
2010-07-20 17:36QuietustNote Added: 0010755
2010-07-20 18:50cephaloNote Added: 0010764

Notes
(0010710)
Footkerchief   
2010-07-20 05:54   
Somewhat randomly? Is there a pattern?
(0010711)
cephalo   
2010-07-20 06:00   
I cannot see the pattern.
(0010714)
Footkerchief   
2010-07-20 07:14   
Does it have anything to do with the items being in a stockpile, or does this also pertain to containers outside stockpiles?

Do the containers themselves get reliably forbidden/claimed?

Does this happen just with bins, or any type of containers?
(0010716)
cephalo   
2010-07-20 08:37   
I'll have to do more testing. One consequence of forbidding a bin, is that it's no longer considered part of the stockpile. For example, if you mass forbid all the bins, and then claim one bin. Someone will come along and put the claimed bin in position '0' in the top, left corner, on top of the forbidden bin that was there.

There may be a complex interaction at play here.

EDIT: yes the containers themselves are reliably forbidden.

(0010724)
cephalo   
2010-07-20 10:02   
(edited on: 2010-07-20 11:07)
Ok, I'm home for lunch, and I did a bit more testing. If I remove the stock pile, I still have the problem. The problem actually happenes also when reclaiming, some items remain forbidden. After repeating the operation of reclaiming and forbidding, it looks like some specific objects are immune to forbidding, and some objects are immune to reclaiming, as the same objects turned up wrong each time.

In my latest test, outof maybe 100 or so items in the stockpile, one item was immune to forbidding, and about 12 items were immune to reclaiming. Last night when I reported this, I'm sure it was a different set of problem items. Many were immune to forbidding, but they all seemed to reclaim.

My test today was a bit different. I'd upload a save, but there's soooo many more important bugs than this, and my save is going on 170MB zipped. I just thought I'd make a record of it.

EDIT: Also I should say that forbidding and reclaiming items individually works fine, even on these items that are immune to the mass forbid tool.

(0010733)
Footkerchief   
2010-07-20 12:23   
I'd say go ahead and upload it, as long as your own bandwidth can handle it. It's hard to say whether this bug is important or not -- it could be a symptom of larger problems.
(0010754)
cephalo   
2010-07-20 17:35   
http://dffd.wimbli.com/file.php?id=2759 [^]

Ok, here it is. 79MB bigger footprint on the cloud from me. I swear this kinda thing has to be the real cause of global warming.
(0010755)
Quietust   
2010-07-20 17:36   
Were any of the items stolen from caravans?
(0010764)
cephalo   
2010-07-20 18:50   
Some may have been, I've had a few caravans get killed by goblins. But some of the ones that get stuck are domestically made.