0.13 headless server cannot load save created by 0.13 binary

Bugs that are actually features.
Post Reply
ezoe
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun May 22, 2016 1:50 am
Contact:

0.13 headless server cannot load save created by 0.13 binary

Post by ezoe »

I created a save file by using 0.13 Generic Linux tar package version of the binary.
Then, I load that save file by 0.13 headless server in the same Linux Desktop machine, and confirms it works.

Then, I scp'ed the same save file to my Linux server, run sha1sum to verify that file is not corrupted, and run 0.13 headless server.

I got following output.

0.000 2016-06-28 05:51:25; Factorio 0.13.0 (Build 22782, linux64, headless)
0.080 Operating system: Linux (Ubuntu 16.04)
0.080 Program arguments: "/home/ezoe/factorio/bin/x64/factorio" "--start-server-load-latest" "--autosave-interval" "30"
0.080 Read data path: /home/ezoe/factorio/data
0.080 Write data path: /home/ezoe/factorio
0.080 Binaries path: /home/ezoe/factorio/bin
0.093 Running in headless mode
0.096 Loading mod core 0.0.0 (data.lua)
0.101 Loading mod base 0.13.0 (data.lua)
0.198 Checksum for core: 1399339455
0.198 Checksum for mod base: 2039900801
0.469 Custom inputs active: 0
0.469 Factorio initialised
0.470 Info Router.cpp:563: Router peerID(65535) shutting down.
0.470 Info Router.cpp:594: Router state -> Disconnected
0.472 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.472 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.472 Loading map /home/ezoe/factorio/saves/multi.zip
0.508 Info Scenario.cpp:129: Map version 0.13.0-93
0.515 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-01-09_Factorio_0.9.0.json
0.515 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
0.515 Warning PrototypeMigrationList.cpp:152: "big-tree" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
0.515 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
0.515 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
0.515 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
0.515 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-03-17_Factorio_0.9.4.json
0.515 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
0.515 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
0.584 Applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua
0.585 Warning Scenario.cpp:204: 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)
0.613 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)"
0.613 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
0.613 Error Main.cpp:442: 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)

NoPantsMcDance
Filter Inserter
Filter Inserter
Posts: 478
Joined: Fri Jul 17, 2015 6:56 pm
Contact:

Re: 0.13 headless server cannot load save created by 0.13 binary

Post by NoPantsMcDance »

I had this same issue and a full fresh install fixed it.
Looking for a multiplayer server? Check out my servers Vanilla Server

ezoe
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun May 22, 2016 1:50 am
Contact:

Re: 0.13 headless server cannot load save created by 0.13 binary

Post by ezoe »

My bad.
It looks like I didn't overwrite it everything by 0.13

wirs
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jun 27, 2016 10:11 pm
Contact:

Re: 0.13 headless server cannot load save created by 0.13 binary

Post by wirs »

Had the same problem using administrative software (TCAdmin). Fresh install did NOT work.

Did some testing around and it looks like I can't run factorio through the panel's user. Runs fine through root though but nobody wants to do that

Code: Select all

   0.000 2016-06-28 01:15:56; Factorio 0.13.0 (Build 22782, linux64, headless)
   0.031 Operating system: Linux (Ubuntu 14.04)
   0.031 Program arguments: "/home/tcagame/wirs/20/bin/x64/factorio" "--start-server" "/home/tcagame/wirs/20/saves/blabla.zip" 
   0.031 Read data path: /home/tcagame/wirs/20/data
   0.031 Write data path: /home/tcagame/wirs/20
   0.031 Binaries path: /home/tcagame/wirs/20/bin
   0.038 Running in headless mode
   0.040 Loading mod core 0.0.0 (data.lua)
   0.042 Loading mod base 0.13.0 (data.lua)
   0.100 Checksum for core: 1399339455
   0.100 Checksum for mod base: 2039900801
   0.311 Custom inputs active: 0
   0.311 Factorio initialised
   0.312 Info Router.cpp:563: Router peerID(65535) shutting down.
   0.312 Info Router.cpp:594: Router state -> Disconnected
   0.542 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   0.542 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   0.542 Loading map /home/tcagame/wirs/20/saves/halp.zip
   0.557 Info Scenario.cpp:129: Map version 0.13.0-93
   1.134 Checksum for script /home/tcagame/wirs/20/temp/currently-playing/control.lua: 900459546
   1.144 Info PosixUDPSocket.cpp:50: Opening socket at port 34197
   1.144 Info Router.cpp:594: Router state -> Connected
   1.145 Info Synchronizer.cpp:56: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
   1.145 Hosting game at port 34197, peerID 0, session magic 3623
   1.145 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(510763) changing state from(CreatingGame) to(InGame)
   1.145 Info NetworkInputHandler.cpp:45: mapTick(510763) networkTick(0) initialized NetworkInputHandler local peer(0).
Factorio crashed. Generating symbolized stacktrace, please wait ...
   1.261 Info MultiplayerManager.cpp:1530: Received peer info for peer(0) username(<server>).
   1.261 Info MultiplayerManager.cpp:1146: networkTick(6) mapTick(510763) received stateChanged peerID(0) oldState(Ready) newState(CreatingGame)
   1.261 Info MultiplayerManager.cpp:1146: networkTick(6) mapTick(510763) received stateChanged peerID(0) oldState(CreatingGame) newState(InGame)
   1.646 Warning Logger.cpp:360: Symbols.size() == 8, usedSize == 6
#0  0x90352d in logStacktrace at /tmp/factorio-l0EMYo/src/Util/Logger.cpp:382
#1  0x8fc84c in read at /tmp/factorio-l0EMYo/src/Util/InterruptibleStdioStream.cpp:51
#2  0x8fc9df in update at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.cpp:68
#3  0xf33bdf in operator() at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.hpp:56
#4  0x7f716d16b184 in run at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/thread/detail/thread.hpp:116
#5  0x7f716c77437d in thread_proxy at thread.cpp:?
   2.153 Warning Logger.cpp:360: Symbols.size() == 7, usedSize == 5
   2.153 Error InterruptibleStdioStream.cpp:51: read failed
Factorio crashed. Generating symbolized stacktrace, please wait ...
   2.677 Warning Logger.cpp:360: Symbols.size() == 13, usedSize == 11
#0  0x90352d in logStacktrace at /tmp/factorio-l0EMYo/src/Util/Logger.cpp:382
#1  0x805a7b in writeStackTrace at /tmp/factorio-l0EMYo/src/Util/CrashHandler.cpp:84
#2  0x805cf4 in SignalHandler at /tmp/factorio-l0EMYo/src/Util/CrashHandler.cpp:188
#3  0x7f716c6b0cb0 in ?? at ??:0
#4  0x7f716c6b0c37 in ?? at ??:0
#5  0x7f716c6b4028 in ?? at ??:0
#6  0x8fc89c in read at /tmp/factorio-l0EMYo/src/Util/InterruptibleStdioStream.cpp:51
#7  0x8fc9df in update at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.cpp:68
#8  0xf33bdf in operator() at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.hpp:56
#9  0x7f716d16b184 in run at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/thread/detail/thread.hpp:116
#10 0x7f716c77437d in thread_proxy at thread.cpp:?
   3.207 Warning Logger.cpp:360: Symbols.size() == 12, usedSize == 10
   3.207 Error CrashHandler.cpp:85: Map tick at moment of crash: 510763
   3.207 Error Util.cpp:77: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
On a side note:
--start-server blabla.zip
Does not work anymore it gives you "could not open blabla.zip" error. just as with the --create command you need to define the full path

Koub
Global Moderator
Global Moderator
Posts: 7203
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: 0.13 headless server cannot load save created by 0.13 binary

Post by Koub »

wirs wrote:On a side note:
--start-server blabla.zip
Does not work anymore it gives you "could not open blabla.zip" error. just as with the --create command you need to define the full path
Yep this is a duplicate of a known bug, should be corrected soon.
Koub - Please consider English is not my native language.

Loewchen
Global Moderator
Global Moderator
Posts: 8320
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: 0.13 headless server cannot load save created by 0.13 binary

Post by Loewchen »

ezoe wrote:My bad.
It looks like I didn't overwrite it everything by 0.13
Thank you for clearing that up, ill file it under NaB then.

Post Reply

Return to “Not a bug”