Page 1 of 1

[0.13][Twinsen] signal go to green due to wrong reason

Posted: Mon Jun 27, 2016 9:48 pm
by fregate84
Hello,

I have a problem. I have a "train garage". All trains go to garage on each loop to check if I need to send them back.
On each lane, I have a signal, who go to red with circuit network condition.
ScreenShot005.jpg
ScreenShot005.jpg (314.76 KiB) Viewed 3264 times
Signal is red when iron > 50k on lane 2 and 3 : "1" on the image. it is the case (see screenshot 2) .
But when the left train come (train "2" on screenshot 1), for him, the condition is iron > 100k, so signal is green (normal).

BUT !!! after the left train pass trough, the 2 trains on the middle go away, and signals on way 2 and 3 are block to green.

I think dev didn't think that signal with circuit condition MUST remain to red even if the train signal just after itself go from red to green.
ScreenShot007.jpg
ScreenShot007.jpg (19.18 KiB) Viewed 3264 times
ScreenShot006.jpg
ScreenShot006.jpg (82.18 KiB) Viewed 3264 times

Re: [0.13][Twinsen] signal go to green due to wrong reason

Posted: Tue Jun 28, 2016 9:36 am
by Twinsen
Can you upload the save for easier testing? Thanks

Re: [0.13][Twinsen] signal go to green due to wrong reason

Posted: Tue Jun 28, 2016 9:55 am
by fregate84
https://www.dropbox.com/s/rxn3pd1vbt8fh ... l.zip?dl=0

Just need to put to "automatic" the left train, to "see" the bug on trains from lane 2 and 3.

Re: [0.13][Twinsen] signal go to green due to wrong reason

Posted: Tue Jun 28, 2016 10:08 am
by therhodanist
This seems to happen everytime the corresponding Block switches from occupied to unoccupied

First block free and signal is red override with the combinator
Factorio_2016-06-28_12-00-03.png
Factorio_2016-06-28_12-00-03.png (677.58 KiB) Viewed 3185 times
Next train is placed inside, either from Inventory or drivin in from another block
Factorio_2016-06-28_12-00-26.png
Factorio_2016-06-28_12-00-26.png (557.67 KiB) Viewed 3185 times
After the locomotive is removed or a train passed into the next block above the signal switches to green
Factorio_2016-06-28_12-00-46.png
Factorio_2016-06-28_12-00-46.png (527.9 KiB) Viewed 3185 times

Re: [0.13][Twinsen] signal go to green due to wrong reason

Posted: Tue Jun 28, 2016 10:13 am
by Twinsen
Thanks for the clarification

Re: [0.13][Twinsen] signal go to green due to wrong reason

Posted: Wed Jun 29, 2016 11:58 am
by Twinsen
Fixed in Version 0.13.2