Page 1 of 1

[0.12.2] [kovarex] Train clears signal block too quickly

Posted: Thu Aug 06, 2015 9:40 am
by Rhamphoryncus
I found a case where a train clears a block even though the tail end still sticks into it, potentially leading to a collision with another train. In the pic the wagon represents an eastbound train that gets hit.

Image

Save file, mods are FAT controller 0.2.4, FARL 0.3.14, railtanker 1.0.1, landfill 2.1.5, transformator 0.0.4, rso 1.0.3, and blueprint-string 2.0.2.

Re: [0.12.2] [kovarex] Train clears signal block too quickly

Posted: Thu Aug 13, 2015 1:21 pm
by kovarex
I put some thought into this one, and as there might be other solutions, these solutions would require quite dangerous rewrites, so I chose a very simple, but working solution:
changelog wrote: Two trains never collide as long as they don't share a train block, this solves some problematic situations, where the end of the train collided with different track a little, while it was technically on different block already.
Fixed for 0.12.4