Page 1 of 1

imported save to server not loading

Posted: Tue Jun 07, 2016 12:47 am
by IronGator
Hi

I created a server fews days ago and everything were going well till 2day with update 12.35

server was still in 12.33, so I updated it. by now, new game created in 12.35 are loading well.

But if I load a game in 12.33 locally and save it as another name, the save is now in version 12.35.

Now I upload it to the server and try to start, but it refuse.

Is that normal? Am I doing it right?

thanks for your help

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 2:47 pm
by IronGator
edited text to make it more clear.

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 2:51 pm
by prg
Log of the failed attempt would be useful.

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 3:54 pm
by IronGator
cat factorio-current.log
0.000 2016-06-07 11:51:51; Factorio 0.12.35 (Build 18124, linux64, headless)
0.001 Operating system: Linux
0.001 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "lastsave911"
0.001 Read data path: /opt/factorio/data
0.001 Write data path: /opt/factorio
0.001 Binaries path: /opt/factorio/bin
0.017 Running in headless mode
0.020 Loading mod core 0.0.0 (data.lua)
0.023 Loading mod base 0.12.35 (data.lua)
0.118 Checksum for core: 3711505753
0.119 Checksum for mod base: 2829195351
0.520 Factorio initialised
0.521 Info Router.cpp:509: Router peerID(65535) shutting down.
0.521 Info Router.cpp:536: Router state -> Disconnected
0.521 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.521 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.522 Loading map /opt/factorio/saves/lastsave911.zip
0.542 Error MultiplayerManager.cpp:110: MultiplayerManager failed: "Opening zip /opt/factorio/saves/lastsave911.zip failed"
0.542 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
0.542 Error Main.cpp:340: Couldn't load the game for MP: Opening zip /opt/factorio/saves/lastsave911.zip failed


cat factorio-previous.log
0.000 2016-06-07 10:57:29; Factorio 0.12.35 (Build 18124, linux64, headless)
0.000 Operating system: Linux
0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "lastsave911"
0.000 Read data path: /opt/factorio/data
0.000 Write data path: /opt/factorio
0.000 Binaries path: /opt/factorio/bin
0.021 Running in headless mode
0.023 Loading mod core 0.0.0 (data.lua)
0.027 Loading mod base 0.12.35 (data.lua)
0.122 Checksum for core: 3711505753
0.122 Checksum for mod base: 2829195351
0.528 Factorio initialised
0.529 Info Router.cpp:509: Router peerID(65535) shutting down.
0.529 Info Router.cpp:536: Router state -> Disconnected
0.529 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.529 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.529 Loading map /opt/factorio/saves/lastsave911.zip
0.549 Error MultiplayerManager.cpp:110: MultiplayerManager failed: "Opening zip /opt/factorio/saves/lastsave911.zip failed"
0.549 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
0.549 Error Main.cpp:340: Couldn't load the game for MP: Opening zip /opt/factorio/saves/lastsave911.zip failed

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 4:17 pm
by prg
"Opening zip /opt/factorio/saves/lastsave911.zip failed"
Does that file actually exist?

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 4:22 pm
by IronGator
prg wrote:
"Opening zip /opt/factorio/saves/lastsave911.zip failed"
Does that file actually exist?
yup

ls
_autosave1.zip _autosave3.zip newgame.zip _autosave2.zip LastSave911.zip

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 4:24 pm
by prg
Server is on Linux, you saved that file on Windows? Fun fact: file names on Linux are case-sensitive.

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 5:21 pm
by IronGator
prg wrote:case-sensitive
Damn you Linux! xD

I just retried with the right name and it seems to have passed.

/opt/factorio/bin/x64/factorio --start-server LastSave911
0.000 2016-06-07 13:19:36; Factorio 0.12.35 (Build 18124, linux64, headless)
0.001 Operating system: Linux
0.001 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "LastSave911"
0.001 Read data path: /opt/factorio/data
0.001 Write data path: /opt/factorio
0.001 Binaries path: /opt/factorio/bin
0.018 Running in headless mode
0.021 Loading mod core 0.0.0 (data.lua)
0.024 Loading mod base 0.12.35 (data.lua)
0.118 Checksum for core: 3711505753
0.118 Checksum for mod base: 2829195351
0.524 Factorio initialised
0.525 Info Router.cpp:509: Router peerID(65535) shutting down.
0.525 Info Router.cpp:536: Router state -> Disconnected
0.525 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.525 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.526 Loading map /opt/factorio/saves/LastSave911.zip
0.548 Info Scenario.cpp:124: Map version 0.12.35-0
0.850 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 393467729
0.872 Info MultiplayerManager.cpp:282: 0x7fa2097497b0, (nil)
0.872 Info PosixUDPSocket.cpp:34: Opening socket at port 34197
0.874 Info Router.cpp:536: Router state -> Connected
0.874 Info Synchronizer.cpp:54: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
0.874 Hosting game at port 34197, peerID 0, session magic 90
0.874 Info MultiplayerManager.cpp:304: 0x7fa2097497b0, 0x7fa2097497b0
0.874 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(606328) changing state from(CreatingGame) to(InGame)
0.874 Info NetworkInputHandler.cpp:45: mapTick(606328) networkTick(0) initialized NetworkInputHandler local peer(0).
0.991 Info MultiplayerManager.cpp:1434: Received peer info for peer(0) username(<server>).
0.991 Info MultiplayerManager.cpp:1060: networkTick(6) mapTick(606328) received stateChanged peerID(0) oldState(Ready) newState(CreatingGame)
0.991 Info MultiplayerManager.cpp:1060: networkTick(6) mapTick(606328) received stateChanged peerID(0) oldState(CreatingGame) newState(InGame)

Re: imported save to server not loading

Posted: Tue Jun 07, 2016 5:21 pm
by IronGator
I'll logon tonight, since im still at work. (lol)

thanks for your help :)