Page 1 of 1
Dedicated server error
Posted: Mon Sep 07, 2015 10:27 pm
by spookyplanet
Hi All
When i run the server.bat file to start my server i get the following error
Opening zip
c:/Users/Mark/AppData/Roaming/Factorio/saves/tart-server failed
The .bat file consists of the following line
Factorio.exe -start-server Spookys_MP.zip
I did start a single player game and saved it straight away which i called the saved game as Spookys_MP
Any ideas anyone
Regards
Mark
Re: Dedicated server error
Posted: Mon Sep 07, 2015 10:59 pm
by Oxyd
You misspelled --start-server as -start-server.
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:00 pm
by daniel34
the command should be --start-server Spookys_MP.zip, with two dashes before the start-server
or factorio.exe -s Spookys_MP.zip
if you call it with just -start-server it assumes you want to load (-s) the file tart-server, which it can't find.
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:02 pm
by spookyplanet
Ive tried that and nothing happens part from a black window pops up for 2sec
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:05 pm
by daniel34
Could you first run 'cmd' (open a command prompt) and then start the .bat file from that?
You could see the error that's occuring that way. Without that we can't help you much.
There should also be a log file at %appdata%\Factorio\factorio-current.log, can you post that?
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:08 pm
by spookyplanet
here's the details in the cmd box
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\Mark>cd\
C:\>cd "Program Files"
C:\Program Files>cd Factorio
C:\Program Files\Factorio>cd bin
C:\Program Files\Factorio\bin>cd x64
C:\Program Files\Factorio\bin\x64>server.bat
C:\Program Files\Factorio\bin\x64>Factorio.exe --start-server Spookys_MP.zip
C:\Program Files\Factorio\bin\x64>
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:09 pm
by Oxyd
daniel34 wrote:or factorio.exe -s Spookys_MP.zip
-s is actually the short option for --map2scenario, so that won't work either. --start-server does not have any short option currently.
spookyplanet wrote:Ive tried that and nothing happens part from a black window pops up for 2sec
Can you post the log that's created from that? That might tell us exactly what it's doing.
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:16 pm
by daniel34
Oxyd wrote:-s is actually the short option for --map2scenario, so that won't work either. --start-server does not have any short option currently.
You are right, my bad. Thought it was short for loading server map, because it loaded the game on my machine and I killed it before it finished.
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:17 pm
by spookyplanet
There's no error logs in that location
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:28 pm
by daniel34
Can you post a screenshot of your Factorio directory? It should look like that:
There should be the logfile in it (factorio-current.log).
Also, is your .bat file only that line? Try starting it without the .bat file by directly entering the command
Factorio.exe --start-server Spookys_MP.zip
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:35 pm
by spookyplanet
ive attached screen shot of folder
Re: Dedicated server error
Posted: Mon Sep 07, 2015 11:44 pm
by spookyplanet
Entering the command instead of running the .bat file still does the same
Re: Dedicated server error
Posted: Mon Sep 14, 2015 3:05 pm
by spookyplanet
Any ideas anyone?
Regards
Re: Dedicated server error
Posted: Mon Sep 14, 2015 3:45 pm
by daniel34
As you don't have any logs in your %appdata% folder, can you even start Factorio the usual way (starting only factorio.exe) without starting it as server? This might give you an error that could resolve the problem.
Re: Dedicated server error
Posted: Tue Sep 15, 2015 12:11 pm
by spookyplanet
Hi
The game works fine as single player.
Regards
Re: Dedicated server error
Posted: Mon Sep 28, 2015 6:31 pm
by razztorback
for Windows
Go to your Factorio.exe folder (Probably 'C:\Program Files\Factorio\bin\x64\')
Create a text document and write into it 'Factorio.exe --start-server YOURSAVEGAME.zip'
If you haven't already done, replace YOURSAVEGAME with your savegame name
Save the file as server.bat. Important: At 'Save as type:' select 'All Files'
Remember to portforward your router
i got mine to work fine dedicated
https://forums.factorio.com/wiki/inde ... ultiplayer