Yet another train manager


A mod to manage a network of train and station. Some stations provide products (item or fluid) to the network, others stations request products. The mod allocate trains to carry product from provider to requester. This mod is highly inspired from the great mod LTN but with a completly different implementaton.

Content
2 months ago
2.0
520
Trains

b Planet Teleporter Crash

4 months ago

Just got to Vulc and was testing the teleport function and received the below error. Before your previous fix, YATM was crashing on placing the teleporter. This crash happened at dispatch. Both planets have defined depots that fit the train, both planets should have suitable power, and the stations are both on the same network (4). Thanks for a fun mod to play around with.

The mod Yet another train manager (1.0.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event yet_another_train_manager::on_nth_tick(5)
yet_another_train_manager/scripts/scheduler.lua:466: bad argument #1 of 3 to 'insert' (table expected, got nil)
stack traceback:
[C]: in function 'insert'
yet_another_train_manager/scripts/scheduler.lua:466: in function 'create_delivery_schedule'
yet_another_train_manager/scripts/scheduler.lua:701: in function 'create_delivery'
yet_another_train_manager/scripts/scheduler.lua:942: in function 'process_request'
yet_another_train_manager/scripts/scheduler.lua:982: in function 'previous'
yet_another_train_manager/scripts/tools.lua:316: in function <yet_another_train_manager/scripts/tools.lua:315>

4 months ago

Thanks for the report. I have made a fix. It should solve the issue but i am not sure. If not, can you provide me the saved game ?

4 months ago

I've applied the update and YATM no longer crashes. The train will now go to the provider and fill contents. After full, it sits in the provider and never makes its way towards the TP station. If it helps, here is a save: https://drive.google.com/file/d/1nonRCXliRYQSbh8Y0D8l3IFIwR_opK7d/view?usp=sharing

4 months ago

I was assuming that the rail before the teleporter was a straight rail (it was a curved one). The teleportation between Nauvis and Vulcania is working properly in v 1.0.8

4 months ago

Confirmed working! Water is flowing to Vulcanus now!

Thank you for your awesome help and mod. Have a great weekend.

This thread has been locked.