[0.17.21] NPE scenario crash upon loading campaign

This subforum contains all the issues which we already resolved.
lvl
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu May 11, 2017 10:37 am
Contact:

[0.17.21] NPE scenario crash upon loading campaign

Post by lvl »

Just tried loading the NPE campaign for the first time in .17.
As soon as I click on Arrival and then Play I get the following error:

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

Error while running event level::on_game_created_from_scenario (ID 119)
A script command already exists with the name: spawn
stack traceback:
__base__/lualib/npe/scenario-commands.lua:213: in function 'on_load'
__base__/lualib/npe/main.lua:87: in function 'on_game_created_or_loaded'
__base__/lualib/npe/main.lua:124: in function '?'
__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>
stack traceback:
[C]: in function 'add_command'
__base__/lualib/npe/scenario-commands.lua:213: in function 'on_load'
__base__/lualib/npe/main.lua:87: in function 'on_game_created_or_loaded'
__base__/lualib/npe/main.lua:124: in function '?'
__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>
Attachments
factorio-current.log
(32.92 KiB) Downloaded 63 times
User avatar
wheybags
Former Staff
Former Staff
Posts: 328
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [0.17.21] NPE scenario crash upon loading campaign

Post by wheybags »

Ok, this is a result of the scenario adding a command "/spawn". Unfortunately, some mod you are using also added such a command, so there is a conflict.
The next version of the game will have this command disabled, but for now you can just not use your mods.
Thanks for the report!
Post Reply

Return to “Resolved Problems and Bugs”