Resource Monitor

by devdot

Monitor mining sites and track resources across planets / surfaces.

Utilities
3 months ago
1.1 - 2.0
7.12K

g [fixed] Error on Load

10 months 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>

10 months 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>

10 months 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>

10 months ago
(updated 10 months 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

10 months ago

Thanks, I'll try now :)

10 months ago

It works! Thanks a lot

10 months ago

But why resource window disappears?..

10 months 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

10 months ago

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

10 months 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.

10 months 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>

10 months 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

This thread has been locked.