[kovarex] Rolling Stock Connection Failure On A Split-Off

Bugs that are actually features.
modrusis
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Dec 18, 2018 12:37 am
Contact:

[kovarex] Rolling Stock Connection Failure On A Split-Off

Post by modrusis »

I split a train in half (Pic 1) while building a station. Then as I was trying to get it to reconnect I noticed that the bottom half of the train is unable to connect to the top half. (Pic 2) Then I tried to connect the top to the bottom, it also would not connect (Pic 3). At this point I moved the bottom train slightly, you can note the distance moved by referencing the signal light on the car carrying the stack inserters. Then I tried again and the bottom half still wouldn't connect (Pic 4) but the top half finally did get the connection completed. (Pic 5) I'm sure this has to do with it being right on the split, but I thought it may be something to be fixed.

Save File:
https://drive.google.com/file/d/1CJ-9Gs ... sp=sharing

stuff
Attachments
factorio-current.log
(5.44 KiB) Downloaded 122 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] Rolling Stock Connection Failure On A Split-Off

Post by kovarex »

Well, when you build the wagon in a split in a way, that it branches to different rail, it just can't connect, I wouldn't consider this to be a bug.
User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 794
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [kovarex] Rolling Stock Connection Failure On A Split-Off

Post by ickputzdirwech »

As I understand it the problem is a bit different. Take the following minimal setup:
connected wagons.png
connected wagons.png (237.45 KiB) Viewed 1267 times

  1. If the train is connected then disconnect it.*
  2. Try to connect it again by hovering over the wagon on the left (the one on the straight rail). It will fail.
  3. Try to connect it again by hovering over the wagon on the right (the one on the curved rail). It will work!
* As you can see in the image the wagons are connected in the original setup. But sometimes when you build them with robots they are not connected. From my testing this depends on the build order. If the one on the straight rail is build first, they will connect. Otherwise they won't connect. I did a search for this and it looks like this is a minimal case for this topic: 76063.
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] Rolling Stock Connection Failure On A Split-Off

Post by kovarex »

It actually makes sense, because the wagon on the right has only one way how to continue searching, while the one on the left has natural way to go straight.

The general rule is, that if you want your trains to work reliably in blueprints, don't blueprint rails in intersections.

I mean, yes, it could be solved somehow, with a lot of work, but I prefer to keep this part of the code simple.
Post Reply

Return to “Not a bug”