[0.12.22] [Dominik] Train block its own path with chain signals

This subforum contains all the issues which we already resolved.
Blue_Lucario
Inserter
Inserter
Posts: 33
Joined: Tue Jan 27, 2015 12:05 am
Contact:

[0.12.22] [Dominik] Train block its own path with chain signals

Post by Blue_Lucario »

This is a miner annoyance more then a bug.

The train can't get to the station because there is a train on the tracks. :lol:


preview.png
preview.png (414.67 KiB) Viewed 38635 times

This should never happen on its own but I found one like this on a loop in my world.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3713
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by DaveMcW »

Bad roundabout design, you need a normal signal on the exit.

Blue_Lucario
Inserter
Inserter
Posts: 33
Joined: Tue Jan 27, 2015 12:05 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by Blue_Lucario »

Dear DaveMcW,
My design is something more like this.
The four chain signals are so trains can go straight or turn right without blocking the whole roundabout.
preview.png
preview.png (467.76 KiB) Viewed 38592 times

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3713
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by DaveMcW »

Ok, so it does get stuck if the train goes down the wrong path.

The question is, how did the train go down the wrong path in the first place?

Cbrad24
Inserter
Inserter
Posts: 29
Joined: Sun Dec 20, 2015 4:36 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by Cbrad24 »

He said himself it can't happen on its own. This is only possible if your train is manually stopped or runs out of fuel in the middle of your intersection, AND is told to basically do a U-Turn (in this instance go South). Because of the trains length its occupying 2 blocks, which is blocking itself.

The devs can't do anything to solve this as everything is working as it should (unless you give temporary powers to ignore signalling). Making trains ignore signals turned red by themselves would result in cases where trains will collide with their tail end. If you still get annoyed by this then to solve it you will have to either make the roundabout larger to accommodate for the length of your trains, or shorten your trains length.
Also a temporary fix as opposed to getting in the train is change the signal in front of it to a normal one for a second.

I scribbled over your image to help you understand why its gone wrong.
preview.png
preview.png (573.99 KiB) Viewed 38525 times
Last edited by Cbrad24 on Mon Feb 01, 2016 12:57 am, edited 2 times in total.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by ssilk »

It could be solved if the game would do a simulation in that case: What would happen, if the signals where green instead and I move anyways? Will I hit myself or not?

I guess: This is too complex for this low number of cases...
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Cbrad24
Inserter
Inserter
Posts: 29
Joined: Sun Dec 20, 2015 4:36 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by Cbrad24 »

IMHO nothing needs to be done. Automated trains will NEVER do a 450 degree loop (1.25 rotations), so even the longest Factorio train in the world won't get stuck. It can't get stuck any other way than manually forcing it to jam up.
Unless I'm missing something here OP?

Blue_Lucario
Inserter
Inserter
Posts: 33
Joined: Tue Jan 27, 2015 12:05 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by Blue_Lucario »

I have been testing an 8 lain 4 way intersection for fun and this post.
4 rings inside each other and 16 intersecting strait lanes add about 20-30 trains running around like crazy...
...and you get this. Twice. :)
It did it by its self.
And yes I did windup making the center loop bigger and it stopped happening.

Not a very big problem. I just thought I would like to bring it to the attention of the bug list.
I am trying to report more stuff for the steam addition. :)

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by ssilk »

Cbrad24 wrote:IMHO nothing needs to be done. Automated trains will NEVER do a 450 degree loop (1.25 rotations), so even the longest Factorio train in the world won't get stuck. It can't get stuck any other way than manually forcing it to jam up.
Unless I'm missing something here OP?
You don't need to make 450 degrees. I've a setup, where I have such a circle, that the train comes in from the left side, makes a 270 degrees loop and goes out into down direction. Nearly equivalent to this setup, but with the distinction, that it is not possible to go down, when you come from left (the reason, why it makes a 270 degrees loop).

This deadlocks, if the train needs to wait inside the loop (cause a train comes from up for example), but works nice in all other cases. After resolving the deadlock I need to restart the train by hand.

But I admit: This is really a rare case.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...


Cbrad24
Inserter
Inserter
Posts: 29
Joined: Sun Dec 20, 2015 4:36 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by Cbrad24 »

ssilk wrote:You don't need to make 450 degrees. I've a setup, where I have such a circle, that the train comes in from the left side, makes a 270 degrees loop and goes out into down direction. Nearly equivalent to this setup, but with the distinction, that it is not possible to go down, when you come from left (the reason, why it makes a 270 degrees loop).

This deadlocks, if the train needs to wait inside the loop (cause a train comes from up for example), but works nice in all other cases. After resolving the deadlock I need to restart the train by hand.

But I admit: This is really a rare case.
I'm trying real hard but I just can't see how the train would ever have to wait in the intersection? From my point of view this whole thread is just an issue of signal design being prone to overlooked scenarios, but you're all making me feel like I've missed some big secret :|

The only thing I can envision to replicate ^that is one of your entrances isn't chain signaled? Someone help me replicate this

User avatar
MasterBuilder
Filter Inserter
Filter Inserter
Posts: 353
Joined: Sun Nov 23, 2014 1:22 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by MasterBuilder »

I have a design that has caused this to happen. It's very rare, like only two-three occurrences in this game.
Thing is it doesn't always dead-lock. I can cause the train to do a loop but never made it lock on command from said loop.

Here's a pic of the train's expected path being a loop: (And it doesn't deal-lock while making the loop either.) (Using 0.12.21)
Trainlock.png
Trainlock.png (4.11 MiB) Viewed 29758 times
I can even cause this to happen but that's not enough for a dead-lock.
Trainlock2.png
Trainlock2.png (4.23 MiB) Viewed 29751 times
Give a man fire and he'll be warm for a day. Set a man on fire and he'll be warm for the rest of his life.

orzelek
Smart Inserter
Smart Inserter
Posts: 3921
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by orzelek »

Do check if dead lcok persists through save/load cycle.

If it does save would be very useful for diagnosis.

Blue_Lucario
Inserter
Inserter
Posts: 33
Joined: Tue Jan 27, 2015 12:05 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by Blue_Lucario »

Hay MasterBuilder, what mods are you using? Your trains look amazing!

User avatar
MasterBuilder
Filter Inserter
Filter Inserter
Posts: 353
Joined: Sun Nov 23, 2014 1:22 am
Contact:

Re: [0.12.22] Trains block there own path with chain signals

Post by MasterBuilder »

Blue_Lucario wrote:Hay MasterBuilder, what mods are you using? Your trains look amazing!
Yuoki Industries Railways
Give a man fire and he'll be warm for a day. Set a man on fire and he'll be warm for the rest of his life.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.12.22] Train block its own path with chain signals

Post by HanziQ »

I'm not sure if I consider this a bug, if I allow this, it would be possible for a long train to hit itself.

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

Re: [0.12.22] Train block its own path with chain signals

Post by Rseding91 »

HanziQ wrote:I'm not sure if I consider this a bug, if I allow this, it would be possible for a long train to hit itself.
I'm in favor of this :D
If you want to get ahold of me I'm almost always on Discord.

Kevin94
Inserter
Inserter
Posts: 46
Joined: Mon Dec 08, 2014 10:39 pm
Contact:

Re: [0.12.22] Train block its own path with chain signals

Post by Kevin94 »

I've found another type of that problem:
ChainSignalDetail.png
ChainSignalDetail.png (606.77 KiB) Viewed 28557 times
ChainSignalMap.png
ChainSignalMap.png (8.93 KiB) Viewed 28557 times
The Signals in the track-triangle are all chain signals. The train should take the roundabout and leave where it has come from.

It's no issue that has to be solved, as it is no problem at all to add normal signals or a parallel track to solve this. My whole Train Network in this world is just a WIP. Just wanted to mention it.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.12.22] [Martin] Train block its own path with chain signals

Post by HanziQ »

Ok, I will change the behavior, but I'm postponing this till 0.13

jarcionek
Fast Inserter
Fast Inserter
Posts: 137
Joined: Thu Mar 10, 2016 11:26 am
Contact:

Re: [0.12.22] Train block its own path with chain signals

Post by jarcionek »

Kevin94 wrote:I've found another type of that problem:
ChainSignalDetail.png
ChainSignalMap.png
The Signals in the track-triangle are all chain signals. The train should take the roundabout and leave where it has come from.

It's no issue that has to be solved, as it is no problem at all to add normal signals or a parallel track to solve this. My whole Train Network in this world is just a WIP. Just wanted to mention it.
Kevin, this is bad design of your rail network. The roundabout should be separated with the signal (more precisely a pair of them so the trains can go both ways). Because you have chain signal it will still not allow any train to go to the roundabout, even if another train is there.

Post Reply

Return to “Resolved Problems and Bugs”