Rift Rail (裂隙铁路)


If the game allows railways to exist, then they deserve the right to cross planets portals for cross-surface train teleportation. Supports cybersyn2 and LTN for automated logistics. 如果游戏允许铁路存在,那铁路就该拥有跨越星球的资格 跨地表铁路传送门。支持cybersyn2和LTN 自动化物流。

Content
a day ago
2.0
1.87K
Transportation Logistics Trains Cheats

b [修复]bug with LTN?

2 months ago

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

Error while running event RiftRail::Custom event (ID 374)
ScheduleRecord must specify station or rail.
stack traceback:
[C]: in function 'add_record'
RiftRail/scripts/ltn_compat.lua:188: in function 'add_station_to_schedule'
RiftRail/scripts/ltn_compat.lua:271: in function 'on_dispatcher_updated'
RiftRail/control.lua:204: in function <RiftRail/control.lua:202>
stack traceback:
[C]: in function 'raise_event'
LogisticTrainNetwork/script/dispatcher.lua:226: in function <LogisticTrainNetwork/script/dispatcher.lua:208>
LogisticTrainNetwork/script/dispatcher.lua:264: in function <LogisticTrainNetwork/script/dispatcher.lua:260>

2 months ago
(updated 2 months ago)

I am currently unable to access the game for testing as I am in the hospital.
However, I have reviewed the current script logic, and theoretically, this error should not occur with the valid entities. It is highly likely caused by "dirty data" persisting from an older version (where a non-station entity might have been incorrectly registered to LTN).
Since I cannot trace back through older versions at the moment, could you please try the following:
Mine and rebuild the Rift Rail entities (especially if they were placed in a previous version).
Try using the "Clean Connections" (or Reset) option in the Mod Settings to clear out any invalid data.
I am not 100% sure if this will resolve the issue immediately, but it is the best workaround for now. I will investigate this in more detail once I am back at my computer.
Thanks for your understanding.

2 months ago

i do not have any rift rail entities as i had to remove it to even load save, as i still used version 0.0.6 version. Which removed all entities and i removed all rift rail train stops from any train that used them. But after reenabling it, this always happened at same time (LTN tries probably create train)
i tried that clean connections reset in settings, but it didnt seemed to help.
https://i.imgur.com/jkdDPL4.png

2 months ago
(updated 2 months ago)

ok, so i did "continuous" update. i downloaded about 12 versions between 0.0.6 and up till the latest. version 0.7.0 still worked without problem, but latest 0.7.31 i get this error. (I now have save with 0.7.0 working so i will be using this version for now.) When you get better, we can try to work out why this is happening.
Edit: never mind. 0.7.0 also causes the same problem.

2 months ago

I can't say what the situation is at present either, because the last version I use myself is the latest version. Neither the original game nor the se has triggered any errors. I will find it out later. Thank you.

2 months ago

I have time to address these issues now. If it's convenient, could you provide a game file containing a reproduction of the bug?

2 months ago

I have time to address these issues now. If it's convenient, could you provide a game file containing a reproduction of the bug?

the safe file with newest Rift rail enabled. Bug apears rougly after 30seconds or so.
https://drive.google.com/file/d/14exEsynGxFvASVYUWwCzvEqShUsdS68t/view?usp=sharing

You can also add me on discord if we will need any more information exchanged, so that we dont spam this topic: Altarin

2 months ago

thanks for quick fix

This thread has been locked.