Factorissimo 2 - notnotmelon fork 🍴


A fork of Factorissimo 2 focused on improving performance by implementing several 1.1 features. Can improve performance by 10X or higher. Also fixes several bugs from the original version.

Content
1 year, 3 months ago
1.1
53.9K
Logistics

b [1.2.3] Invalid LuaEntity when nuked by a true nuke

7 months ago
(updated 7 months ago)

When using True Nukes this will happen if factories are marked as indestructible and affected by a nuke that would destroy it.

The mod True Nukes (0.3.25) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event True-Nukes::on_script_trigger_effect (ID 155)
The mod Factorissimo 2 - notnotmelon fork (1.2.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event factorissimo-2-notnotmelon::on_entity_died (ID 4)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
        [C]: in function '__index'
        __factorissimo-2-notnotmelon__/control.lua:196: in function 'update_power_connection'
        __factorissimo-2-notnotmelon__/control.lua:260: in function 'power_pole_destroyed'
        __factorissimo-2-notnotmelon__/control.lua:793: in function <__factorissimo-2-notnotmelon__/control.lua:773>
stack traceback:
        [C]: in function 'die'
        __True-Nukes__/scripts/fireball-system.lua:83: in function 'full_fireball'
        __True-Nukes__/control.lua:274: in function 'atomic_weapon_hit'
        __True-Nukes__/control.lua:399: in function <__True-Nukes__/control.lua:367>

The factory needs to be connected to any pole, and for some reason this happens only when the pole is at the south of the factory.

New response