Magic Lamp


Lamps capable of projecting complex imagery

3 years ago
0.17 - 1.1
899

b magic lamps crash with bad gui after building it with construction drones

4 years ago

i used cut&paste to move a magic lamp (from the mod with the same name). the construction drones (from the mod with the same name) deconstructed the old one and built it again, but when nothing was displayed by the magic lamp, i tried to access its gui, and the following crash occured. since i don't know which of the mods forgot to do something (my guess: maybe a missing event, either not raised by construction drones, or more likely not recognized/reacted to by the magic lamp mod, and thus not building some invisible item or properly initializing the gui), i am writing this report to the discussions of both mods ...

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

Error while running event magic-lamp::on_gui_opened (ID 83)
magic-lamp/control.lua:595: attempt to index field '?' (a nil value)
stack traceback:
magic-lamp/control.lua:595: in function 'create_lamp_gui'
magic-lamp/control.lua:646: in function <magic-lamp/control.lua:641>

4 years ago

Klonan (author of the construction drones mod) just answered to my post on that mod's discussion page:

Magic lamp will need to listen to the script_raised_revive event

New response