Dedicated server error
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Dedicated server error
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
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
You misspelled --start-server as -start-server.
Re: Dedicated server error
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.
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.
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Re: Dedicated server error
Ive tried that and nothing happens part from a black window pops up for 2sec
Re: Dedicated server error
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?
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?
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Re: Dedicated server error
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>
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
-s is actually the short option for --map2scenario, so that won't work either. --start-server does not have any short option currently.daniel34 wrote:or factorio.exe -s Spookys_MP.zip
Can you post the log that's created from that? That might tell us exactly what it's doing.spookyplanet wrote:Ive tried that and nothing happens part from a black window pops up for 2sec
Re: Dedicated server error
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.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.
Last edited by daniel34 on Mon Sep 07, 2015 11:29 pm, edited 1 time in total.
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Re: Dedicated server error
There's no error logs in that location
Re: Dedicated server error
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
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
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Re: Dedicated server error
ive attached screen shot of folder
- Attachments
-
- Capture.PNG (46.69 KiB) Viewed 12684 times
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Re: Dedicated server error
Entering the command instead of running the .bat file still does the same
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Re: Dedicated server error
Any ideas anyone?
Regards
Regards
Re: Dedicated server error
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.
-
- Burner Inserter
- Posts: 8
- Joined: Mon Sep 07, 2015 10:14 pm
- Contact:
Re: Dedicated server error
Hi
The game works fine as single player.
Regards
The game works fine as single player.
Regards
-
- Burner Inserter
- Posts: 7
- Joined: Tue Mar 03, 2015 6:42 pm
- Contact:
Re: Dedicated server error
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
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