Server help

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.
Xoni
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jul 02, 2016 9:23 pm
Contact:

Server help

Post by Xoni »

Hi guys. I created a server to play with my cousin. When I want to run factorio I cant because it says that its already running. Can someone help me with this problem? Thank you...
xavizus
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri Jul 15, 2016 7:27 pm
Contact:

Re: Server help

Post by xavizus »

I guess you are trying to host the server at the same computer you want to play at.

That won't do.

There are two ways to host a server.

1. You launch Factorio and you press Play -> Multiplayer -> New game
Choose your settings and generate a map.

Now, your cousin can connect to your IP and join the game.

2. The second way are to host a Virual Machine on your computer through VirtualBox or VMware Workstation 12 Player (Both are free) or Hyper-V Manager (You need Windows 7 Pro, Enterprise or Ultimate or Windows 10 Home, Pro ro Enterprise)
And the you download CentOS or Ubuntu and host the Factorio server in there.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Server help

Post by orzelek »

From what I know you don't need to use VM really.
You should be able to grap a zipped Factorio version and start a server from it under windows along with otehr zipped version or steam one for playing on the server.
xavizus
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri Jul 15, 2016 7:27 pm
Contact:

Re: Server help

Post by xavizus »

orzelek wrote:From what I know you don't need to use VM really.
You should be able to grap a zipped Factorio version and start a server from it under windows along with otehr zipped version or steam one for playing on the server.
I should apologize - you are right, tho you need to change som settings if you copy the Factorio from steam.

(For other users)
Copy Factorio folder from your steamapps folder to example:

Code: Select all

C:\Factorio\
In the config-path.cfg file, copy paste following:

Code: Select all

config-path=C:\Factorio\config

#This value specifies the way the aplication generates default values for path.read-data and path.write-data
#When set to true, it will use system directories (Users/Name/AppData/Roaming/Factorio on windows), this is set to true
#for the installer versions of Factorio, as people will usualy install it in program files, and the aplication can't write
#to program files by default (without UAC turned off), similar with osx/linux packages.
#When set to false (default value for zip package), it will use application root directory, this is usable to create self-sustainable
#Factorio directory that can be copied anywhere needed (on usb etc), also for people, who don't like to manipulate saves
#in the windows users directory structure (as me, kovarex).
#Note, that once the values in config are generated, this value has no effects (unless you delete config, or the path.read-data/path.write-data values)
use-system-read-write-data-directories=false
Now you will be able to run the server on your client while playing in your client Factorio.
Post Reply

Return to “Technical Help”