[0.16 / 0.17] LTN Tracker - a GUI for LTN

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: LTN 1.12.3 - LTN Tracker no longer supported

Post by ptx0 »

Optera wrote: Fri Mar 13, 2020 11:36 am merged all LTN Tracker error messages into LTN Tracker thread

As these reports keep coming, I will set ptx0s two LTN Tracker ports in their current version as incompatible.
I was curious when that was removed if it were true, but this does seem to be the right way forward now. sorry about all that.. it's now marked deprecated and i've updated the description to alert users.
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: LTN 1.12.3 - LTN Tracker no longer supported

Post by Optera »

ptx0 wrote: Fri Mar 13, 2020 5:51 pm
Optera wrote: Fri Mar 13, 2020 11:36 am merged all LTN Tracker error messages into LTN Tracker thread

As these reports keep coming, I will set ptx0s two LTN Tracker ports in their current version as incompatible.
I was curious when that was removed if it were true, but this does seem to be the right way forward now. sorry about all that.. it's now marked deprecated and i've updated the description to alert users.
A clean fix would be to mark LTN 1.12.3 onwards as incompatible with your LTNT ports.
replace

Code: Select all

"dependencies": [ "LogisticTrainNetwork >= 1.12.0" ]
with

Code: Select all

"dependencies": [ "LogisticTrainNetwork < 1.12.3" ]
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: LTN 1.12.3 - LTN Tracker no longer supported

Post by ptx0 »

Optera wrote: Fri Mar 13, 2020 6:54 pm
ptx0 wrote: Fri Mar 13, 2020 5:51 pm
Optera wrote: Fri Mar 13, 2020 11:36 am merged all LTN Tracker error messages into LTN Tracker thread

As these reports keep coming, I will set ptx0s two LTN Tracker ports in their current version as incompatible.
I was curious when that was removed if it were true, but this does seem to be the right way forward now. sorry about all that.. it's now marked deprecated and i've updated the description to alert users.
A clean fix would be to mark LTN 1.12.3 onwards as incompatible with your LTNT ports.
replace

Code: Select all

"dependencies": [ "LogisticTrainNetwork >= 1.12.0" ]
with

Code: Select all

"dependencies": [ "LogisticTrainNetwork < 1.12.3" ]
okay, I can do this later.
scorbut
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jan 17, 2018 10:21 am
Contact:

Crash using LTN with Bob&Angel

Post by scorbut »

The crash happens with our very first LTN automated train. RHD lanes, 1-2-1 trains, signaling is correct, normal trains also sharing the tracks

Le mod LTN - Logistic Train Network (1.12.5) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event LogisticTrainNetwork::on_train_changed_state (ID 23)
Le mod ptx0's LTN Tracker (0.10.9) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event ptx0_LTN_Tracker::Custom event (ID 178)
ptx0_LTN_Tracker/script/data_processing.lua:427: attempt to index local 'delivery' (a nil value)
stack traceback:
ptx0_LTN_Tracker/script/data_processing.lua:427: in function <ptx0_LTN_Tracker/script/data_processing.lua:424>
stack traceback:
LogisticTrainNetwork/script/train-events.lua:160: in function 'TrainLeaves'
LogisticTrainNetwork/script/train-events.lua:201: in function <LogisticTrainNetwork/script/train-events.lua:195>
stack traceback:
[C]: in function 'raise_event'
LogisticTrainNetwork/script/train-events.lua:160: in function 'TrainLeaves'
LogisticTrainNetwork/script/train-events.lua:201: in function <LogisticTrainNetwork/script/train-events.lua:195>
posila
Factorio Staff
Factorio Staff
Posts: 5348
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Crash using LTN with Bob&Angel

Post by posila »

Disable ptx0's LTN Tracker. It is no longer maintained and not compatible with recent versions of LTN
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: Crash using LTN with Bob&Angel

Post by ptx0 »

scorbut wrote: Sat Mar 14, 2020 10:33 am The crash happens with our very first LTN automated train. RHD lanes, 1-2-1 trains, signaling is correct, normal trains also sharing the tracks

Le mod LTN - Logistic Train Network (1.12.5) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event LogisticTrainNetwork::on_train_changed_state (ID 23)
Le mod ptx0's LTN Tracker (0.10.9) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event ptx0_LTN_Tracker::Custom event (ID 178)
ptx0_LTN_Tracker/script/data_processing.lua:427: attempt to index local 'delivery' (a nil value)
stack traceback:
ptx0_LTN_Tracker/script/data_processing.lua:427: in function <ptx0_LTN_Tracker/script/data_processing.lua:424>
stack traceback:
LogisticTrainNetwork/script/train-events.lua:160: in function 'TrainLeaves'
LogisticTrainNetwork/script/train-events.lua:201: in function <LogisticTrainNetwork/script/train-events.lua:195>
stack traceback:
[C]: in function 'raise_event'
LogisticTrainNetwork/script/train-events.lua:160: in function 'TrainLeaves'
LogisticTrainNetwork/script/train-events.lua:201: in function <LogisticTrainNetwork/script/train-events.lua:195>
yes, either remove the mod or use the older version of LTN.
TheTom
Fast Inserter
Fast Inserter
Posts: 186
Joined: Tue Feb 09, 2016 8:33 am
Contact:

Re: [0.16 / 0.17] LTN Tracker - a GUI for LTN

Post by TheTom »

Is there any forum yet for the successor? LTN Manager, iirc? Any release date for an alpha/beta?

LTN Tracker is really missed here.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [0.16 / 0.17] LTN Tracker - a GUI for LTN

Post by raiguard »

TheTom wrote: Mon Mar 16, 2020 3:20 pm Is there any forum yet for the successor? LTN Manager, iirc? Any release date for an alpha/beta?

LTN Tracker is really missed here.
I'm working on it as fast as I can! It is a massive undertaking and a huge project, but it's coming along.

The development is slow at the moment because I am rewriting some of the core code that I use across all my mods, because it was inherently flawed. Once that is finished I'll be returning to LTNM in full force.

You can follow the development on the GitHub repository.
Don't forget, you're here forever.
Stimpatch
Inserter
Inserter
Posts: 45
Joined: Wed Sep 11, 2019 8:23 am
Contact:

Re: Crash using LTN with Bob&Angel

Post by Stimpatch »

ptx0 wrote: Sat Mar 14, 2020 6:54 pm yes, either remove the mod or use the older version of LTN.
What is the last known Combination of LTN / LTN Tracker known to work?
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: Crash using LTN with Bob&Angel

Post by ptx0 »

Stimpatch wrote: Tue Mar 31, 2020 6:36 pm
ptx0 wrote: Sat Mar 14, 2020 6:54 pm yes, either remove the mod or use the older version of LTN.
What is the last known Combination of LTN / LTN Tracker known to work?
the one in the Mod Packs forum.
S_gamez
Inserter
Inserter
Posts: 44
Joined: Sat Mar 21, 2020 9:44 pm
Contact:

Re: [0.16 / 0.17] LTN Tracker - a GUI for LTN

Post by S_gamez »

Raiguard wrote: Mon Mar 16, 2020 9:15 pm
TheTom wrote: Mon Mar 16, 2020 3:20 pm Is there any forum yet for the successor? LTN Manager, iirc? Any release date for an alpha/beta?

LTN Tracker is really missed here.
I'm working on it as fast as I can! It is a massive undertaking and a huge project, but it's coming along.

The development is slow at the moment because I am rewriting some of the core code that I use across all my mods, because it was inherently flawed. Once that is finished I'll be returning to LTNM in full force.

You can follow the development on the GitHub repository.
3 Things
1st. What is the M in the end of LTNM ? unless it just was a mistake?
2nd. How different is this going to be from the 0.17 ? (look and use) as u told u are rewriting some of the core code. Those this fix make some thing disappear from how the old version looked like? / Functions ? With that ask. Is this being changed for own habits too ? or are u going to be the next main author, for updating from the 0.17 to 0.18 and up to other main game releases.
3rd. Those mod bug reports, do any thing to how u make the new version ?
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [0.16 / 0.17] LTN Tracker - a GUI for LTN

Post by raiguard »

S_gamez wrote: Thu Apr 02, 2020 3:00 pm 3 Things
1st. What is the M in the end of LTNM ? unless it just was a mistake?
2nd. How different is this going to be from the 0.17 ? (look and use) as u told u are rewriting some of the core code. Those this fix make some thing disappear from how the old version looked like? / Functions ? With that ask. Is this being changed for own habits too ? or are u going to be the next main author, for updating from the 0.17 to 0.18 and up to other main game releases.
3rd. Those mod bug reports, do any thing to how u make the new version ?
1. The mod is called LTN Manager, LTNM is the short version. It is not a typo.

2. The mod is entirely separate from LTN Tracker, I have not copied any code. This was done because Eduran's license prevents others from using his code, so I'm legally disallowed from ripping it off. LTN Manager is an entirely different codebase and has several key differences from the original. As for looks, LTN Manager has a much nicer looking (in my opinion) interface that conforms to the new GUI styling introduced in 0.17. LTN Manager is entirely my mod, so yes, I am the main author of it.

3. It is an entirely different mod, so the bugs will be entirely different as well. I'm sure once I release it several people are immediately going to break it and I'll have a lot of work ahead of me to make it function properly. :D
Don't forget, you're here forever.
Pacifyer
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Dec 07, 2015 5:30 pm
Contact:

[1.12.8] Crash while running event on_train_changed_state

Post by Pacifyer »

This bug is identical to this post last updated 3/25/2020: viewtopic.php?t=82760

I have encountered this bug in 1.12.7, and also today after I updated to 1.12.8, so I re-posted. I can replicated it consistently. In fact, it happens every time I try to pull resources from my first LTN provider station. It triggers on exit (after the wagons are full).

I have attached the log file and screen capture of the error message. I have also attached a save file to demonstrate the error.

The save file will startup next to a coal requester station. Open the constant combinator and add "Coal -12000" signal. This will trigger a pickup order. The depot is due east, and the coal provider is north near the wall. I have confirmed this happens with a second requester station (due south of depot, on the coast; new power station). I have manually driven the train, and manually added a schedule, and both cases work fine (no pathing issues). I have also torn down and rebuilt the provider station, just in case.

Happy to provide any additional info as needed.
Attachments
LTN Error Message.png
LTN Error Message.png (495.36 KiB) Viewed 7154 times
factorio-current.log
(26.49 KiB) Downloaded 165 times
LTN_Error.zip
(14.04 MiB) Downloaded 150 times
Pacifyer
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Dec 07, 2015 5:30 pm
Contact:

Re: [1.12.8] Crash while running event on_train_changed_state

Post by Pacifyer »

I have confirmed the error from a second provider station -- the iron ore station near the south wall. The LTN combinators are already setup. Using the save file, go 2 stations east to the iron ore requester and add 'iron-ore -180000". The error occurs when the train attempt to leave the provider station.
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: [1.12.8] Crash while running event on_train_changed_state

Post by Optera »

Error while running event LTN_Tracker::Custom event (ID 218)
LTN Tracker is no longer supported.

moved to LTN Tracker thread
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.12.8] Crash while running event on_train_changed_state

Post by ptx0 »

Optera wrote: Sun Apr 05, 2020 5:47 am
Error while running event LTN_Tracker::Custom event (ID 218)
LTN Tracker is no longer supported.

moved to LTN Tracker thread
seems like you have to update LTN to make Eduran84's original release of LTNT incompatible.
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: [1.12.8] Crash while running event on_train_changed_state

Post by Optera »

ptx0 wrote: Sun Apr 05, 2020 3:54 pm seems like you have to update LTN to make Eduran84's original release of LTNT incompatible.
Pacifyer seems to be running a homebrew LTNT fork.
The logfile lists LTNT version 0.10.10, Edurans last LTNT release was 0.10.9 for 0.17.
Pacifyer
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Dec 07, 2015 5:30 pm
Contact:

Re: [0.16 / 0.17] LTN Tracker - a GUI for LTN

Post by Pacifyer »

Yes, I hacked the mod to 10.10 to make it work for 0.18. I didn't realize it was deprecated, I thought the mod author was just tardy with the update.

My bad.
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.12.8] Crash while running event on_train_changed_state

Post by ptx0 »

Optera wrote: Sun Apr 05, 2020 7:29 pm
ptx0 wrote: Sun Apr 05, 2020 3:54 pm seems like you have to update LTN to make Eduran84's original release of LTNT incompatible.
Pacifyer seems to be running a homebrew LTNT fork.
The logfile lists LTNT version 0.10.10, Edurans last LTNT release was 0.10.9 for 0.17.
ah, I meant *all* versions of the original version since they're no longer API compatible in any way.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [0.16 / 0.17] LTN Tracker - a GUI for LTN

Post by raiguard »

LTN MANAGER IS NOW IN ALPHA!

Time for y'all to completely break my code!
Don't forget, you're here forever.
Post Reply

Return to “Logistic Train Network”