Page 1 of 1

[0.13.9] [Pending] Import savegame

Posted: Fri Jul 15, 2016 7:36 pm
by Androkai
I want to import a savegame from my Windows-PC to host it with a headless server. Then starting the savegame it crashs with this output:

Code: Select all

   2.004 Loading map ../../saves/xxxxx.zip
   2.017 Info Scenario.cpp:127: Map version 0.13.8-1
   2.020 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-01-09_Factorio_0.9.0.json
   2.020 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "big-tree" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-03-17_Factorio_0.9.4.json
   2.020 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.942 Applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua
   2.943 Warning Scenario.cpp:202: Map loading failed during migrations processing: Error while applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua

Cannot execute command. Error: [string "if game.is_demo() then..."]:5: attempt to index field 'player' (a nil value)
   3.208 Error MultiplayerManager.cpp:129: MultiplayerManager failed: "Error while applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua

Cannot execute command. Error: [string "if game.is_demo() then..."]:5: attempt to index field 'player' (a nil value)"
   3.208 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
   3.208 Error Main.cpp:417: Couldn't load the game for MP: Error while applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua

Cannot execute command. Error: [string "if game.is_demo() then..."]:5: attempt to index field 'player' (a nil value)
I expected the problem also with previous versions of 0.13.x

Re: [0.13.9] Import savegame

Posted: Fri Jul 15, 2016 7:39 pm
by Klonan
You're trying to migrate a game from 0.9.0 to 0.13?

You will need to first migrate it to 0.11, and then from 0.11 to 0.13 :)

Re: [0.13.9] Import savegame

Posted: Fri Jul 15, 2016 7:41 pm
by Androkai
No. It's a fresh 0.13.x map I played with 0.13.8 today.

Edit: Like you can see in the log

Code: Select all

2.017 Info Scenario.cpp:127: Map version 0.13.8-1
Edit2: The map was original created with an 0.13.6 Linux headless server and updated till version 0.13.8. Now I uploaded the autosave (created with my Windows-full-version of Factorio) to another 0.13.9 Linux headless server to load it which shows the given error. I also expected the problem with version 0.13.3 (server and client) but had no time to report it.

Edit3: The savegame: https://www.dropbox.com/s/5zn45pj4ag748 ... 1.zip?dl=0

Re: [0.13.9] [Pending] Import savegame

Posted: Fri Jul 15, 2016 8:41 pm
by Rseding91
Why does your server have "2014-01-09_Factorio_0.9.0.json"? That's a looong since deleted migration script that shouldn't be on the server.

Re: [0.13.9] [Pending] Import savegame

Posted: Fri Jul 15, 2016 8:51 pm
by Androkai
Rseding91 wrote:Why does your server have "2014-01-09_Factorio_0.9.0.json"? That's a looong since deleted migration script that shouldn't be on the server.
The server was used for a long time and only updated every time. Seems like old files in data-folder produce this problem. Did a fresh install -> works now. Thx, problem solved.

Re: [0.13.9] [Pending] Import savegame

Posted: Fri Jul 15, 2016 9:18 pm
by daniel34
Rseding91 wrote:Why does your server have "2014-01-09_Factorio_0.9.0.json"? That's a looong since deleted migration script that shouldn't be on the server.
This migration script is included in 0.12.35 (current stable).

Related:
viewtopic.php?f=35&t=27992 (Kajanor had the migration files in the Steam directory for some reason, the video is not available anymore but it showed that error when loading the save)
viewtopic.php?f=49&t=28000 (same error, as client)