Sorted Logistics Sections


Keeps your logistic sections permanently sorted

Utilities
9 months ago
2.0
596
Logistic network

b Error while running event (solved)

10 months ago

Error while running event sorted-logistic-sections::on_entity_logistic_slot_changed (ID 182)
Unknown item name: gleba
stack traceback:
[C]: in function 'insert'
sorted-logistic-sections/scripts/inventory.lua:47: in function 'sort_section'
sorted-logistic-sections/scripts/inventory.lua:105: in function 'sort_logistic_sections'
sorted-logistic-sections/control.lua:7: in function 'apply_sorting'
sorted-logistic-sections/control.lua:71: in function <sorted-logistic-sections/control.lua:63>

I thought it was a compatibility issue with Shortwave Fixed MOD.
Until I tested Constant combinator and got the same error.

Turns out you can't use the planet's signals.

10 months ago
(updated 10 months ago)

Under what circumstance would you have a logistic request for a Gleba?

Could you tell me how to reproduce this?

I understand, a constant combinator's signals are also considered a logistic section. I will try to find a solution for this.

10 months ago

With Shortwave Fixed MOD I'd use the planet's signal as the channel signal, with Constant combinator I'd probably use it as the destination signal on a space platform.
Seems like you should know what the problem is, cheers.

10 months ago
(updated 10 months ago)

I updated the mod just now. I rewrote the sorting algorithm to account for anything (not just items) in logistic sections. Please let me know if this works for you and if you run into anything else!

10 months ago

Roger that, thanks for the update, I will test it.

New response