Page 1 of 1

[0.17.53] Crash during "Bring the items to Compilatron"

Posted: Mon Jul 01, 2019 10:03 pm
by mecdemort
After having the items and approaching Compilatron, it drives over to the iron ore patch and then the follow crash appears:

The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_tick (ID 0)
__base__/lualib/compi.lua:312: attempt to index field 'products' (a nil value)
stack traceback:
__base__/lualib/compi.lua:312: in function 'build_area'
__base__/lualib/npe/cutscenes/compi_build_iron_cutscene.lua:82: in function 'init'
__core__/lualib/story_2.lua:231: in function 'jump_to_node'
__core__/lualib/story_2.lua:196: in function 'update'
__base__/lualib/npe/storytable.lua:143: in function '?'
__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>

Re: [0.17.53] Crash during "Bring the items to Compilatron"

Posted: Tue Jul 02, 2019 5:24 am
by boskid
Same script crash as in 72780 and 72788

Please turn off all mods

Re: [0.17.53] Crash during "Bring the items to Compilatron"

Posted: Wed Jul 03, 2019 12:38 pm
by wheybags
Thanks for the report.
Indeed, we are generally not going too far out of our way to make things work with mods in the NPE, but the wrong property was being used in the code here, so in this case we have decided to fix it.
So, it is fixed for the next release.