Picklocks rocket silo stats


This mod shows a gui with statistics on rocket launches and as in the vanilla Factorio up to version 1.0 statistics about the payload and more. In addition, a distinction can be made by surface, with Space-Age the launched astronauts and the quality of the payload can be displayed.

Utilities
5 months ago
1.1 - 2.0
1.46K

g Crashdump

3 months ago

9959.502 Error MainLoop.cpp:1435: Exception at tick 7159845: The mod Picklocks rocket silo stats (2.0.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event PicksRocketStats::on_gui_click (ID 1)
The mod Caspers Speed Toggle (1.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event CaspersPlayerSpeedMod::on_runtime_mod_setting_changed (ID 64)
value for required parameter 1 (player) is missing
stack traceback:
[C]: in function 'get_player_settings'
CaspersPlayerSpeedMod/control.lua:5: in function 'update_speed_levels'
CaspersPlayerSpeedMod/control.lua:26: in function <CaspersPlayerSpeedMod/control.lua:25>
stack traceback:
[C]: in function 'newindex'
__PicksRocketStats
/prototypes/settings_gui.lua:1068: in function 'pi_rss_save_settings'
PicksRocketStats/prototypes/settings_gui.lua:1129: in function 'pi_rss_settings_apply'
PicksRocketStats/control.lua:477: in function <PicksRocketStats/control.lua:438>

3 months ago
(updated 3 months ago)

Hi QuirkyCat!

I will have a loock at it. Can you tell me more about the circumstances that led to the error?

3 months ago

Hi QuirkyCat!

I have carried out tests myself. The error is triggered by the mod CaspersPlayerSpeedMod. The non-recoverable error occurs in the control.lua of the mod CaspersPlayerSpeedMod when settings are changed in my mod via the gui in the game. Global mod settings (map settings) are also changed. The event on_runtime_mod_setting_changed is triggered without player index. This case is not intercepted in the mod CaspersPlayerSpeedMod and the error is triggered. I have no possibility to do anything from my mod.

Please contact the mod author of the mod CaspersPlayerSpeedMod about the error. Inserting the following line of code after line 25 in the control.lua in CaspersPlayerSpeedMod would fix the error.

"if not event or not event.player_index then return end"

3 months ago

Thanks for checking.

New response