[1.14.5] Invalid stop error caused LTN to stop working

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
Danitah
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Sep 27, 2020 2:21 am
Contact:

[1.14.5] Invalid stop error caused LTN to stop working

Post 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.
Attachments
factorio-current.log
(54.61 KiB) Downloaded 91 times

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

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

Post 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.

Danitah
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Sep 27, 2020 2:21 am
Contact:

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

Post by Danitah »

It appears not, because train schedules are still not being generated. Here's another log file.
Attachments
factorio-current.log
(248.26 KiB) Downloaded 89 times

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

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

Post by Optera »

That log shows no stops requesting anything, so LTN not dispatching is correct.

Danitah
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Sep 27, 2020 2:21 am
Contact:

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

Post 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

Danitah
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Sep 27, 2020 2:21 am
Contact:

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

Post 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

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

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

Post by Optera »

That's a configuration error.
-1k is not below -8k request threshold.

Danitah
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Sep 27, 2020 2:21 am
Contact:

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

Post by Danitah »

Thanks, there were some things i misunderstood, I got it now!

Post Reply

Return to “Logistic Train Network”