Factorio-LtnManager
A GUI for managing your Logistic Train Network. A mod for Factorio.
A GUI for managing your Logistic Train Network. A mod for Factorio.
Home Page: https://mods.factorio.com/mod/LtnManager
License: MIT License
A GUI for managing your Logistic Train Network. A mod for Factorio.
Error while running event LtnManager::ltnm-toggle-gui (ID 179)
Unknown sprite "ltnm_indicator_signal-Y"
stack traceback:
RaiLuaLib/lualib/gui.lua:110: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:168: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:208: in function 'build'
LtnManager/gui/depots.lua:93: in function 'update'
LtnManager/gui/main.lua:267: in function 'update'
LtnManager/gui/main.lua:286: in function 'update_active_tab'
LtnManager/gui/main.lua:291: in function 'open'
LtnManager/gui/main.lua:317: in function 'toggle'
LtnManager/control.lua:192: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
stack traceback:
[C]: in function 'add'
RaiLuaLib/lualib/gui.lua:110: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:168: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:208: in function 'build'
LtnManager/gui/depots.lua:93: in function 'update'
LtnManager/gui/main.lua:267: in function 'update'
LtnManager/gui/main.lua:286: in function 'update_active_tab'
LtnManager/gui/main.lua:291: in function 'open'
LtnManager/gui/main.lua:317: in function 'toggle'
LtnManager/control.lua:192: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
I attempted to open the manager with Ctrl T and received this error. Single Player LTN Manager 0.1.4 Existing save, just installed LTN Manager.
Describe the bug
Spacing of buttons on larger alerts needs to be to the top like single spaced alerts
Save file
Upload the save file where the bug occured. If the file is too large for GitHub, use a file service such as Google Drive or Dropbox. If these aren't available, PM me (Raiguard) on the Factorio forums, or on Discord (Raiguard#7402).
If you can consistently reproduce the error from a new save, please upload the original save anyways, just in case.
To Reproduce
Steps to reproduce the behavior:
Describe the bug
A clear and concise description of what the bug is. If the bug was a crash, include a screenshot or a copy of the crash text.
Brought up multiplayer mode with no problem. Everything works but when another player joins the server it generates a non-recoverable error. I captured a screen print of the error dialog box.
Please report this error to the mod author.
Error while running event LtnManager::on_player_joined_game (ID 43)
__RaiLuaLib__/lualib/translation.lua:168: attempt to index local 'player_data' (a nil value)
stack traceback:
__RaiLuaLib__/lualib/translation.lua:168: in function 'start'
__LtnManager__/control.lua:56: in function 'run_player_translations'
__LtnManager__/control.lua:180: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
2412.932 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod LTN Manager [ALPHA] (0.1.7) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_player_joined_game (ID 43)
__RaiLuaLib__/lualib/translation.lua:168: attempt to index local 'player_data' (a nil value)
stack traceback:
__RaiLuaLib__/lualib/translation.lua:168: in function 'start'
__LtnManager__/control.lua:56: in function 'run_player_translations'
__LtnManager__/control.lua:180: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>"
Save file
Upload the save file where the bug occured. If the file is too large for GitHub, use a file service such as Google Drive or Dropbox. If these aren't available, PM me (Raiguard) on the Factorio forums, or on Discord (Raiguard#7402).
https://drive.google.com/file/d/19-_sup-KoY3iLLcMxDXaj6PBTxi9tJ4A/view?usp=sharing
If you can consistently reproduce the error from a new save, please upload the original save anyways, just in case.
To Reproduce
Steps to reproduce the behavior:
It also happened in 0.1.6
Thanks!
Thanks a lot for fixing the previous issue in 0.1.8. I had an issue with that one as well.
Just tried the new update 0.1.9, and we ran into another issue. It's from an old save with many mods and no previous usage of LTN Manager (just the old LTN/LTN Tracker on factorio 0.17.xx). However, it was a bit concerning seeing this.
Error description (station tab)
The mod LTN Manager [ALPHA] (0.1.9) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_gui_click (ID 1)
__LtnManager__/gui/stations.lua:137: attempt to concatenate field '?' (a nil value)
stack traceback:
__LtnManager__/gui/stations.lua:137: in function 'update'
__LtnManager__/gui/main.lua:281: in function 'update'
__LtnManager__/gui/main.lua:300: in function 'update_active_tab'
__LtnManager__/gui/main.lua:57: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
Second error (inventory tab):
The mod LTN Manager [ALPHA] (0.1.9) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_gui_click (ID 1)
__LtnManager__/gui/inventory.lua:145: attempt to concatenate field '?' (a nil value)
stack traceback:
__LtnManager__/gui/inventory.lua:145: in function 'update'
__LtnManager__/gui/main.lua:281: in function 'update'
__LtnManager__/gui/main.lua:300: in function 'update_active_tab'
__LtnManager__/gui/main.lua:57: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
Save file
https://drive.google.com/open?id=1Hl2qHaJTmhMlwmbiMOcaX-tT00pYoe5O
To Reproduce
Steps to reproduce the behavior:
Hello.
Add the "Open LTN Manager" button on the screen.
Hotkey is not convenient for everyone.
Describe the bug
`The mod LTN Manager [ALPHA] (0.1.8) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_tick (ID 0)
RaiLuaLib/lualib/translation.lua:49: attempt to index local 'pt' (a nil value)
stack traceback:
RaiLuaLib/lualib/translation.lua:49: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>`
Save file
75mb, but i can upload it somewhere if needed
Is your feature request related to a problem? Please describe.
I would like to look at my history tab to verify if a station is getting resources sometimes. How it is right now I have to go hunting to find what I am looking for.
Describe the solution you'd like
A search field in the filter tab
Additional context
A global search bar would be fine, just the left of the pin, refresh, and close buttons
I would have posted this on the mod's forums, but I can't :D
Thank you so much for working on this. I loved the previous LTN manager and it was so sad when the guy left the scene. I am so looking forward to being able to visually inspect what is happening in my LTN network without having to hunt it down and guess based on lights and trains and whatnot
Can not join server, player disconnects with following error ( full log ):
` 34.155 Checksum for script LogisticTrainNetwork/control.lua: 2308678286
34.162 Checksum for script LtnManager/control.lua: 1048496621
34.166 Checksum for script LTN_Combinator/control.lua: 2315148836
34.167 Checksum for script LTN_Content_Reader/control.lua: 3089594493
38.760 Error ClientMultiplayerManager.cpp:1106: mod-LtnManager was not registered for the following events when the map was saved but has registered them as a result of loading: Custom event (ID 223)
38.760 Error ClientMultiplayerManager.cpp:1108: mod-LtnManager was registered for the following events when the map was saved but has not re-registered them as a result of loading: Custom event (ID 221)
38.760 Error ClientMultiplayerManager.cpp:98: MultiplayerManager failed: "" + multiplayer.script-event-mismatch + "
" + "
mod-LtnManager"
38.761 Info ClientMultiplayerManager.cpp:581: UpdateTick(28123446) changing state from(ConnectedLoadingMap) to(Failed)`
hi,
thanks for the new ltn manager.
can you please support ltn combinator like the old ltn tracker. it was possible to change the input signals for every trainstation out of the tracker itself.
thx
Version 0.1.7 breaks the Construction Drones mod.
Drones don't get sent out as soon as LTN-Manager is updated to 0.1.7.
Works with 0.1.6 and Rai's Lua Lib 0.2.5
To reproduce:
I would very much like to debug further, but I lack the fundamental knowledge of the tools around factorio modding.
Save is attached
_autosave3.zip
Inventory tab, right pane - mouse wheel scroll works only when cursor is over light grey background, when cursor is over station content row (dark grey) scroll is not working
Hi!
Describe the bug
When train is scheduled for delivery, LTNManager triggers a crash when you try to delete this train.
Save file
My game is heavily modded, if you'll be unable to reproduce it, i can try to reproduce it without other mods and provide a save.
To Reproduce
Steps to reproduce the behavior:
P.S. it seems that this bug happens only with a new game.
Error log:
The mod LTN Manager [ALPHA] (0.1.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_tick (ID 0)
__LtnManager__/gui/alert-popup.lua:73: attempt to index field 'settings' (a nil value)
stack traceback:
__LtnManager__/gui/alert-popup.lua:73: in function 'create_for_all'
__LtnManager__/scripts/data-manager.lua:452: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
I don't actually use LTN myself, so this issue will be used to create a "features list". People who use LTN and used LTN tracker, feel free to post here with your ideas, thoughts, and requests.
This is is based on the assumption that the "Status" that appears in each depots selection box on the left is supposed to show the status of the lights for each depot (Green for empty, Blue for parked train, etc). If that assumption is incorrect you can ignore this issue.
I noticed that the status indicator seems to count one extra blue light. In my setup I have 3 parking spaces for my 4-8 trains. When all 3 are parked it shows 4 Blue status indicators. If all 3 are out it shows 3 Green and 1 Blue. So it seems to count one extra. I looked around to make sure there wasn't any extra
Describe the bug
just add a mod beatfinder
on screen, i see this message (cf below)
version018_x75.zip
Save file
Upload the save file where the bug occured. If the file is too large for GitHub, use a file service such as Google Drive or Dropbox. If these aren't available, PM me (Raiguard) on the Factorio forums, or on Discord (Raiguard#7402).
If you can consistently reproduce the error from a new save, please upload the original save anyways, just in case.
To Reproduce
add beast finder
if i remove this mod, no crash
The latest LTN version has, at my request, standardized the names of API information to match Factorio's scheme. This will break LTN Manager significantly. An update will be out later today.
I'm making this issue so nobody reports it as a bug. Sit tight for a few hours and I'll have a patch out!
Inventory tab - when clicking on provider (green), requestor (orange) or transit (blue) items scroll right pane to start of corresponding station types. Help a lot in you have dozens of stations for one material
Hey, first of all thank you very much for developing this mod!
After i installed LTNM and loaded up my savegame, a few seconds after i am ingame i get this crash:
Error while running event LtnManager::on_tick (ID 0)
LtnManager/scripts/util.lua:71: attempt to concatenate field 'from' (a nil value)
stack traceback:
LtnManager/scripts/util.lua:71: in function 'get_status_string'
LtnManager/scripts/data-manager.lua:210: in function 'sort_depot_trains'
LtnManager/scripts/data-manager.lua:416: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
I attached the log file, if you need any further information like a savegame in could send that to.
Thank you!
So. I know that you're not even in alpha yet. But I figured I'd try this thing out.
Built a train via blueprint. Got this error:
Error while running event LtnManager::on_tick (ID 0)
LuaTrain API call when LuaTrain was invalid.
stack traceback:
__LtnManager__/scripts/util.lua:57: in function 'get_status_string'
__LtnManager__/scripts/data-manager.lua:308: in function 'sort_depot_trains'
__LtnManager__/scripts/data-manager.lua:501: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
stack traceback:
[C]: in function '__index'
__LtnManager__/scripts/util.lua:57: in function 'get_status_string'
__LtnManager__/scripts/data-manager.lua:308: in function 'sort_depot_trains'
__LtnManager__/scripts/data-manager.lua:501: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
The save file is in the perfect state to trigger the error on load. It is, however, loaded down with mods. So sorry for that.
Error reproduction - LTNManager-0.1.0.zip
Thank you for this great mod.
I have a problem with one of my game. In the list of station. one of the provider station "Iron 1" display the total inventory instead of its contents.
Here is a save of the game:
https://drive.google.com/open?id=1e1Z0ssUV0OYAL9p2HVBu3Izc4UMY0dvm
I'm playng vanilla+Krastorio2.
Game crashes after selecting "Stations" tab.
Error dump:
151.083 Script @RaiLuaLib/lualib/event.lua:365: Tried to disable conditional event 'gui.depots.depot_button.on_gui_click', which is not enabled!
178.807 Error MainLoop.cpp:1202: Exception at tick 13939008: Мод LTN Менеджер [АЛЬФА] (0.1.3) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.
Error while running event LtnManager::on_gui_click (ID 1)
Unknown sprite "ltnm_indicator_signal-X"
stack traceback:
RaiLuaLib/lualib/gui.lua:110: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:168: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:208: in function 'build'
LtnManager/gui/stations.lua:80: in function 'update'
LtnManager/gui/main.lua:267: in function 'update'
LtnManager/gui/main.lua:286: in function 'update_active_tab'
LtnManager/gui/main.lua:57: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
stack traceback:
[C]: in function 'add'
RaiLuaLib/lualib/gui.lua:110: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:168: in function 'recursive_build'
RaiLuaLib/lualib/gui.lua:208: in function 'build'
LtnManager/gui/stations.lua:80: in function 'update'
LtnManager/gui/main.lua:267: in function 'update'
LtnManager/gui/main.lua:286: in function 'update_active_tab'
LtnManager/gui/main.lua:57: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
243.044 Error MainLoop.cpp:1202: Exception at tick 28849954: The mod LTN Manager [ALPHA] (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_gui_click (ID 1)
LtnManager/gui/stations.lua:143: bad argument #2 of 4 to 'max' (number expected, got nil)
stack traceback:
[C]: in function 'max'
LtnManager/gui/stations.lua:143: in function 'update'
LtnManager/gui/main.lua:261: in function 'update'
LtnManager/gui/main.lua:280: in function 'update_active_tab'
LtnManager/gui/main.lua:57: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
243.052 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod LTN Manager [ALPHA] (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_gui_click (ID 1)
LtnManager/gui/stations.lua:143: bad argument #2 of 4 to 'max' (number expected, got nil)
stack traceback:
[C]: in function 'max'
LtnManager/gui/stations.lua:143: in function 'update'
LtnManager/gui/main.lua:261: in function 'update'
LtnManager/gui/main.lua:280: in function 'update_active_tab'
LtnManager/gui/main.lua:57: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>"
Add option to define size of main window - it is just too small to get comfortable view of all information in large LTN bases
i'm new with LTN; i set up some config and that seems work
with you'r manager :) i see a lot of alert; incomplete delivery or incorrect pickup
i have some trains with two or more items in wagon
maybe if you know LTN, the alert can to explain how to do to remove herself :)
Now you can open starting and ending stations. Would be nice to have ability to open train UI. It may be done to by clicking ">>" text between station names, for example.
I would love a way to search or filter the stations tab. Like a search field that can search on station name and only show stations with a similar matching name or a way to only see requesters or only see providers, things like that that can help me to drill down more what is being handled at my stations
It would be nice to have a feature reporting template in addition to the bug report template. This way feature requests / ideas can structurally look similar to help with identifying what is being asked and making it easier on users to supply ideas for features
I get two technical errors when joining a MP server. In the client log is the following:
416.554 Error ClientMultiplayerManager.cpp:1106: mod-LtnManager was not registered for the following events when the map was saved but has registered them as a result of loading: Custom event (ID 205)
416.554 Error ClientMultiplayerManager.cpp:1108: mod-LtnManager was registered for the following events when the map was saved but has not re-registered them as a result of loading: Custom event (ID 203)
416.554 Error ClientMultiplayerManager.cpp:98: MultiplayerManager failed: "" + multiplayer.script-event-mismatch + "
" + "
mod-LtnManager"
On screen I get the following:
Cannot join. The following mod event handlers are not identical between you and the server. This indicates that the following mods are not multiplayer (save/load) safe. (see the log file for more detail):
mod-LtnManager
LTN Manager 0.1.4 Save file did not previously have LTN Manager enabled. Now does. Save file has never seen 0.17. Only .18.17 and .18.18
Reproduction with MultipleUnitTrainControl:
Error:
Error MainLoop.cpp:1202: Exception at tick 4795248: The mod LTN - Logistic Train Network (1.12.9) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LogisticTrainNetwork::on_nth_tick(2)
The mod LTN Manager [ALPHA] (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::Custom event (ID 234)
__LtnManager__/scripts/data-manager.lua:624: attempt to index local 'train' (a nil value)
stack traceback:
__LtnManager__/scripts/data-manager.lua:624: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
stack traceback:
__LogisticTrainNetwork__/script/dispatcher.lua:64: in function <__LogisticTrainNetwork__/script/dispatcher.lua:20>
stack traceback:
[C]: in function 'raise_event'
__LogisticTrainNetwork__/script/dispatcher.lua:64: in function <__LogisticTrainNetwork__/script/dispatcher.lua:20>
Some way to disable the Red alert box popping up in view either in manager view or settings.
Furthermore, disable certain alerts. For example, I don't want the see incorrect pickup because my coal train picked up way more than it was supposed to. (I know it's my fault but have higher priorities than fixing it)
This is a space for me to list my musings and findings, so I don't forget anything important.
The on_stops_updated
event and on_dispatcher_updated
events fire on the same tick, in that order, once per LTN update cycle. on_stops_updated
simply adds its info to global and doesn't do anything else. on_dispatcher_updated
sets up the global table structure, adds its data to it, and starts an on_tick event that will iterate over everything there.
There will need to be two different branches in the global structure: a working copy with a lot of temporary data, and the result section that the GUI uses. For the other events, they will not do anything at the time they are fired, but they will add data to the working table that will be processed on the next LTN update cycle.
__lualib
data
flags
players
[index]
flags
dictionary
gui
working_data
This table is what the GUI will read.
depots
available_trains (int)
num_trains (int)
stations
(array of station_id)
trains
(array of train_id)
stations
[station_id]
-- from LTN
activeDeliveries,
entity,
input,
output,
lampControl,
errorCode,
isDepot,
network_id,
maxTraincars,
minTraincars,
trainLimit,
provideThreshold,
provideStackThreshold,
providePriority,
requestThreshold,
requestStackThreshold,
requestPriority,
lockedSlots,
noWarnings,
parkedTrain,
parkedTrainID,
parkedTrainFacesStop,
-- added by us
trains
(array of train_id)
provided
(dictionary of name -> count)
requested
(dictionary of name -> count)
status
name (string)
count (int)
inventory
provided
[network_id]
(dictionary of name -> count)
requested
[network_id]
(dictionary of name -> count)
in_transit
[network_id]
(dictionary of name -> count)
trains
[train_id]
-- common
force
train
network_id
state
-- en route
from
to
started
shipment
(dictionary or name -> count)
-- parked at the depot
capacity
fluid_capacity
surface
-- returning to depot
returning_to_depot (boolean)
history
(TBD)
alerts
(TBD)
-- lookup tables - included in output
network_to_stations
(dictionary of network_id -> array of train_id)
material_locations
[material_name]
stations
(array of station_id)
trains
(array of train_id)
-- working data - excluded from output
provided_by_stop
requested_by_stop
deliveries
available_trains
station_ids
num_stations
-- iteration data - excluded from output
step (int)
index (int)
The GUI update logic will be contained in the gui.update()
function. The parameters passed to this function are the player, the player table, and a state_changes
table. This table will determine what actually gets updated.
This table is also used to set the default contents of the GUI when created.
column:mode
. column is the name of the column to sort by, mode is one of ascending
or descending
.main
: The primary GUI, contains the majority of the info.network_picker
: An LTN Combinator-esque network picker, for use in filtering by network IDs.Update to latest version, manager and LTN. Map Runs a minute r two, then crashes (without any related ation from me, I am just leaving it running doing some watching).
Error whle running event LogisticsTrainNetwork:on_train_changed_state(ID 23)
LtnManager/scripts/dataManager.lua:588 attempt to perform arithmetic on field "started" (a nil value)
LtnManager/scripts/data-manager.lua:588 in function Whandler"
RailLuaLib/lualib/event.lua:127
Error while running event LtnManager::on_tick (ID 0)
__LtnManager__/scripts/data-manager.lua:460: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
__LtnManager__/scripts/data-manager.lua:463: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
Solution seems to be a nil check on global.working_data.alert_popups. Edited my local copy to:
-- create alert popups
if global.working_data.alert_popups == nil then
global.working_data.alert_popups = {};
end
for _,t in pairs(global.working_data.alert_popups) do
alert_popup_gui.create_for_all(t)
end
which seems to solve the problem. I don't know if there is a deeper underlaying issue elsewhere and this is just a mask.
Describe the bug
Was trying to investigate an alert about a delivery timeout and when I clicked on the destination station that was on the left it crashed with the following exception.
56162.070 Error MainLoop.cpp:1202: Exception at tick 187163626: The mod LTN Manager [ALPHA] (0.1.7) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_gui_click (ID 1)
LtnManager/gui/main.lua:116: attempt to index field '?' (a nil value)
stack traceback:
LtnManager/gui/main.lua:116: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
Save file
It's the same save file as before.
https://drive.google.com/open?id=19-_sup-KoY3iLLcMxDXaj6PBTxi9tJ4A
I tried to duplicate the error on another alert but it did not cause the exception. The only difference between them that I can discern is that the exception was on a station that was randomly named and the non-exception station was renamed by me.
Funny thing when I went back to try and find the un-named station I couldn't find it. It didn't exist on the map?
Thanks Again! Loving this mod!
Describe the bug
i can to see oil, acid... but gaz is not showing in tabs station and inventory
in tab inventory, we can see the requesting but not the providing
Save file
N/A
If you can consistently reproduce the error from a new save, please upload the original save anyways, just in case.
To Reproduce
add a provider with gaz
i use the same conf for oil, gaz and acid
Currently your buttons use a a lot more vibrant colors than base logistics tab.
Using CGUI_yellow_filter_slot_button and CGUI_red_filter_slot_button would make the gui look more consistent.
This would also require creating a new blue button to match the very dark base gui colors..
i can search for "ore" and i get all ores in my ltn. if i search for "copper or iron" i get nothing as result.
same for "plate" where i get results and if i search for "steel or copper and so on" i get nothing as result.
i can search for "circuit" but not for "advanced or electronic".
it seems its always the first word in the itemname where i dont get a result. the second and third word i get results. for example i can search "science" or "pack" but not "automation".
a item with only one word i cant search for, like "inserter".
This popped up shortly after loading a saved game after updating to 0.1.3.
The mod LTN Manager [ALPHA] (0.1.3) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_tick (ID 0)
LtnManager/scripts/data-manager.lua:446: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
LtnManager/scripts/data-manager.lua:446: in function 'handler'
RaiLuaLib/lualib/event.lua:127: in function <RaiLuaLib/lualib/event.lua:28>
Describe the bug
The game crashes at connecting to the server. with mod version 0.17 an 0.18
Save file
Upload the save file where the bug occured. If the file is too large for GitHub, use a file service such as Google Drive or Dropbox. If these aren't available, PM me (Raiguard) on the Factorio forums, or on Discord (Raiguard#7402).
https://1drv.ms/u/s!Arzhmf6o8KiomBR-xq-PQqG0SrmM?e=jBM1rr
If you can consistently reproduce the error from a new save, please upload the original save anyways, just in case.
To Reproduce
Steps to reproduce the behavior:
Start a headless server with all mods on version 0.18.18 and try to connect
Please add sorting by station control signals (compare them as character string). I have few hundreds of stations, sorting will help to debug wrong signaling of stations - if list is sorted, I can easily detect any inconsistency in signals.
Seems like my LTN Reader sprites mess up your logic:
Error MainLoop.cpp:1202: Exception at tick 120717396: The mod LTN Manager [ALPHA] (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_gui_click (ID 1)
Unknown sprite "virtual-signal/ltn-provider-reader"
stack traceback:
__LtnManager__/gui/stations.lua:137: in function 'update'
__LtnManager__/gui/main.lua:261: in function 'update'
__LtnManager__/gui/main.lua:280: in function 'update_active_tab'
__LtnManager__/gui/main.lua:57: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
stack traceback:
[C]: in function 'table_add'
__LtnManager__/gui/stations.lua:137: in function 'update'
__LtnManager__/gui/main.lua:261: in function 'update'
__LtnManager__/gui/main.lua:280: in function 'update_active_tab'
__LtnManager__/gui/main.lua:57: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
The correct icon would be "item/ltn-provider-reader"
Reproduce:
Error log:
The mod LTN Manager [ALPHA] (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_lua_shortcut (ID 34)
__LtnManager__/gui/inventory.lua:199: attempt to index local 'locations' (a nil value)
stack traceback:
__LtnManager__/gui/inventory.lua:199: in function 'update'
__LtnManager__/gui/main.lua:261: in function 'update'
__LtnManager__/gui/main.lua:280: in function 'update_active_tab'
__LtnManager__/gui/main.lua:285: in function 'open'
__LtnManager__/gui/main.lua:311: in function 'toggle'
__LtnManager__/control.lua:192: in function 'handler'
__RaiLuaLib__/lualib/event.lua:127: in function <__RaiLuaLib__/lualib/event.lua:28>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.