Page 1 of 1

Starting Experimental Dedicated Server: Problem!

Posted: Fri Oct 14, 2016 5:29 am
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.

Re: Starting Experimental Dedicated Server: Problem!

Posted: Fri Oct 14, 2016 5:49 am
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.

Re: Starting Experimental Dedicated Server: Problem!

Posted: Fri Oct 14, 2016 5:55 am
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.

Re: Starting Experimental Dedicated Server: Problem!

Posted: Fri Oct 14, 2016 6:00 am
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

Re: Starting Experimental Dedicated Server: Problem!

Posted: Fri Oct 14, 2016 6:24 am
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?

Re: Starting Experimental Dedicated Server: Problem!

Posted: Fri Oct 14, 2016 7:26 am
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.

Re: Starting Experimental Dedicated Server: Problem!

Posted: Fri Oct 14, 2016 7:36 am
by Nahz
Thank you I figured it out. :D