Advanced Logistics System Fork

by l1ng0

Extended Logistics Network View and Monitoring

Utilities
3 years ago
0.18 - 1.1
3.10K

b Crash in v1.1 (if just bump version in json)

3 years ago

Crash in v1.1 after open GUI and select Settings tab (in GUI) - I have just bumped version in json

The mod Advanced Logistics System Fork (0.6.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event advanced-logistics-system-fork::on_gui_click (ID 1)
advanced-logistics-system-fork/gui/settings.lua:39: bad argument #1 of 2 to 'newindex' (string expected, got number)
stack traceback:
[C]: in function '__newindex'
__advanced-logistics-system-fork
/gui/settings.lua:39: in function 'showSettings'
advanced-logistics-system-fork/gui/events.lua:163: in function <advanced-logistics-system-fork/gui/events.lua:85>

3 years ago
(updated 3 years ago)

hotfix: Open the file and modify the relevant lines as follows:
Line 39:
settingsField.text = tostring(refreshInterval)
Line 47:
settingsField.text = tostring(itemsPerPage)

FYI: https://github.com/misho104/advanced-logistics-system/tree/hotfix-1.1

3 years ago

I've been too busy recently to investigate this, so thank you @misho104, I'll apply the fix as soon as I can.

3 years ago

Thanks for the fix, I've applied it and uploaded a new version

New response