Logistic Request Manager (continued)

by daeruun

Allows you to save and switch between custom logistic request presets, as well as request blueprints. Optionally presets can be pushed to constant combinators to use the circuit network to manipulate requests.

Utilities
3 months ago
0.18 - 1.1
24.6K
Logistic network

b [1.1.18] crash on multiplayer server using krastorio2 and space exploration

2 years ago
(updated 2 years ago)

I use this mod all the time, and it crashed only once, so I am trying to remember exactly what happened: at that moment I was using "clear all", and possibly just closed the Logistic Request Manager window, anyway I was cleaning up the inventory, in the process to switch to another profile and it crashed the multiplayer server with the following message:

1001.013 Error MainLoop.cpp:1283: Exception at tick 24913022: The mod Logistic Request Manager (continued) (1.1.18) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event LogisticRequestManager::LRM-input-toggle-gui (ID 174)
LuaEquipmentGrid doesn't contain key get_logistic_point.
stack traceback:
        [C]: in function '__index'
        __LogisticRequestManager__/scripts/blueprint-requests.lua:19: in function 'get_inventory_entity'
        __LogisticRequestManager__/gui.lua:429: in function 'set_gui_elements_enabled'
        __LogisticRequestManager__/control.lua:546: in function 'close_or_toggle'
        __LogisticRequestManager__/control.lua:336: in function <__LogisticRequestManager__/control.lua:335>
1001.014 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "The mod Logistic Request Manager (continued) (1.1.18) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event LogisticRequestManager::LRM-input-toggle-gui (ID 174)
LuaEquipmentGrid doesn't contain key get_logistic_point.
stack traceback:
        [C]: in function '__index'
        __LogisticRequestManager__/scripts/blueprint-requests.lua:19: in function 'get_inventory_entity'
        __LogisticRequestManager__/gui.lua:429: in function 'set_gui_elements_enabled'
        __LogisticRequestManager__/control.lua:546: in function 'close_or_toggle'
        __LogisticRequestManager__/control.lua:336: in function <__LogisticRequestManager__/control.lua:335>"
1001.014 Info ServerMultiplayerManager.cpp:797: updateTick(24913022) changing state from(InGame) to(Failed)
1001.014 Quitting: multiplayer error.
1002.046 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
1002.046 Info ServerMultiplayerManager.cpp:797: updateTick(4294967295) changing state from(Failed) to(Closed)
1002.206 Info UDPSocket.cpp:218: Closing socket
1002.206 Info UDPSocket.cpp:248: Socket closed
1002.206 Goodbye

Seeing the "blueprint-requests.lua" made me think that I clicked on the blueprint button instead of the window close.
Anyway, these are the mods running on this server:

mods/aai-containers_0.2.9.zip
mods/aai-industry_0.5.9.zip
mods/aai-signal-transmission_0.4.4.zip
mods/alien-biomes_0.6.5.zip
mods/bullet-trails_0.6.1.zip
mods/combat-mechanics-overhaul_0.6.20.zip
mods/equipment-gantry_0.1.4.zip
mods/flib_0.9.0.zip
mods/grappling-gun_0.3.1.zip
mods/informatron_0.2.2.zip
mods/jetpack_0.2.12.zip
mods/Krastorio2_1.1.6.zip
mods/LogisticRequestManager_1.1.18.zip
mods/miniloader_1.14.6.zip
mods/mod-list.json
mods/mod-settings.dat
mods/robot_attrition_0.5.11.zip
mods/shield-projector_0.1.2.zip
mods/sonaxaton-resource-map-markers_0.3.5.zip
mods/space-exploration-graphics-2_0.1.1.zip
mods/space-exploration-graphics-3_0.1.1.zip
mods/space-exploration-graphics-4_0.1.1.zip
mods/space-exploration-graphics-5_0.1.2.zip
mods/space-exploration-graphics_0.5.13.zip
mods/space-exploration-postprocess_0.5.24.zip
mods/space-exploration_0.5.90.zip
mods/textplates_0.6.3.zip
mods/Todo-List_19.2.0.zip
2 years ago

Hi zed9h,

sorry for the crash and the wait.
I'll look into it, but it might take some days.

2 years ago
(updated 2 years ago)

The error seems to have happend while opening or perhaps closing the GUI.
The function in blueprint-requests that caused the error is called to decide if the buttons are to be locked or not.

I assume you don't have a save from short before the crash, do you?

Do you remember what was displayed in the target-slot (below the preset)?

2 years ago

I tried to prevent the error in V 1.1.19 but as I could not reproduce it, I'm not sure if it will work in all cases.
Let me know if it happens again, please.

2 years ago

Hi, [sorry for the delay, my notifications were not enabled here, now it is.]

I don't have the save anymore... and I could not reproduce the error, it never happened again.
By target-slot you mean the "interacting entity"? it was my own character.

I will update to the latest version and let you know if it happens again.

2 years ago

I got a log message, first when I saved a profile, and now every time I open the Logistic Request Manager window.

https://i.ibb.co/Y7KwjWs/lrm19log.png

2 years ago

these loglines should be fixed in 1.1.20
thanks for the notice!

New response