Magic Lamp


Lamps capable of projecting complex imagery

3 years ago
0.17 - 1.1
899

b crash after another mod and its items were removed

5 years ago

after updating factorio from 0.17.50 to 0.17.54 (and with all mods updated to the most current versions), i had some other mod conflicts and thus another mod was disabled. probably one of the items (some new science pack) from that other mod was displayed by a magic lamp, and on loading the old map, the game immediately crashed with the following message when this mod tried to access that no-longer-existing item type.
btw: at first i hadn't seen this "error notice" window since it was hidden behind the long list of "migrated content". maybe this mod already did it's first tick before the content migration was done and thus actions happened in a bad order ? or maybe this mod doesn't check at all whether some items (still) exist at all after they once were set up corrrectly.

The mod Magic Lamp caused a non-recoverable error.
Please report this error to the mod author.

Error while running event magic-lamp::on_tick (ID 0)
Unknown item name: se-astronomic-science-pack
stack traceback:
magic-lamp/control.lua:172: in function 'on_tick_numeric_lamp'
magic-lamp/control.lua:346: in function 'on_tick_lamp'
magic-lamp/control.lua:367: in function <magic-lamp/control.lua:355>
stack traceback:
[C]: in function 'draw_sprite'
magic-lamp/control.lua:172: in function 'on_tick_numeric_lamp'
magic-lamp/control.lua:346: in function 'on_tick_lamp'
magic-lamp/control.lua:367: in function <magic-lamp/control.lua:355>

New response