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 some major enhancements such as train layout filtering, train builder station, multiple pickup delivery, train teleportation, visual display of deliveries

Content
5 months ago
2.0
761
Trains

b Trains stuck on another planet

a month ago

Hello.
When trains are on another planet and an event prevents them from returning to Nauvis within the allotted time, it becomes impossible to send them back, and after a while, they all get stuck on another planet.

Furthermore, I've encountered this error several times when trying to unload waiting wagons.

Otherwise, excellent mod, thank you.

Le mod Yet another train manager (1.0.21) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event yet_another_train_manager::on_nth_tick(5)
LuaEntity belongs to surface nauvis (index 1) but a LuaEntity belonging to surface vulcanus (index 4) was expected.
stack traceback:
[C]: in function 'newindex'
__yet_another_train_manager
/scripts/scheduler.lua:568: in function 'create_delivery_schedule'
yet_another_train_manager/scripts/scheduler.lua:714: in function 'create_delivery'
yet_another_train_manager/scripts/scheduler.lua:958: in function 'process_request'
yet_another_train_manager/scripts/scheduler.lua:998: in function 'previous'
yet_another_train_manager/scripts/tools.lua:319: in function <yet_another_train_manager/scripts/tools.lua:318>

New response