[0.16.0] PVP.lua attempt to index field 'game_mode'

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
digaph
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu May 05, 2016 6:38 pm
Contact:

[0.16.0] PVP.lua attempt to index field 'game_mode'

Post by digaph »

On loading a save game from 0.15.x that started as a pvp game, but continued as a solo game I get the message "Error while running event level::on_tick(ID 0) ../<some path>/currently_playing/pvp.lua:1576: attempt to index field 'game_mode' (a nil value).
I had this issue in 0.16.0 - 0.16.3.

It means I cannot load my old save game in 0.16.x.
I attached the pvp.lua file just in case.

Let me know if more input is desired, I can share the save game if that would help.

Cheers,
Digaph
Attachments
pvp.lua
(73.37 KiB) Downloaded 32 times


digaph
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu May 05, 2016 6:38 pm
Contact:

Re: [0.16.0] PVP.lua attempt to index field 'game_mode'

Post by digaph »

Added the Save game and logfile. I hope it's the right logfile, let me know if anything more is needed.

Cheers,
Digaph
Attachments
factorio-current.log
(33.22 KiB) Downloaded 37 times
DvsD_solo.zip
Save Game
(28.05 MiB) Downloaded 43 times

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

Re: [0.16.0] PVP.lua attempt to index field 'game_mode'

Post by Klonan »

digaph wrote:Added the Save game and logfile. I hope it's the right logfile, let me know if anything more is needed.

Cheers,
Digaph
Sorry, it wasn't really expected that people would continue an old PvP game into 0.16, so I didn't write it with migrations

Anyway, here is a 0.16 version of your save that should work:
DvsD_solo_016.zip
(22.85 MiB) Downloaded 37 times

digaph
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu May 05, 2016 6:38 pm
Contact:

Re: [0.16.0] PVP.lua attempt to index field 'game_mode'

Post by digaph »

Ty very much Klonan, much appreciated!
We used PvP as a way to coop whilst having our own bases and tech tree. So when time didn't allow for multiplay much I decided to continue the map in a solo fashion.

Cheers,
Digaph

m0thman
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Dec 20, 2017 12:56 pm
Contact:

Re: [0.16.0] PVP.lua attempt to index field 'game_mode'

Post by m0thman »

Hello Klonan.
Will this be fixed in future updates? I have the same issue. My save is attached. I will appreciate if you'll be able to fix it for me or post some solution that I can apply myself :roll:
Attachments
m0thorio_me_h.zip
(13.14 MiB) Downloaded 40 times

Post Reply

Return to “Technical Help”