Concentrated Solar Power


Using the heat of the sun to generate power.

Content
29 days ago
1.1
6.46K
Power

g Warptorio2

a month ago

after the warp the CPS shows "no fuel"... i have to rebuild them after every warp and wait again for them to heat up.
can it be fixed so that they keep the "fuel" after the warp?

a month ago

I'm not too sure since warptorio rebuilds the platform after every warp I think, which deletes the references I use to keep track of the csp. But I can try to find a way to fix it.

30 days ago
(updated 30 days ago)

thanks for the quick response to fix the problem.

30 days ago

well... that did not work... when i try to load my savegame -> unrecoverable error

Die Mod Warptorio2 (1.3.10) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event warptorio2::on_configuration_changed
Die Mod Concentrated Solar Power (0.0.8) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event concentrated-solar-power::script_raised_built (ID 79)
concentrated-solar-power/control.lua:42: attempt to index field 'created_entity' (a nil value)
stack traceback:
concentrated-solar-power/control.lua:42: in function 'create_csp'
concentrated-solar-power/control.lua:48: in function <concentrated-solar-power/control.lua:47>
stack traceback:
[C]: in function 'create_entity'
warptorio2/lib/lib_control.lua:59: in function 'create'
warptorio2/control_class_teleporter.lua:304: in function 'MakePointLoader'
warptorio2/control_class_teleporter.lua:331: in function 'MakePointLoaders'
warptorio2/control_class_teleporter.lua:383: in function 'CheckPointLogistics'
warptorio2/control_class_teleporter.lua:232: in function 'MakePointTeleporter'
warptorio2/control_class_teleporter.lua:177: in function 'CheckTeleporterPairs'
warptorio2/control_main_helpers.lua:136: in function 'LoaderSideChanged'
warptorio2/control_main_helpers.lua:122: in function 'v'
warptorio2/control_main.lua:351: in function 'v'
warptorio2/lib/lib_control.lua:270: in function <warptorio2/lib/lib_control.lua:270>


i can start a new game with it, but if i place a CSP and warp.... -> unrecoverable error again.

Die Mod Warptorio2 (1.3.10) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event warptorio2::on_tick (ID 0)
Die Mod Concentrated Solar Power (0.0.8) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event concentrated-solar-power::on_entity_cloned (ID 124)
concentrated-solar-power/control.lua:42: attempt to index field 'created_entity' (a nil value)
stack traceback:
concentrated-solar-power/control.lua:42: in function 'create_csp'
concentrated-solar-power/control.lua:48: in function <concentrated-solar-power/control.lua:47>
stack traceback:
[C]: in function 'clone_entities'
warptorio2/control_main.lua:988: in function 'Warp'
warptorio2/control_main.lua:861: in function 'Warpout'
warptorio2/control_main_helpers.lua:227: in function 'b'
warptorio2/lib/lib_control.lua:281: in function <warptorio2/lib/lib_control.lua:281>

30 days ago

Oh, that's my bad. I forgot to add a variable call when the csp gets cloned, that's why it keeps crashing. I'll get that fixed later tonight since I'm at work right now.

29 days ago

thanks for the fix. it works now.

28 days ago

thanks for the fix. it works now. oh and b ig thanks for the implementation of the "warpability" :3

28 days ago

I have no idea what "warpability" means but I'm going to assume it's when the platform warps, but I'm glad the mod works now!

New response