Starting Experimental Dedicated Server: Problem!

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Nahz
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Oct 14, 2016 5:18 am
Contact:

Starting Experimental Dedicated Server: Problem!

Post by Nahz »

Hey folks! Happy to be here on the forums finally. I've always lurked them but now I need your help! I'm trying to set up a dedicated server for the experimental branch in Factorio. I've followed the guide that is pinned in the steam forums.

Download zip from the website
extract
go in to Factorio\bin\x64 then create the server.bat

When i try to run the .bat it flashes for a second...so I add a pause so that i can read it and this is what i get:

http://imgur.com/a/bvMF7

I've tried to use the 'more detailed directions' for starting a server and used a different command line but this is still what i get. I've also gone into Environmental Variables and changed the path to a few different things that have no effect on whats happening here.

So, i'm reaching out for help. What is going on here? This should be simple, and I feel like i'm missing something really silly. Thanks for your time in reading this and helping out. I appreciate it and this amazing game.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Starting Experimental Dedicated Server: Problem!

Post by daniel34 »

THe first argument in the .bat file has to be the program you want to execute, in this case factorio.exe, then add the --start-server argument with a file path (e.g. saves/game.zip).

Make sure your .bat file is in the bin\x64 directory.

If you're not sure how it works please post the contents of your .bat file and its location.
quick links: log file | graphical issues | wiki
Nahz
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Oct 14, 2016 5:18 am
Contact:

Re: Starting Experimental Dedicated Server: Problem!

Post by Nahz »

daniel34 wrote:THe first argument in the .bat file has to be the program you want to execute, in this case factorio.exe, then add the --start-server argument with a file path (e.g. saves/game.zip).

Make sure your .bat file is in the bin\x64 directory.

If you're not sure how it works please post the contents of your .bat file and its location.
Thanks for the quick reply.

http://imgur.com/a/5WblN

That is everything with the added factorio.exe in the beginning. Same result.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Starting Experimental Dedicated Server: Problem!

Post by daniel34 »

You need to add a space between factorio.exe and --start-server save.zip

If it still doesn't work then change the save.zip in the .bat file to saves/save.zip
quick links: log file | graphical issues | wiki
Nahz
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Oct 14, 2016 5:18 am
Contact:

Re: Starting Experimental Dedicated Server: Problem!

Post by Nahz »

http://imgur.com/a/kgx9e

Heres what it looks like now. Looks like its running but i cant connect and if I take the "pause" out of it it just flashes. Do I need to keep the pause in to ensure the server continues running?
Nahz
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Oct 14, 2016 5:18 am
Contact:

Re: Starting Experimental Dedicated Server: Problem!

Post by Nahz »

ok, so I think i got it working in a healthy way. Heres a shot

http://imgur.com/a/z0JZE

But! I can't connect. I am using the same computer to run and to connect, i've forwarded the port to 34198 instead of 34197 like the guide told me (if i was trying to connect locally) and changed the port in the config.ini.

Thats a screen shot of what happens when I try to connect once. That is a fresh boot of the bat and 1 connection attempt from me. Why does it spam like that then tell me in game that it can't connect?

Thank you for everything, you have already helped tremendously.
Nahz
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Oct 14, 2016 5:18 am
Contact:

Re: Starting Experimental Dedicated Server: Problem!

Post by Nahz »

Thank you I figured it out. :D
Post Reply

Return to “Technical Help”