Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Minecarts & Quantum Stockpiles  (Read 1707 times)

Minecarts & Quantum Stockpiles
« on: November 18, 2016, 03:01:02 am »

I want to use minecart routes to store all my stuff in a nice, small room in single tile quantum stockpiles.

I can get this to work just fine; no issues with the routes, stops, etc. However, the feeding stockpile used to catch everything and then send it to the minecarts for stockpiling is where I am having problems. The dwarves will only fill the feeder pile when set to take from anywhere; but if it's set that way, they get caught in an infinite loop of sending the materials to the minecarts, dumping them, and then hauling them back to the feeder pile to repeat the process. Nothing actually stays in the quantum piles for long, it just keeps going in a loop from the feeder to the quantum pile and back again.

Is there any way to get them to only drop goods in the feeding pile if the items aren't already in storage somewhere?
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #1 on: November 18, 2016, 03:11:51 am »

Does the quantum pile have a stockpile under it with the relevant goods enabled?

Is the feeder stockpile free of bins?
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #2 on: November 18, 2016, 03:34:55 am »

As Bumber indicates, the single tile has to be a stockpile that takes all the kinds of goods you want to store there. Bins and barrels cause problems, however, and you should never combine a refuse stockpile with something else unless you actually want to degrade that something else.
Booze barrels tend to end up in infinite circular hauling because the barrels frequently are set to "belong" to the feeder stockpile, and thus are hauled back there. Bins are generally a danger to fortresses and overseer sanity and should either be avoided completely or used with great care for a small number of specific purposes.
Logged
Re: Minecarts & Quantum Stockpiles
« Reply #3 on: November 18, 2016, 05:36:00 am »

Does the quantum pile have a stockpile under it with the relevant goods enabled?

Is the feeder stockpile free of bins?

Yes and yes.

Is there no way to blacklist stockpiles from one another? When it's set to take from anywhere, it means it.
Logged

taptap

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #4 on: November 18, 2016, 06:18:33 am »

I never noticed circular hauling when both stockpiles are set correctly and the dumping works as intended and not accidentally going into another direction. (I work with input on take from everywhere, output / qsp as take only from links usually). You can also work everything with stockpile links and take from links only. Micro-intensive, but possible since seperate input/output allows linking the same workshop as both giving to input and taking from output.

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #5 on: November 18, 2016, 06:45:41 am »

Taking from anywhere does not take from other stockpiles: the only way to do that is by linking. However, items BELONGING to stockpiles are hauled back to their "home" stockpile if sent elsewhere via links. This can happen with bins, barrels/pots and wheelbarrows, as far as I know.

In addition to the above, if you're playing an old version of DF (older than 0.43.04) there was a bug with zone storage (i.e. tavern/library/temple) that cause goblets, books, quires, and instruments to be circle hauled if stockpiled.
Logged

JimmyAgent007

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #6 on: November 18, 2016, 08:59:40 am »

As Bumber indicates, the single tile has to be a stockpile that takes all the kinds of goods you want to store there. Bins and barrels cause problems, however, and you should never combine a refuse stockpile with something else unless you actually want to degrade that something else.
Booze barrels tend to end up in infinite circular hauling because the barrels frequently are set to "belong" to the feeder stockpile, and thus are hauled back there. Bins are generally a danger to fortresses and overseer sanity and should either be avoided completely or used with great care for a small number of specific purposes.

Sorry, whats wrong with bins ?
Logged

taptap

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #7 on: November 18, 2016, 10:03:53 am »

As Bumber indicates, the single tile has to be a stockpile that takes all the kinds of goods you want to store there. Bins and barrels cause problems, however, and you should never combine a refuse stockpile with something else unless you actually want to degrade that something else.
Booze barrels tend to end up in infinite circular hauling because the barrels frequently are set to "belong" to the feeder stockpile, and thus are hauled back there. Bins are generally a danger to fortresses and overseer sanity and should either be avoided completely or used with great care for a small number of specific purposes.

Sorry, whats wrong with bins ?

Nothing, just don't mix them with quantum stockpiles.

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #8 on: November 18, 2016, 10:17:45 am »

As Bumber indicates, the single tile has to be a stockpile that takes all the kinds of goods you want to store there. Bins and barrels cause problems, however, and you should never combine a refuse stockpile with something else unless you actually want to degrade that something else.
Booze barrels tend to end up in infinite circular hauling because the barrels frequently are set to "belong" to the feeder stockpile, and thus are hauled back there. Bins are generally a danger to fortresses and overseer sanity and should either be avoided completely or used with great care for a small number of specific purposes.

Sorry, whats wrong with bins ?
When a dorf is about to put something into a bin the task will lock all other access to items in that in, including workshop access, in addition to cancellation spam, you'll also get repeat jobs depending on items in that bin removed (a typical example is the haulers bringing in uncut gems to store them in a bin causing the jeweller to repeatedly cancel repeat cutting jobs because the particular gem selected for the next job suddenly becomes unavailable).
I only use bins to haul garbage to the garbage trucks (a.k.a. caravans). If you're not using quantum stockpiles you're more or less forced to use bins, though or your stockpiles would have to be gigantic.
Logged

JimmyAgent007

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #9 on: November 18, 2016, 12:01:13 pm »

Now, if i make a new stockpile for things, remove the old ones, and dont allow any bins, will they take items out of a bin and move it to the new pile?
Logged
Re: Minecarts & Quantum Stockpiles
« Reply #10 on: November 18, 2016, 07:02:10 pm »

I never noticed circular hauling when both stockpiles are set correctly and the dumping works as intended and not accidentally going into another direction. (I work with input on take from everywhere, output / qsp as take only from links usually). You can also work everything with stockpile links and take from links only. Micro-intensive, but possible since seperate input/output allows linking the same workshop as both giving to input and taking from output.

They might not be taking from the quantum stockpiles but the minecarts holding the stuff before being dumped. They're right next to each other so it's hard to tell what square they're taking from.

I've since set the feeder to only take from linked workshops. Let the workshops have the really raw goods (stone, ore, rough gems etc). Seems to work better.
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #11 on: November 19, 2016, 12:56:51 am »

Sorry, whats wrong with bins ?
Stockpiles with bins will steal items from stockpiles without bins, even if they aren't linked.

Now, if i make a new stockpile for things, remove the old ones, and dont allow any bins, will they take items out of a bin and move it to the new pile?
If you're lucky. Otherwise, you can create a nearby dump zone and dump the contents of the bin (but not the bin itself.)
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

taptap

  • Bay Watcher
    • View Profile
Re: Minecarts & Quantum Stockpiles
« Reply #12 on: November 19, 2016, 05:00:32 am »

They might not be taking from the quantum stockpiles but the minecarts holding the stuff before being dumped. They're right next to each other so it's hard to tell what square they're taking from.

Things should not stay in minecarts for any length of time if things are set up correctly. The way you describe it seems off. (Either the output does not accept everything or your hauling route has a faulty take from stockpile link or you accidentally dump in the wrong direction with your trackstop or some other weirdness.)

My setup:
input stockpile / stockpiles: single to a few tiles, take from anywhere, no bins etc. but can feature wheelbarrows (wheelbarrows take a tile when stored in stockpile)
output / quantum stockpile: single tile, take from links only
trackstop: set to dump on arrival to output stockpile
hauling route: route stop on trackstop, set to accept exactly the items you want in your output stockpile and nothing more, no departure condition, take from stockpile link to the input, assigned minecart