Page 1 of 1

Unable to Load Map on Headless Linux Server

Posted: Tue Jun 28, 2016 4:20 am
by mindreave
Removed the old installation, fresh new factorio 0.13 unzip. Can't load old maps, can't load new maps. Text below:

Code: Select all

factorio@mindsrv:/opt/factorio$ ./bin/x64/factorio --create ./TestMap.zip
   0.000 2016-06-28 00:10:54; Factorio 0.13.0 (Build 22782, linux64, headless)
   0.049 Operating system: Linux (Ubuntu 14.04)
   0.049 Program arguments: "./bin/x64/factorio" "--create" "./TestMap.zip"
   0.049 Read data path: /opt/factorio/data
   0.049 Write data path: /opt/factorio
   0.049 Binaries path: /opt/factorio/bin
   0.064 Running in headless mode
   0.066 Loading mod core 0.0.0 (data.lua)
   0.068 Loading mod base 0.13.0 (data.lua)
   0.148 Checksum for core: 1399339455
   0.149 Checksum for mod base: 2039900801
   0.431 Custom inputs active: 0
   0.431 Factorio initialised
   0.431 Info Main.cpp:557: Creating new map ./TestMap.zip
   4.282 Info Scenario.cpp:129: Map version 0.13.0-93
   4.340 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 900459546
Done.
factorio@mindsrv:/opt/factorio$ ./bin/x64/factorio --start-server TestMap
   0.000 2016-06-28 00:11:08; Factorio 0.13.0 (Build 22782, linux64, headless)
   0.047 Operating system: Linux (Ubuntu 14.04)
   0.047 Program arguments: "./bin/x64/factorio" "--start-server" "TestMap"
   0.047 Read data path: /opt/factorio/data
   0.047 Write data path: /opt/factorio
   0.047 Binaries path: /opt/factorio/bin
   0.061 Running in headless mode
   0.063 Loading mod core 0.0.0 (data.lua)
   0.066 Loading mod base 0.13.0 (data.lua)
   0.149 Checksum for core: 1399339455
   0.149 Checksum for mod base: 2039900801
   0.441 Custom inputs active: 0
   0.441 Factorio initialised
   0.442 Info Router.cpp:563: Router peerID(65535) shutting down.
   0.442 Info Router.cpp:594: Router state -> Disconnected
   0.495 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   0.496 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   0.496 Loading map TestMap
   0.516 Error MultiplayerManager.cpp:129: MultiplayerManager failed: "Opening zip TestMap failed"
   0.516 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
   0.516 Error Main.cpp:442: Couldn't load the game for MP: Opening zip TestMap failed
Am I doing anything blatantly wrong?

Edit: I did move the TestMap into the saves folder.

Re: Unable to Load Map on Headless Linux Server

Posted: Tue Jun 28, 2016 6:04 am
by Bluelight
For some reason I think you need the full filepath of the savefile now.. Like "factorio --start-server C:/blabla/opt/factorio/saves/TestMap.zip" , I'm a Windows 7 user so change whatever needs changing for Linux!

Re: Unable to Load Map on Headless Linux Server

Posted: Tue Jun 28, 2016 6:19 am
by mindreave
Huh, that did the trick. Thanks!

Re: Unable to Load Map on Headless Linux Server

Posted: Tue Jun 28, 2016 10:21 am
by noliVe
yes thanks ., that helped me too