SLP - Dyson Sphere Reworked

by SLywnow

Who needs a fusion reactor when you have the whole sun? Steer the starship directly into its orbit and channel an incredible amount of energy where you need it with new technologies. The main thing is not to forget to leave the ship before departure! Make dyson sphere near star and forget about other energy sources in planets and in space!

Content
20 days ago
2.0
12.7K
Factorio: Space Age Icon Space Age Mod
Environment Mining Power

b Crash when building from blueprint

a month ago
(updated a month ago)

While rebuilding a platform from blueprint (that contains a MK1 connector), the multiplayer server crashes with the following error

Error MainLoop.cpp:1510: Exception at tick 254397273: The mod SLP - Dyson Sphere Reworked (1.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event slp-dyson-sphere-reworked::on_space_platform_built_entity (ID 76)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__slp-dyson-sphere-reworked
/scripts/updateEntitys.lua:210: in function 'remove_entity'
slp-dyson-sphere-reworked/scripts/updateEntitys.lua:565: in function 'change_output'
slp-dyson-sphere-reworked/scripts/updateEntitys.lua:204: in function 'UpdateAll'
slp-dyson-sphere-reworked/control.lua:77: in function <slp-dyson-sphere-reworked/control.lua:76>

a month ago

On further testing, the game crashes when any connector is deleted, on any other platform, following the initial platform destruction. I think this is the first platform we lost with a connector built on it. I am guessing that the entity isn't getting cleaned up on platform destruction in some type of cache and as soon as the mod code is hit it errors on that lookup.

a month ago

Thanks to Kryzeth for helping confirm over in the 'Enable Planet Mod Lite' discussion thread that it was left over invalid references. Sorry not sure if it's possible to copy results from the ingame console logs, but a screenshot can be found here https://i.imgur.com/kkWHKXk.jpeg

22 days ago

Will see, thanks

22 days ago

Found bug, will fix in next ver

New response