Windows readme updated to use bat installer

This commit is contained in:
Danielv123 committed 2017-01-16 23:17:48 +01:00
1 parent bc2cfb1cb1
commit 1655b4b689
1 file changed
+13 -21
+13 -21
View File
@@ -26,9 +26,7 @@ Slave = client.js + factorio server
Client = The people connecting to the server
Master and all all Slaves have to be running nodejs. Get it from nodejs.org.
All Slaves AND Clients need to be running the clusterio mod located in this repository. Install it by dropping it into the mods folder.
All Slaves AND Clients need to be running the clusterio mod located at [github](https://github.com/Danielv123/factorioClusterioMod) Install it by dropping it into the mods folder.
There are no requirements for other mods, they can be ran in any configuration allowed by the base game.
@@ -42,45 +40,37 @@ reboot when you are done, then proceed to the next steps. *reboots matter*
**Master**
1. Download this repository
1. download and run https://puu.sh/toFHl/01eebbb333.bat
2. npm install
2. You do not *need* to follow the given instructions, but you should
3. node master.js
3. type `node master.js`
**Slave**
1. Download this repository
1. download and run https://puu.sh/toFHl/01eebbb333.bat
2. Unzip to desktop (or other folder)
2. Follow the instructions given
3. Place your factorio server folder inside of factorioClusterio/, making it factorioClusterio/factorio
3. Type `node client.js start [instancename]` to create a new instance.
To connect to a master server running on a remote machine, open config.json with your favourite text editor (notepad++)
To connect to a master server running on a remote machine, open config.json with your favourite text editor (notepad++). You can also set it up to use the official server browser server.
Change masterIP to something like 31.152.123.14 (provided by master server owner)
Change masterPort to something like 8080 (provided by master server owner)
4. Open a cmd window by shift + right clicking in exlporer (https://puu.sh/tozfj/e3fd0acf6f.png Åpne kommando vindu her/open command window here)
5. Type
node client.js start [instancename]
to create a new instance.
Repeat step 4 and 5 for more servers on one machine. You should be able to find its port by looking at the console output or at the slave section on master:8080 (the web interface)
Repeat step 3 for more servers on one machine. You should be able to find its port by looking at the slave section on master:8080 (the web interface)
**Client**
Alternative experimental client: [clusterioClient](https://github.com/Danielv123/factorioClusterioClient)
Alternative experimental client that may be broken: [clusterioClient](https://github.com/Danielv123/factorioClusterioClient)
1. Download the same version of the mod as the slave is running from [the mod portal](https://mods.factorio.com/mods/Danielv123/clusterio) or [github](https://github.com/Danielv123/factorioClusterioMod
2. Drop it into ./factorio/mods
3. Run factorio and connect to slave as a normal MP game.
3. Run factorio and connect to slave as a normal MP game. You will find the port number to connect to at http://[masterAddress]:8080
#Ubuntu setup
@@ -103,3 +93,5 @@ To download the mod for all its non vanilla features and items, (optional)
node client.js download
node client.js start [instancename]
use `nano config.json` to change settings.