EarendelDevelopers / factorio-mods

This is a public repository for tracking issues with Earendel's factorio mods.
19 stars 3 forks source link

Space Elevator changes order of non-standard-sized rolling stock #289

Open aloosen opened 1 year ago

aloosen commented 1 year ago

When using non-standard sized rolling stock (like "Space Trains" mod's mini trains), sometimes the elevator changes the order from L-C-L to L-L-C. I've never seen this happen with standard sized rolling stock.

I have the impression that this happens more often when the Elevator is low on cables.

Wiwiweb commented 1 year ago

Can you post a save file that can reproduce this issue?

aloosen commented 1 year ago

Done. Just enable the signals on both ends to let the fun begin. test.zip

My impression is: The elevator starts messing things up when it has to transport one train up and one down at the same time.

Wiwiweb commented 1 year ago

Thanks for the extremely clear reproduction save file, that was super helpful.

This seems to be a combo of 2 bugs: 1) When 2 trains come into the elevator at the same time (one going down, one going up), one of them is forced to stop until the other one has passed. 2) If a train with small carriages goes through the elevator at slow speed (e.g. stopped inside the elevator entrance, then the elevator is unblocked), the position we teleport carriages to may get Factorio to nudge the 2nd carriage in front of the 1st carriage.

The 1st is an easy fix and will be fixed next update. The 2nd will be harder to fix without breaking it for regular locomotives and will take a bit more time.

At least, with the 1st bug fixed, you won't have any trouble as long as your elevator is not blocked.