[kovarex] [0.16.17] Priority splitter can stop unblocked lane

This subforum contains all the issues which we already resolved.
pib
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Thu Jan 01, 2015 9:43 pm
Contact:

[kovarex] [0.16.17] Priority splitter can stop unblocked lane

Post by pib »

In my testing, this is very specific to this location, so I'm not sure what is going on. I can remove the splitter and all the belts, and set it up the same as it is now, and the bug persists. By this i mean red belt input - red splitter-> (Left) red belt output + (Right) curved yellow belt (priority output). See the image.

when the yellow belt is not moving, there is no output on the red belt. If i change things slightly (yellow belt is straight, or red, or not priority), things work normally. It might also be only be happening to the green circuit belt.
Attachments
Screen Shot 2018-01-22 at 12.48.55 PM.png
Screen Shot 2018-01-22 at 12.48.55 PM.png (543.42 KiB) Viewed 8187 times
erkle
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jan 22, 2018 9:45 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by erkle »

Got the same problem here. It will sometimes let one lane through. It looks like it might be that the items on the prioritized output line might be a few pixels out of the splitter, preventing it from detecting them.
Attachments
Splitter.png
Splitter.png (275.85 KiB) Viewed 8157 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3025
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by boskid »

Confirm. it is most likely to happen when priority lane is deconstructed by hand after first priority output belt. This may be related to rebuilding of internal structure representing belt not notifying spliter or something like this.

In attachment my save with extracted problem. 40x40 map, 42 seconds of replay data. When priority output belt is cut, input will stall even if there is alternate output. It is highly reliable way to reproduce bug.
Attachments
SpliterFailOnOutputPriority.zip
(1.08 MiB) Downloaded 173 times
jmurrayufo
Inserter
Inserter
Posts: 32
Joined: Sat Jun 13, 2015 8:02 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by jmurrayufo »

I can reproduce this on blue belts without destroying anything, so I don't think it's that. I can create a loop on one side, and a stub on the other to test and the loop will often go once around before reaching it's error state.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by TruePikachu »

This is probably related to the bug with regular splitters sometimes not compressing or working at full throughput, but far more apparent because of how the priority splitting works.
kitcat
Long Handed Inserter
Long Handed Inserter
Posts: 67
Joined: Wed Apr 26, 2017 3:11 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by kitcat »

If you switch on show-transport-lines (in the F4 menu), you’ll see what happens. Whenever a belt near the splitter is modified, the transport lines are re-calculated and under certain conditions, output lanes stop and never continue. Lanes only stop if the backed-up item count on a priority lane is even. You can check this by hovering over the splitter and looking at the info box. If there is no item shown on the priority lane, the item count is even and the corresponding non-prioritized lane might stop. If there is an item, the item count is uneven and the lane might stop. That’s why the length and direction of the prioritized output matters. The order in which the belts are placed also seems to matter somewhat.

Attached is probably the easiest way to reproduce the problem. Savegame with replay and the scenario from which it was started. Make sure to enable show-transport-lines beforehand.
Attachments
Blocked splitter in action
Blocked splitter in action
BlockedSplitter.png (103.21 KiB) Viewed 7103 times
Blocked Priority Splitter.zip
Blocked splitter savegame with replay
(518.31 KiB) Downloaded 156 times
BlockedSplitterScenario.7z
Scenario for blocked splitters
(24.81 KiB) Downloaded 158 times
User avatar
Philip017
Filter Inserter
Filter Inserter
Posts: 360
Joined: Thu Sep 01, 2016 11:21 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by Philip017 »

i posted a similar bug report in another bug report i think all these are related
viewtopic.php?f=7&t=56968&p=337247#p337247
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3025
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by boskid »

As per [0.16.20] this bug still exists despite some changes to splitters mentioned in changelog
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: [16.17] Priority splitter can stop unblocked lane

Post by impetus maximus »

boskid wrote:As per [0.16.20] this bug still exists despite some changes to splitters mentioned in changelog
it's in the 'Assigned' section, so i'm sure they will work on it. :)
User avatar
Impatient
Filter Inserter
Filter Inserter
Posts: 883
Joined: Sun Mar 20, 2016 2:51 am
Contact:

Re: [kovarex] [0.16.17] Priority splitter can stop unblocked lane

Post by Impatient »

I assume this bug is a result of the belt optimizations in conjunction with the new priority splitters. The lanes on the optimized belts do treat compressed items on them not individually but each sequence of compressed items as one "sequence". There is one calculation per sequence and not one per item anymore. This is how i understood the big belt optimization in 0.16.
I assume there is a bug that shows when a sequence spans from the end of the belt back to the splitter. The gif above, that shows that the priority splitter acts differently depending on the length of the belt and/or if there is a turn would fit that assumption. Maybe the splitter does not recognize that the sequence spans back into the splitter if its "center" is some pixel off +-, which happens when the lane makes an inner or outer turn. or maybe it is a rounding problem in calculations including item "length" on the lane , lane length on multiples of straight belt tiles or bent belt tiles and the length of a sequence.

@devs: post the cause of the bug here please, when you fixed it. i wonder if my guesswork and my assumptions are anywhere near the truth.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.16.17] Priority splitter can stop unblocked lane

Post by kovarex »

Fixed for the next release.

@Impatient, sorry but your assumption is not correct :)
User avatar
Philip017
Filter Inserter
Filter Inserter
Posts: 360
Joined: Thu Sep 01, 2016 11:21 pm
Contact:

Re: [kovarex] [0.16.17] Priority splitter can stop unblocked lane

Post by Philip017 »

its working much better now thanks! :)
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: [kovarex] [0.16.17] Priority splitter can stop unblocked lane

Post by impetus maximus »

Philip017 wrote:its working much better now thanks! :)
+1 many thanks. :)
Post Reply

Return to “Resolved Problems and Bugs”