Robots fill far away storage chests?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
User avatar
Nova
Filter Inserter
Filter Inserter
Posts: 958
Joined: Mon Mar 04, 2013 12:13 am
Contact:

Robots fill far away storage chests?

Post by Nova »

I have no idea how construction robots decide where to store items from deconstructed chests - in storage chest, but where? I have some all over the base, and after deconstucting a filled chest, the robots start to store the items in chest at the other side of the base, but why? There's no reason for that and it crestes many problems, because the robots have not enough energy to fly all the way and then need to reload up to three times. The are many empty storage chests much closer. Why don't they fill the items in that chest?
Is that a bug or am I not able to understand the mechanism how they decide which chest to use?
Greetings, Nova.
Factorio is one of the greatest games I ever played, with one of the best developers I ever heard of.

roy7
Filter Inserter
Filter Inserter
Posts: 341
Joined: Fri Dec 12, 2014 4:24 pm
Contact:

Re: Robots fill far away storage chests?

Post by roy7 »

They will chose the nearest storage chest that already has at least 1 of that item in it.

User avatar
Xterminator
Filter Inserter
Filter Inserter
Posts: 981
Joined: Sun Jun 15, 2014 4:49 pm
Contact:

Re: Robots fill far away storage chests?

Post by Xterminator »

roy7 wrote:They will chose the nearest storage chest that already has at least 1 of that item in it.
Yup exactly. Personally I think it's a bit silly for them to do this. I think it would just be better for them to store things in the nearest chest, regardless of if there is any other of the item type there.
Image Image Image

User avatar
Nova
Filter Inserter
Filter Inserter
Posts: 958
Joined: Mon Mar 04, 2013 12:13 am
Contact:

Re: Robots fill far away storage chests?

Post by Nova »

I would like a system like that for which roboport is used if a robot wants to recharge - distance and already waiting robots will be taken into account. How about the same for storage chest? Item will be stored in chests which already contain some of the item type, but only if they are not too far away.

For some items it would be better if they were distributed over the whole base, but I don't know how to to that without creating new problems. ^^
Greetings, Nova.
Factorio is one of the greatest games I ever played, with one of the best developers I ever heard of.

Nemoricus
Fast Inserter
Fast Inserter
Posts: 227
Joined: Mon Jan 19, 2015 7:48 am

Re: Robots fill far away storage chests?

Post by Nemoricus »

Nova wrote:I would like a system like that for which roboport is used if a robot wants to recharge - distance and already waiting robots will be taken into account. How about the same for storage chest? Item will be stored in chests which already contain some of the item type, but only if they are not too far away.

For some items it would be better if they were distributed over the whole base, but I don't know how to to that without creating new problems. ^^
Using requester chests isn't an option?

twepy
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue Apr 28, 2015 6:19 pm
Contact:

Re: Robots fill far away storage chests?

Post by twepy »

Stuff inside a requester chest isnt available for grabs by the bots, u need a (smart) inserter to move a certain amount in a provider chest to make them available again and have in theory crude division of the particular item. To make it a little bit better you would have connect all the storage chests and provider chests in one circuit network, then use a arithmetic combinator to calculate how much each storage location should have and feed that signal to the smart inserters. However the real problem is that its not possible to reserve items in a chest and it could lead to the situation that bots take items from a balanced chest to provide the demand of another chest and now the first chest is unbalanced.

I think it would be possible with belts and smart inserters to accomplish it but its not easy thing to build.

User avatar
Nova
Filter Inserter
Filter Inserter
Posts: 958
Joined: Mon Mar 04, 2013 12:13 am
Contact:

Re: Robots fill far away storage chests?

Post by Nova »

I have no idea how to solve this problem. With large bases, the problem with extremly long flight routes becomes much more prominent - I have 151k iron plates in the network, but my robots need minutes to deliver them to the requester chests, because of this behaviour the construction robots have delivered the iron into chests many tiles far away.
Greetings, Nova.
Factorio is one of the greatest games I ever played, with one of the best developers I ever heard of.

twepy
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue Apr 28, 2015 6:19 pm
Contact:

Re: Robots fill far away storage chests?

Post by twepy »

A fairly simple solution is to separate the base in several standalone roboport zones instead of having one big connected roboport zone and use belts to distribute items to the different zones and have the bots in that zone distribute to the buildings within that zone. A very common example is the ore receive area which is separate roboport zone of the rest of the base, this forces the bots serving that zone to stay local and have short flying routes, which improves the processing rate of the receive stations.

Chromehound
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Mar 09, 2016 7:38 pm
Contact:

Re: Robots fill far away storage chests?

Post by Chromehound »

What if you manually put in an item, thus making it the closest storage chest of that particular item?

R-800
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat May 19, 2018 5:04 am
Contact:

Re: Robots fill far away storage chests?

Post by R-800 »

What if you manually put in an item, thus making it the closest storage chest of that particular item?
I actually tried this, and made an interesting discovery. Because as it turns out, construction robots don't always put items in chests that have at least one instance of that item already in it. Sometimes, they still go to a further one, even when a nearer one has the same item in it.

It turns out that their behavior updates with the player placing an item in a chest. The bots put items in the nearest chest containing the same kind of item PROVIDED that it was the most recent chest to have that item placed in it by the player. So when bots are putting items in chests that are too far away, it is because the player previously placed this same kind of item in that far-away chest (and likely doesn't remember doing this). The "travelling too far" bot behavior will return once again upon the player putting the same kind of item in a farther away chest, and then ordering a new deconstruction. This is because that too-far-away chest will now be the nearest chest to contain the same item, where it was also MOST RECENTLY put there by the player.

Post Reply

Return to “Gameplay Help”