Page 1 of 1

[0.14.19] [Twinsen] belt moves even with contition not fullfilled

Posted: Mon Nov 07, 2016 3:17 pm
by gheift
I have connected a belt to a pole and set a condition to stop it if a specific item is on it. But the items on the belt moves forward even if the belt is stopped. I could reproduce a small testcase and it looks like the build order is important.
moving-belt-1.png
moving-belt-1.png (305.99 KiB) Viewed 5149 times
moving-belt-2.png
moving-belt-2.png (324.88 KiB) Viewed 5149 times
moving-belt-3.png
moving-belt-3.png (330.21 KiB) Viewed 5149 times
moving-belt-4.png
moving-belt-4.png (352.58 KiB) Viewed 5149 times

Re: [0.14.19] belt moves even with contition not fullfilled

Posted: Mon Nov 07, 2016 3:40 pm
by kinnom
the way you've set it up enables the belt when there are circuits on it. NaB

Re: [0.14.19] belt moves even with contition not fullfilled

Posted: Mon Nov 07, 2016 3:48 pm
by gheift
No, the belt should be disabled, if there is a circuit on it. When a circuit enters the belt, the animation stops, but the circuit still moves forward. In this state no new circuit enters the belt, only if the current one leaves the belt, the next one enters.

Re: [0.14.19] [Twinsen] belt moves even with contition not fullfilled

Posted: Mon Nov 07, 2016 4:35 pm
by kinnom
I misunderstanded the OP, my bad

Re: [0.14.19] [Twinsen] belt moves even with contition not fullfilled

Posted: Tue Nov 08, 2016 10:58 am
by Twinsen
Something fishy is happening indeed. Thanks for the save, looking into it.

Re: [0.14.19] [Twinsen] belt moves even with contition not fullfilled

Posted: Tue Nov 08, 2016 1:02 pm
by Twinsen
Fixed in Version: 0.14.20.

Thanks for the minimal test case save file, it was very helpful.

Re: [0.14.19] [Twinsen] belt moves even with contition not fullfilled

Posted: Tue Nov 08, 2016 1:12 pm
by gheift
I have another save. Looks like if the belt with the circuit is directly connected to an underground belt on its left site, the underground belt "sucks" items from the stopped belt if an item travels inside the underground belt.

Edit: Damn, too lateā€¦

Thanks for fixing!

Re: [0.14.19] [Twinsen] belt moves even with contition not fullfilled

Posted: Tue Nov 08, 2016 1:49 pm
by Twinsen
Loaded the second save and everything seems to work fine.