[0.16.27] Requesting from buffer chests gives chest supply priority

Bugs that are actually features.
Post Reply
Zanostra
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Mon Apr 03, 2017 8:03 pm
Contact:

[0.16.27] Requesting from buffer chests gives chest supply priority

Post by Zanostra »

I stumbled on a logistic chest bug again.
The requester chests have this nice option where you can allow them to request from buffer chests. ( I love it )
But if one ( or more ) of the requester chests is allowed to receive an item from buffer chests, then the other requester chests do not get that item anymore at all.
requester chest.jpg
requester chest.jpg (141.75 KiB) Viewed 1280 times
with or without mods, I can reproduce whenever I want with the setup in this screenshot.
both request iron, provided by the passive provider chests.
if both unchecked, both receive iron.
if both checked, both receive.
if 1 of them is checked, the other will not receive.
And I'm pretty sure that a requester should always receive from a passive provider.

Loewchen
Global Moderator
Global Moderator
Posts: 6011
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.16.27] request from buffer chests inconsistency

Post by Loewchen »

Can not reproduce, post a save with the issue please.

Zanostra
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Mon Apr 03, 2017 8:03 pm
Contact:

Re: [0.16.27] request from buffer chests inconsistency

Post by Zanostra »

when I tried again it didn't happen, I was very surprised, but I managed to do it again.
the requested amount needs to be more then the system can provide in.
a vanilla save file in the attachment.
Attachments
requester chest bug sandbox.zip
(4.16 MiB) Downloaded 13 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 10882
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.27] Requesting from buffer chests gives chest supply priority

Post by Rseding91 »

Thanks for the report. This is working correctly:

The way you've set up the belts the items trickle into the provider chests and the requester chest requesting from buffers is never satisfied.

Each time items are added to the provider chest a robot is sent out that same tick or next to move them. That consumes all of the "supply" of plates and the game stops trying to dispatch robots to requester chests asking for iron that tick.

If you have > 1 robots worth of iron in a provider chest the game will send 1 robots worth to the left chest then the rest up to 1 robots worth to the right chest each tick.
If you want to get ahold of me I'm almost always on Discord.

Zanostra
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Mon Apr 03, 2017 8:03 pm
Contact:

Re: [0.16.27] Requesting from buffer chests gives chest supply priority

Post by Zanostra »

so if I understand this correctly, they should be almost evenly divided when all of the materials get in at the same time?
because 1 robot carrying ( ~6 ) plates goes to the left one, and then the second goes to the right one until all is dispatched?

After you post I tried this, ( by using the uploaded savegame )
I removed all of the inserters, and took all plates in player inventory ( 500 metal )
both chests still requesting the 500 plates with one of them still checked the buffer chest option and the other not.
then I put all the 500 plates at once in one of the providers, so in 1 tic all 500 were present to be divided.
and still all of the plates went to the checked box chest.

I took the plates again and set both requests to 400,
put the 500 plates in a provider, again at once,
and the checked box chest got 400 and the other one the remaining 100.

so I still think the checked box chest gets priority until his demand is fully met, even if there is more than one robot cargo load available and enough robots idle to receive the orders.

EDIT*
I updated the save with some combinator logic so that the requester chests only make their requests when all robots and all plates are available at the same tic.
so you don't have to change anything anymore after opening the save.
Attachments
requester chest bug sandbox.zip
(4.2 MiB) Downloaded 10 times

User avatar
Szpak
Inserter
Inserter
Posts: 33
Joined: Wed Dec 13, 2017 6:25 pm
Contact:

Re: [0.16.27] Requesting from buffer chests gives chest supply priority

Post by Szpak »

req bug.jpg
req bug.jpg (197.87 KiB) Viewed 1017 times
I hope it is a bug not a feature. Requester with 'request from buffer..' have priority over other requesters. If a demand is greater that current stock, requesters with this option enabled will be satisfied first.

Rseding91
Factorio Staff
Factorio Staff
Posts: 10882
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.27] Requesting from buffer chests gives chest supply priority

Post by Rseding91 »

Szpak wrote:
req bug.jpg
I hope it is a bug not a feature. Requester with 'request from buffer..' have priority over other requesters. If a demand is greater that current stock, requesters with this option enabled will be satisfied first.
that's working as intended.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Szpak
Inserter
Inserter
Posts: 33
Joined: Wed Dec 13, 2017 6:25 pm
Contact:

Re: [0.16.27] Requesting from buffer chests gives chest supply priority

Post by Szpak »

that's working as intended.
Well in this case, it would be great if a reqester had another option: Request ONLY from buffer chest.
It would solve not only this problem but also a logistic loops in some cases.

Progman
Inserter
Inserter
Posts: 36
Joined: Sun Jul 10, 2016 10:45 am
Contact:

Re: [0.16.27] Requesting from buffer chests gives chest supply priority

Post by Progman »

Rseding91 wrote:
Mon May 28, 2018 1:06 pm
Szpak wrote:req bug.jpg

I hope it is a bug not a feature. Requester with 'request from buffer..' have priority over other requesters. If a demand is greater that current stock, requesters with this option enabled will be satisfied first.
that's working as intended.
I ran in the same situation as well and stumble on this thread.

Can you explain the logic why there is a priority for a requester chest with the "Request from buffer chests" flag set when there aren't any buffer chests (only normal passive provider chests)?

Post Reply

Return to “Not a bug”

Who is online

Users browsing this forum: No registered users