Page 1 of 2

[0.18] LTN Manager (ALPHA)

Posted: Thu Apr 09, 2020 11:47 pm
by raiguard
THIS MOD IS IN ALPHA. THINGS WILL PROBABLY BE BROKEN. PLEASE REPORT ANY BUGS OR FEEDBACK ON THE GITHUB REPOSITORY.

Download on the mod portal.

LTN Manager is a GUI for managing your Logistic Train Network. View the status of your trains and depots, browse through your network's inventory, see the delivery history, and be notified when something goes wrong.

This mod was inspired by LTN Tracker, with the goal being to create a more modern, streamlined version of it that can be carried on into the future. Thank you Eduran for your hard work and inspiration!

This post will be updated with more info soon.

Screenshots

Re: [0.18] LTN Manager (ALPHA)

Posted: Fri Apr 10, 2020 6:57 am
by Optera
Looking good for an alpha.

Pinned

Re: [0.18] LTN Manager (ALPHA)

Posted: Fri Apr 10, 2020 10:30 am
by TheTom
Nice. Definitely a start.

May I say youshould possibly rename the mod to Experimental and then once released make the regular one - and upgrade experimental (or development) with new features, much like factorio does.

Looks relly good. What I miss at first sight is the integration with LTN combinator and the ability to change station settings. WIth this, I would also love an ability to disable depots - useful for taking depots out of answering calls so you have time to upgrade the trains ;)

Very nice first release. The UI does nicely follow the new style factorio is setting, though colors are off a little. Like it a LOT.

Re: [0.18] LTN Manager (ALPHA)

Posted: Sat Apr 11, 2020 1:59 am
by raiguard
TheTom wrote:
Fri Apr 10, 2020 10:30 am
Nice. Definitely a start.

May I say youshould possibly rename the mod to Experimental and then once released make the regular one - and upgrade experimental (or development) with new features, much like factorio does.

Looks relly good. What I miss at first sight is the integration with LTN combinator and the ability to change station settings. WIth this, I would also love an ability to disable depots - useful for taking depots out of answering calls so you have time to upgrade the trains ;)

Very nice first release. The UI does nicely follow the new style factorio is setting, though colors are off a little. Like it a LOT.
Thank you! LTN Combinator integration will come in the near future. As for the UI styling, that was the entire point! I tried to match vanilla conventions as much as I could.

As for the experimental stuff, I'm not going to do that. That would require maintaining two separate versions of the mod, and would be a lot more trouble than it's worth. Once it's out of alpha, I'll just change the name to remove the mentions of alpha and bugs.

Thank you again!

Re: [0.18] LTN Manager (ALPHA)

Posted: Sat Apr 11, 2020 6:05 am
by TheTom
Would it really be that much more work?

Because from where I come I do commercial software development and we maintain 4-5 different branches. One master (development) branche. One Preview branch, then release.

The combination of GitVersion and automated deployment scripts means that releaseing a version is as simple as branching.

Master -> automatically developped
preview/x.x -> experimental. I branch master into release or release/1.2 and it automatically builds with the highest number applicable (and yes, it looks for where commits are visible).
release/x.x automatically releases with the number (and we keep the nubmers around for comparison).

GitVersion config makes sure that a release automaticlaly ups the master number, too ;)

So, unless you release all manually - there is zero overhead involved ;)

Re: [0.18] LTN Manager (ALPHA)

Posted: Sat Apr 11, 2020 7:37 pm
by bennidevito
Hi Raiguard, thx for creating this mod :)
Where and how to report bugs?
I have 0.18.18, play Angels+Bobs, some more mods and heavily use LTN Stations. All Mods are at latest released version
All tabs beside "Stations" can be used.
The moment i click on "Stations" i get an error and factorio closes the running game (back to main menu of factorio)

Edit: I will do my best and open an issue at github :)
Edit2: Somebody already postet this problem und you solved it already :)
https://github.com/raiguard/Factorio-Lt ... /issues/21

Re: [0.18] LTN Manager (ALPHA)

Posted: Tue Apr 14, 2020 8:25 am
by Stimpatch
Looks good so far, i will give this a try on the next major update round for my mods, but for now i have come to terms with the old ltn version with a working tracker.

Re: [0.18] LTN Manager (ALPHA)

Posted: Thu Apr 23, 2020 9:46 am
by Zemoff
Cant find how to open main mod wondow? full py mod

Re: [0.18] LTN Manager (ALPHA)

Posted: Thu Apr 23, 2020 10:45 am
by SuperPrower
Zemoff wrote:
Thu Apr 23, 2020 9:46 am
Cant find how to open main mod wondow? full py mod
You can look up a keybinding in the control settings. It's Ctrl-T by default, I believe.

That being said, I think an icon in the corner would be nice to have, unless I'm missing something and it already can be enabled.

Re: [0.18] LTN Manager (ALPHA)

Posted: Thu Apr 23, 2020 1:11 pm
by Optera
Like most recent mods LTNM has a shortcut instead of cluttering the top left with icons.

Re: [0.18] LTN Manager (ALPHA)

Posted: Thu Apr 23, 2020 3:52 pm
by raiguard
Yes, the mod adds a button on the shortcut bar. I don't like cluttering the top-left with useless buttons when the shortcut bar exists. Though I personally just use hotkeys for almost everything anyway.

It tells you where to find the button in the mod's FAQ.

Re: [0.18] LTN Manager (ALPHA)

Posted: Sun May 24, 2020 10:50 am
by ghosty21292
is there a way to remove the mod without losing all LTN stations?

Re: [0.18] LTN Manager (ALPHA)

Posted: Sun May 24, 2020 5:11 pm
by raiguard
ghosty21292 wrote:
Sun May 24, 2020 10:50 am
is there a way to remove the mod without losing all LTN stations?
Removing this mod will not delete any of your stations. You have to remove actual LTN for that to happen.

Re: [0.18] LTN Manager (ALPHA)

Posted: Fri Jun 19, 2020 2:48 pm
by Eisstoss
Help`After updating LTN MANAGE to 0.2.3, a crash occurred when opening the MOD window while playing, and it was not possible to re-enter the game with the MOD turned on
error code:
Error while running event LtnManager::on_configuration_changed
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
__LtnManager__/scripts/gui/main.lua:375: in function 'close'
__LtnManager__/control.lua:88: in function <__LtnManager__/control.lua:77>
stack traceback:
[C]: in function '__newindex'
__LtnManager__/scripts/gui/main.lua:375: in function 'close'
__LtnManager__/control.lua:88: in function <__LtnManager__/control.lua:77>

Re: [0.18] LTN Manager (ALPHA)

Posted: Sun Oct 04, 2020 5:04 pm
by mowfax
I tested this mod for a short time and I'm quite liking it. I won't use it on our server yet, because I spotted quite a few missing Request-Icons in the Station List. For example a Station that is requesting 99k of Oxygen and getting it delivered, but there is no red icon with 99k oxygen in the request field. There are a lot of other stations with the same behaviour. I could not see a pattern to this, yet.

Is this a bug or am I missing something obvious?

Re: [0.18] LTN Manager (ALPHA)

Posted: Sun Oct 04, 2020 7:33 pm
by raiguard
mowfax wrote:
Sun Oct 04, 2020 5:04 pm
I tested this mod for a short time and I'm quite liking it. I won't use it on our server yet, because I spotted quite a few missing Request-Icons in the Station List. For example a Station that is requesting 99k of Oxygen and getting it delivered, but there is no red icon with 99k oxygen in the request field. There are a lot of other stations with the same behaviour. I could not see a pattern to this, yet.

Is this a bug or am I missing something obvious?
If you could find a specific reproduction of the error (preferably on a small save with few mods), please open a bug report on GitHub. I will also look for this when I get to the inventory tab in the GUI rewrite. Thanks!

Unrecoverable bug

Posted: Mon Dec 13, 2021 4:16 pm
by novemberx
I was messing around in editor mode.
This bug consistantly occurs eveytime I fire an atomic bomb to a train station

Image

my save if needed: https://drive.google.com/file/d/1aFUyVd ... sp=sharing

Re: Unrecoverable bug

Posted: Mon Dec 13, 2021 5:10 pm
by Optera
Not a bug with LTN itself
Moving to LTN Manager Subforum

LTN [1.18.2] and SE, consistent crash while walking

Posted: Wed Jan 11, 2023 1:25 pm
by TubbyBoy419
I've recently started SE, and I've been building out my train network, in my current save. just walking along I receive a crash. At this point, it's consistent, a couple of minutes after loading, it crashes.

Bottom of log file shown , will attach entire log file.

Also, here is a copy of my save file, on Google Drive.
https://drive.google.com/file/d/147Z0Iz ... share_link

231.295 Error MainLoop.cpp:1284: Exception at tick 4236362: The mod LTN Manager (0.4.15) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event LtnManager::on_tick (ID 0)
LuaTrain API call when LuaTrain was invalid.
stack traceback:
[C]: in function '__index'
__LtnManager__/scripts/ltn-data.lua:108: in function 'parse_train_status'
__LtnManager__/scripts/ltn-data.lua:513: in function 'callback'
__flib__/table.lua:255: in function <__flib__/table.lua:227>
(...tail calls...)
__LtnManager__/scripts/ltn-data.lua:1079: in function 'iterate'
__LtnManager__/control.lua:212: in function <__LtnManager__/control.lua:197>

Cheers.

Re: [0.18] LTN Manager (ALPHA)

Posted: Thu Jan 12, 2023 5:10 pm
by Optera
Merged into LTN Manager Thread
Added a bug report on Github: https://github.com/nihilistzsche/LtnManager/issues/203