|Anonymous | Login | Signup for a new account||2023-03-27 00:26 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details [ Jump to Notes ]||[ Issue History ] [ Print ]|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008755||Dwarf Fortress||Dwarf Mode -- Jobs, Hauling||public||2015-01-20 05:33||2017-05-18 21:30|
|Target Version||Fixed in Version|
|Summary||0008755: Items in bins (coins, thread, mechanisms, ammo) are sometimes not found for tasks|
|Description||I have a (single) coin bin.|
As of the time it was saved it has 16 stacks of 500 aluminium coins.
All coin stacks are designated for melting.
I have two magma smelters set on repeat for "melt item"
The stockpile only holds coins, there are no coins being minted.
At some point the smelting jobs cancel because there are 'no melt designated items'.
In the save file, if you load and unpause, the smelter jobs will cancel before any coins are melted (or they did for me).
Similar things happen with the (auto-generated) weaving of thread into cloth.
Possibly other items in bins as well.
|Steps To Reproduce||* Fill a bin with coins |
* Mark them all to melt.
* Set a smelter to 'melt item' on repeat.
* See if all coin stacks are melted, or if the job cancels.
* Buy a bin full of threads.
* Build a loom
* Watch for 'cancels weave' message spam and check that whether there really is no thread.
|Additional Information||Yeah, I know this sounds a lot like previous bugs with bins that are picked up, but it happens even when there is no possible task that could involve moving the bin or putting things in a bin. |
Save file uploading.
|Tags||No tags attached.|
edited on: 2015-01-20 06:33
[EDIT] OK, I found some coins that weren't in the coin stockpile. So it is the old bug, or very similar to it. See 0005992 Marked resolved, but possibly not for all cases.
It seems the bin contents are not found when a dwarf attempts to put another item in it?
*1. If you load the save and unpause the smelting job will cancel before the coins are melted.
*2. If, instead, you load the save and forbid the coins under the magma smelter, THEN unpause the coins are melted successfully.
Save file: http://dffd.bay12games.com/file.php?id=10475 [^]
|Hmm, it occurs to me that this bug may have driven my armorer insane when he couldn't find any plant cloth for his artifact. :/|
Add ammo to the list. Marksdwarves do not pick up ammo that is stored in a bin, nor do haulers see them. (tested with creating an ammo stockpile (A) that accepts only copper bolts, setting bin amount to two, taking anywhere, and creating a second stockpile (B) that accepts ammo only from the first stockpile (links only, take from stockpile A.) No bolts will be hauled to stockpile B.
If stockpile A is removed, leaving the ammo within the bins just lying there, then the dwarves will start filling stockpile B with them. Marksdwarves still do not seem to "see" them inside the bins though, taking ammo only from stockpile(s) that have no bins assigned or straight from the workshop(s).
I've noticed this behaviour this far with ammo, thread, cloth, gems and bars. (Soap stored in hospital chests seem to work fine)
same for nestboxes: As long as my nestbox was in a bin it couldn't be placed. But after dumping it on an adjacent tile in the same stockpile it was available for construction.
If I wasn't quick enough a dwarf placed it back inside the bin and the building cursor said "need nestbox" again.
edited on: 2015-05-31 16:58
Anything stored out in the open is usually found, but most, if not all, items in bins are subject to this, while only certain things stored in barrels are. Dye is subject to this—many cancellations of "Dye Thread — Need unrotten dye item" when there's a nearly full stockpile of dimple dye bags stored in barrels nearby (whether the stockpile "gives" to every dyer, or is left without restrictions). Not sure if dye bags outside of barrels does this. Seeds seem to be found no matter what, as well as food for all farmer's workshop, millstone/quern, kitchen, still and fishery jobs.
Using the job manager leads to the same amount of spam, but at least continues to add the jobs until they get done.
Moody dwarves seem to always find what they're looking for, regardless of whether they're stored in containers or not.
|You can pretty easy reproduce this problem by setting up 2 stockpiles for dimple cups. Set one to allow barrels/pots and one that does not. Create the first that accepts pots and have dwarves then fill up that pot. Ensure there are no more hauling jobs to the pot/pots so they should be free from the other bug that plagues this. Then setup the second stockpile to pull from the first and disallow pots. Dwarves will ignore everything in the pots and never fill up the second stockpile. For some reason the items do not exist. Dumping the pot does for some reason cause the items inside to suddenly pop back into view. There also could be other ways to resolve this as well but I have not tested. I can upload a save where I have such a setup if needed.|
|I've noticed that they can't get clothing out of bins either. I've got bins and bins or masterwork clothing and my dorfs are running around naked. If it's in a bin it doesn't exist. Pots and barrels are fine though.|
edited on: 2016-02-14 11:21
ptb_ptb writes, " It seems the bin contents are not found when a dwarf attempts to put another item in it?"
Yes, this seems to match my experience (up through 0.42.05 so far). When a dwarf is performing a "Place Item in Barrel" (et al.) job, the container is "locked", preventing all other actions, including workshop jobs retrieving an object for crafting.
Without understanding the code, I have to assume that the locking is required to avoid some much worse bug. But I wish the workshop job which is affected by the locking would only be postponed, rather than completely cancelled.
Treah writes, "2 stockpiles for dimple cups. Set one to allow barrels/pots and one that does not. Create the first that accepts pots and have dwarves then fill up that pot. Ensure there are no more hauling jobs to the pot/pots so they should be free from the other bug that plagues this. Then setup the second stockpile to pull from the first and disallow pots. Dwarves will ignore everything in the pots and never fill up the second stockpile."
I believe this is a much more specific issue: dwarves will never *remove* items from a container to fill a stockpile.
Items in containers *should* work as inputs to a workshop, or edibles grabbed to eat, or clothing grabbed to wear, as far as I know.
De writes, "I've got bins and bins or masterwork clothing and my dorfs are running around naked."
I have not personally been able to reproduce this, but I can't disprove it either.
This issue is rather major.
When a dwarfs trys to get an item out of a bin/bag it checks if another dwarf is trying to get another item out of the same bin/bag and can causes tasks to be canceled.
I have removed all bins from being used and bags and dwarfs do things so much better.
They have managed to planet almost every field full of plump helm, well they pretty much are going to. Minecarts save the day with being able to dump everything.
|This bug report claims there is no task targeting the bin; problems with tasks targeting the bin are currently tracked as 0009004.|
Dfhack script to empty your bins until this is fixed. Found on github.
-- Empty a bin onto the floor
print('Finding selected item...')
a = dfhack.gui.getSelectedItem()
print('Found ', dfhack.items.getDescription(a,0))
if not a then dfhack.printerr("No item selected!")
loc = a.pos
for _,k in pairs(dfhack.items.getContainedItems(a)) do
print (' ', dfhack.items.getDescription(k,0))
r = dfhack.items.moveToGround(k,loc)
|2015-01-20 05:33||ptb_ptb||New Issue|
|2015-01-20 05:37||ptb_ptb||Note Added: 0032011|
|2015-01-20 05:44||ptb_ptb||Note Edited: 0032011||View Revisions|
|2015-01-20 06:33||ptb_ptb||Note Edited: 0032011||View Revisions|
|2015-01-20 08:47||Footkerchief||Relationship added||related to 0005992|
|2015-01-22 01:03||ptb_ptb||Note Added: 0032030|
|2015-02-25 10:05||Muumeh||Note Added: 0032288|
|2015-03-25 09:47||Dwarfu||Relationship added||has duplicate 0006098|
|2015-03-25 09:48||Dwarfu||Relationship deleted||has duplicate 0006098|
|2015-03-25 09:49||Dwarfu||Relationship added||has duplicate 0006098|
|2015-03-25 09:51||Dwarfu||Summary||Items in bins (coins, thread) are sometimes not found for tasks => Items in bins (coins, thread, mechanisms, ammo) are sometimes not found for tasks|
|2015-04-03 05:55||fbo||Note Added: 0032496|
|2015-05-24 13:13||CLuther88||Note Added: 0032716|
|2015-05-31 16:58||CLuther88||Note Edited: 0032716||View Revisions|
|2015-08-02 18:46||lethosor||Assigned To||=> lethosor|
|2015-08-02 18:46||lethosor||Status||new => acknowledged|
|2015-09-30 09:29||Treah||Note Added: 0033071|
|2015-09-30 23:02||De||Note Added: 0033074|
|2015-12-27 09:41||Huntthetroll||Issue Monitored: Huntthetroll|
|2016-01-19 20:33||Dwarfu||Relationship added||has duplicate 0009441|
|2016-02-14 11:15||greycat||Note Added: 0034661|
|2016-02-14 11:21||greycat||Note Edited: 0034661||View Revisions|
|2016-03-03 21:40||Killzemallgod||Note Added: 0034787|
|2016-04-13 13:19||Loci||Note Added: 0035010|
|2017-05-05 08:21||Altaree||Note Added: 0036498|
|2017-05-18 21:30||lethosor||Relationship added||related to 0009004|
|Copyright © 2000 - 2010 MantisBT Group|