Rift Rail (裂隙铁路)


为你的工厂带来跨表面、跨空间的铁路运输体验。支持 LTN、Cybersyn 等物流系统,兼容多种大型模组,自动化远距离运输,极大提升物流效率。

Content
10 hours ago
2.0
671
Transportation Logistics Trains Cheats

g error

5 days ago

Loco was set to go through station with 2 cargo wagons attached, loco made it through but wagons didn't, station showed WARNING.

Removed receive station and incurred error:

The mod Rift Rail (0.7.27) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RiftRail::on_tick (ID 0)
Trying to change direction of automatic train moving on a path.
stack traceback:
[C]: in function 'newindex'
__RiftRail
/scripts/teleport.lua:473: in function 'restore_train_state'
RiftRail/scripts/teleport.lua:547: in function 'finalize_sequence'
RiftRail/scripts/teleport.lua:609: in function 'process_transfer_step'
RiftRail/scripts/teleport.lua:1044: in function 'process_teleport_sequence'
RiftRail/scripts/teleport.lua:1074: in function 'on_tick'
RiftRail/control.lua:179: in function <RiftRail/control.lua:177>

5 days ago

Thank you. I'll check it out.

5 days ago

I can imagine why the error occurred, but I can't reproduce it. I built a similar scenario based on your description, but it didn't crash, which I find very strange. I created a train consisting of one locomotive and four carriages, first transferring the locomotive, then removing the station, and everything worked fine. Did I do something wrong?

4 days ago

I've found the problem. It's because the railway is bidirectional, right? After removing the current station, the train has to reverse to reach the next station. This is indeed a problem, and I haven't figured out how to solve it yet. Currently, setting up one-way traffic lights prevents the error from triggering. I'll look into it further. But a solution might be a little later.

New response