YARM - Resource Monitor

by Narc

This mod helps you to keep track of your mining sites, with useful data such as the percent mined, and estimated time to depletion.

Utilities
22 days ago
0.14 - 2.0
139K
Mining

b Crash when adding site

4 years ago

I was adding a mining site that already had active miners on it. The mod caused a crash:

 611.742 Error MainLoop.cpp:1204: Exception at tick 5470255: The mod YARM - Resource Monitor (0.8.101) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event YARM::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    __YARM__/resmon.lua:412: in function 'scan_current_site'
    __YARM__/resmon.lua:1283: in function 'update_players'
    __YARM__/resmon.lua:1336: in function 'on_tick_internal'
    __YARM__/resmon.lua:1370: in function <__YARM__/resmon.lua:1365>
stack traceback:
    [C]: in function '__index'
    __YARM__/resmon.lua:412: in function 'scan_current_site'
    __YARM__/resmon.lua:1283: in function 'update_players'
    __YARM__/resmon.lua:1336: in function 'on_tick_internal'
    __YARM__/resmon.lua:1370: in function <__YARM__/resmon.lua:1365>

New response