Resource Monitor

by devdot

Monitor mining sites and track resources across planets/surfaces.

Utilities
25 days ago
1.1 - 2.0
3.05K

g [fixed] Error on Load

a month ago

I added the mod to an existing 2.0.9 save and get this message when i try to load the save:

Notice

The mod Resource Monitor (1.2.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event dqol-resource-monitor :: on_init()
dqol-resource-monitor /components/sites.lua:568: bad argument #1 of 2 to
'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
dqol-resource-monitor__ /components/sites.lua:568: in function 'clean'
dqol-resource-monitor /components/resources.lua: 109: in function
'generate_resources'
dqol-resource-monitor /components/resources.lua:184: in function 'boot'
dqol-resource-monitor /control.lua: 16: in function 'boot'
dqol-resource-monitor /control.lua:33: in function
< dqol-resource-monitor/control.lua:32>

a month ago

I receive an error when tried to lad game with just updated mod^

Error while running event dqol-resource-monitor::on_configuration_changed
dqol-resource-monitor/components/sites.lua:568: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
dqol-resource-monitor/components/sites.lua:568: in function 'clean'
dqol-resource-monitor/components/resources.lua:109: in function 'on_configuration_changed'
dqol-resource-monitor/control.lua:50: in function <dqol-resource-monitor/control.lua:49>

a month ago

When try to start NEW game, i see:

Error while running event dqol-resource-monitor::on_init()
dqol-resource-monitor/components/sites.lua:568: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
dqol-resource-monitor/components/sites.lua:568: in function 'clean'
dqol-resource-monitor/components/resources.lua:109: in function 'generate_resources'
dqol-resource-monitor/components/resources.lua:184: in function 'boot'
dqol-resource-monitor/control.lua:16: in function 'boot'
dqol-resource-monitor/control.lua:33: in function <dqol-resource-monitor/control.lua:32>

a month ago
(updated a month ago)

Thanks for the report, I messed up 1.2.2 (will revoke that version). Crashes should be fixed in 1.2.3 1.2.4 now

a month ago

Thanks, I'll try now :)

a month ago

It works! Thanks a lot

a month ago

But why resource window disappears?..

a month ago

Do you mean the dashboard on the left? The filters are reset on every update, so you'll have to configure it again in the resource monitor window

a month ago

What You mean "every update" :) Update of the mod?

a month ago

Yes, it only happens when this mod is update. The reason is that there are too many possible states that would need to be migrated, and I need to figure out some other UI state related issues first.

a month ago

This issue seems to have shown back up. When starting a new save I get this error:

The mod Resource Monitor (1.2.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event dqol-resource-monitor::on_init()
dqol-resource-monitor/components/translation.lua:19: attempt to concatenate local 'string' (a table value)
stack traceback:
dqol-resource-monitor/components/translation.lua:19: in function 'request'
dqol-resource-monitor/components/resources.lua:116: in function 'generate_resources'
dqol-resource-monitor/components/resources.lua:200: in function 'boot'
dqol-resource-monitor/control.lua:17: in function 'boot'
dqol-resource-monitor/control.lua:34: in function <dqol-resource-monitor/control.lua:33>

a month ago

Hey @Reyyn,
thanks for the report. 1.2.5 has introduced a different bug that only happens on new saves in single player, it is fixed now in 1.2.6

Sorry about the inconvenience

New response