Production Statistics Monitor HUD

by Peppe

Pin Items/Fluids to HUD to view production statistics, ratios, differentials. Quick open/close, customize order, location, precision.

a month ago
0.15 - 2.0
7.53K

g .18.13 broke it

4 years ago

When I click on the gui it causes and unrecoverable error. Just thought you ought to know

4 years ago

did not get any errors with no other mods and with some bobs/angels mods.

did the error indicate something specific about my mod? is it consistent crash? what other mods do you play with?

4 years ago

Same issue here. After updating to 0.18.13 the UI becomes weird. Every icon now becomes a big button, and clicking any button would crash the game.

The mod Production Statistics Monitor HUD (0.18.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event production-monitor::on_gui_click (ID 1)
Unknown style small_slot_button
stack traceback:
production-monitor/util/display.lua:208: in function 'minDisplay'
production-monitor/util/display.lua:248: in function 'addUpdateDisplay'
production-monitor/util/calculation.lua:69: in function 'updateCalculations'
production-monitor/util/playerMgr.lua:165: in function 'updateDisplayPlayer'
production-monitor/util/display.lua:411: in function 'resetGuiEvent'
production-monitor/util/display.lua:166: in function <production-monitor/util/display.lua:79>
stack traceback:
[C]: in function 'add'
production-monitor/util/display.lua:208: in function 'minDisplay'
production-monitor/util/display.lua:248: in function 'addUpdateDisplay'
production-monitor/util/calculation.lua:69: in function 'updateCalculations'
production-monitor/util/playerMgr.lua:165: in function 'updateDisplayPlayer'
production-monitor/util/display.lua:411: in function 'resetGuiEvent'
production-monitor/util/display.lua:166: in function <production-monitor/util/display.lua:79>

4 years ago

Ok thanks for the error message was able to reproduce in a game with no other mods.

Looks like if you switch to the default large icons it works fine -- this is in settings -> mod settings -> per player settings. Check larger icons and fonts for production hud.

I won't be able to fix it tonight, but i'll take a look at the styles used in the small icons and see if I can trace what changed in the update.

4 years ago

resolved.

4 years ago
(updated 4 years ago)

hi.im running 0.18.10 and i get this message at start.

Error while running event production-monitor::on_configuration_changed
Unknown style small_picture_slot_button
stack traceback:
production-monitor/util/display.lua:208: in function 'minDisplay'
production-monitor/util/display.lua:248: in function 'addUpdateDisplay'
production-monitor/util/calculation.lua:69: in function 'updateCalculations'
production-monitor/util/playerMgr.lua:165: in function 'updateDisplayPlayer'
production-monitor/util/calculation.lua:45: in function 'updateDisplayForce'
production-monitor/util/calculation.lua:32: in function 'updateStats'
production-monitor/util/playerMgr.lua:48: in function <production-monitor/util/playerMgr.lua:24>
stack traceback:
[C]: in function 'add'
production-monitor/util/display.lua:208: in function 'minDisplay'
production-monitor/util/display.lua:248: in function 'addUpdateDisplay'
production-monitor/util/calculation.lua:69: in function 'updateCalculations'
production-monitor/util/playerMgr.lua:165: in function 'updateDisplayPlayer'
production-monitor/util/calculation.lua:45: in function 'updateDisplayForce'
production-monitor/util/calculation.lua:32: in function 'updateStats'
production-monitor/util/playerMgr.lua:48: in function <production-monitor/util/playerMgr.lua:24>

4 years ago

What do you get in 18.13?

New response