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 Space Exploration surface deleting

2 years ago
(updated 2 years ago)

Deleting a surface with a marked ore patch crashes the game.
I assume the issue is that YARM doesn't check if the surface/planet is null/nil before trying to access it

2 years ago

Please report this error to the mod author.

Error while running event YARM::on_tick (ID 0)
Given surface does not exist anymore.
stack traceback:
[C]: in function 'add_chart_tag'
YARM/resmon.lua:515: in function 'update_chart_tag'
YARM/resmon.lua:682: in function 'finish_deposit_count'
YARM/resmon.lua:621: in function 'tick_deposit_count'
YARM/resmon.lua:602: in function 'count_deposits'
YARM/resmon.lua:1325: in function 'update_forces'
YARM/resmon.lua:1347: in function 'on_tick_internal'
YARM/resmon.lua:1380: in function <YARM/resmon.lua:1375>
7093.791 Error ClientMultiplayerManager.cpp:98: MultiplayerManager failed: "The mod YARM - Resource Monitor (0.8.204) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event YARM::on_tick (ID 0)
Given surface does not exist anymore.
stack traceback:
[C]: in function 'add_chart_tag'
YARM/resmon.lua:515: in function 'update_chart_tag'
YARM/resmon.lua:682: in function 'finish_deposit_count'
YARM/resmon.lua:621: in function 'tick_deposit_count'
YARM/resmon.lua:602: in function 'count_deposits'
YARM/resmon.lua:1325: in function 'update_forces'
YARM/resmon.lua:1347: in function 'on_tick_internal'
YARM/resmon.lua:1380: in function <YARM/resmon.lua:1375>"

2 years ago

Who would've expected the world to disappear out from under you, right? Thanks for also contributing a fix, will release shortly.

2 years ago

That's what friends are for :D

New response