Solar Calculator


Adds a solar power calculator that can calculate how much power your solar panels provide on average. Or calculate how many panels and accumulators you need to provide the desired power. Supports modded panels and accumulators, quality and DLC planets (future Space Exploration update to 2.0 most likely won't work)

Utilities
a month ago
1.0 - 2.0
68.9K

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