Solar Calculator


Adds a solar power calculator able to calculate how much energy your solar plants are providing on average right now. Or calculate how much panels and accumulators you need to provide desired power. Supports modded panels, accumulators, different surfaces(planets and orbits in Space Exploration)

Utilities
2 years ago
1.0 - 1.1
59.6K

b [FIXED]Crash with pipelayer

3 years ago
(updated 3 years ago)

Error while running event level::on_player_created (ID 24)
The mod Pipelayer (0.5.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event pipelayer::on_player_changed_position (ID 82)
The mod Solar Calculator (0.1.61) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event solar-calc::on_surface_created (ID 61)
solar-calc/main-gui.lua:16: attempt to index field '?' (a nil value)
stack traceback:
solar-calc/main-gui.lua:16: in function 'get_data_table'
solar-calc/main-gui.lua:12: in function 'get_surface_menu'
solar-calc/control.lua:204: in function <solar-calc/control.lua:201>
stack traceback:
[C]: in function 'create_surface'
pipelayer/lualib/BaseEditor/BaseEditor.lua:65: in function 'create_editor_surface'
pipelayer/lualib/BaseEditor/BaseEditor.lua:95: in function <pipelayer/lualib/BaseEditor/BaseEditor.lua:89>
(...tail calls...)
pipelayer/Editor.lua:702: in function 'on_player_changed_position'
pipelayer/control.lua:37: in function <pipelayer/control.lua:37>
stack traceback:
[C]: in function 'set_controller'
core/lualib/crash-site.lua:307: in function 'create_cutscene'
...ata/Roaming/Factorio/temp/currently-playing/freeplay.lua:71: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

3 years ago

Interesting bug. From my point of view it's not even my bug. It's Factorio who generates events in wrong order. However it was easy to create workaround for this behavior.
Should be fixed now.

3 years ago

Thanx.

New response