[Pending] LUA Error when saving

Things that has been reported already before.
Post Reply
Kinson
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jun 13, 2016 8:23 pm
Contact:

[Pending] LUA Error when saving

Post by Kinson »

Error:
Error while running the event handler: ...Data/Roaming/Factorio/temp/currently-playing/control.lua:390: attempt to index field 'character' (a nil value)

Looks to me like there is a reference to a table member that has not been created in one of your LUA scripts. This happened as soon as I was killed by some of the enemies.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: LUA Error when saving

Post by daniel34 »

This has also been reported on the Steam forums: http://steamcommunity.com/app/427520/di ... 564490802/

The map in question is the First Steps campaign, level 3. I've tried to reproduce it a few times but failed.
Line 390:

Code: Select all

game.player.character.get_item_count("submachine-gun") > 0 then
Kinson wrote:LUA Error when saving
Not sure what you mean by 'saving', can you explain that in more detail?
quick links: log file | graphical issues | wiki

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: LUA Error when saving

Post by Klonan »

Thanks for the report,

Are you playing the campaign map in multiplayer?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [Pending] LUA Error when saving

Post by daniel34 »

Duplicate of viewtopic.php?f=11&t=27926, has been fixed in 0.13.8.
quick links: log file | graphical issues | wiki

Post Reply

Return to “Duplicates”