Space Exploration LTN integration

by harag

Allows LTN to make deliveries through SE's space elevator

Content
19 days ago
1.1 - 2.0
27.3K
Trains

g Trains ignore temporary station

a month ago

Sometimes trains, after leaving the space elevator, ignore the temporary station and go directly to the destination station.
When there are multiple stations with the same name, this causes unloading issues because the train chooses the nearest station instead of the one that triggered the event.

22 days ago

Hello, I have the same issue and can reproduce it constantly.
Space Exploration 0.7 with the latest Factorio version 2.0.69. LTN to 2.4.2, Space Exploration LTN integration 0.7.0
It seems that the stations with the same name create an issue, the train has a temporary destination set to the correct station but goes to another one with the same name that is full skipping the previous destination. If I correct manually the train by sending it to the temporary station, it works normally and it seems to happen only after going trough an elevator, the new assigned temporary station is not consider and the nearest one is picked up instead.
I am not sure if I am doing something wrong or setting something up incorrectly.
I can share the savefile if needed, please just let me know how.

22 days ago
(updated 22 days ago)

Correction: it happens also on the same surface without using the elevator and I think also between 2 providers with the same name. So I don't know if it's related to this mod.

21 days ago

Are you by any chance using vanilla station priorities? Those will break mods like LTN and Cybersyn. If there are stations with the same name but higher priority, the temporary stop does direct the train to the intended target but is then overruled by station priority and the train will reroute.

21 days ago
(updated 21 days ago)

I'm using LTN priorities but I also have issues when no priority is set at all. I have 2 water providers on Navious and 4 requesters on Norbit all with the same "standard" priority and the train constantly goes to the nearest one.

20 days ago

It seems, that the train has already activated a requester stop and a temporary stop, that was added right before requester stop, has been skipped. Perhaps, it's a space-exploration mod problem, but nevertheless i tried to add a check inDelivery.on_train_teleport_started(e), that if the stop index, that was returned by remote call, is less than current train's schedule station, than activate temporary stop, and it fixed all problems with incorrect deliveries.

19 days ago

Thanks, change applied and published. I still wonder what changed in LTN so that this works differently than before.

18 days ago
(updated 18 days ago)

@harag and @IlyaSM thank you! All seems to work correctly now, the clogged part of the system resumed to work normally.

New response