Page 1 of 1

[1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 2:35 am
by Danitah
Everything was working fine and I was building my factory when I suddenly got this error:

[LTN] Error: Invalid stop unit_number 370345 in global.LogisticTrainStops

I don't remember doing anything out of the ordinary when it appeared, but I was building some LTN stations.

After that, no new LTN schedules were generated, even between stops that were working perfectly fine before.

I'm not sure if I should do anything to "trigger" the error before saving the log, but I've attached it after simply loading the game with log enabled.

Re: [1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 5:45 am
by Optera

Code: Select all

(OnTick) Invalid global.tick_stop_index 370345 in global.LogisticTrainStops. Removing stop and starting over.
happens when iterating through stops points to an invalid unit_number.

LTN should remove that stop and start over. If it does not, enable debug logging and send me that log.

Re: [1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 6:25 am
by Danitah
It appears not, because train schedules are still not being generated. Here's another log file.

Re: [1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 11:41 am
by Optera
That log shows no stops requesting anything, so LTN not dispatching is correct.

Re: [1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 1:37 pm
by Danitah
Then I have no idea what could be wrong.

Here are some of my stations, there are other ones also that were working before and just suddenly stopped working at all. These are the ones I were building when it stopped working, the first one (Coal) completed one delivery, and now it's not working even if there are several seemingly correct provider stations. The second one (requesting tin ore) is the very last one I built before deliveries stopped.

Stations 1: The requester is empty, and the provider is full (48 stacks)
Image
Image

Stations 2: Also empty and full.
Image
Image

Depot:
Image

Re: [1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 2:03 pm
by Danitah
Here is also a video showing the stops, and that they're all available from the depot, if that helps: https://www.youtube.com/watch?v=3aXOkZmOZdE

Re: [1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 6:23 pm
by Optera
That's a configuration error.
-1k is not below -8k request threshold.

Re: [1.14.5] Invalid stop error caused LTN to stop working

Posted: Sun Sep 27, 2020 7:24 pm
by Danitah
Thanks, there were some things i misunderstood, I got it now!