Danielv123 a896b032aa Added list and delete commands to client.js for managing instances
client.js list
client.js delete [instance]
also adde --help to show usage
2016-12-21 14:08:21 +01:00
2016-12-19 13:23:53 +01:00
2016-12-19 13:21:36 +01:00
2016-10-26 09:05:43 +02:00
2016-12-02 23:16:22 +01:00
2016-10-28 16:15:43 +02:00

#factorioClusterio

Features:

  • Entities to send/recieve items

  • Cross dimensional storage

  • Sending of liquids

  • Sending of circuit network signals

Connection diagram:

http://i.imgur.com/7FdVfgB.png

There can be any number of clients connected to each slave, and any sumber of slaves connected to a master but there can only be one master server.

#Windows setup

Clusterio is built up of multiple parts. Here is a quick guide:

Master = master.js

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.

There are no requirements for other mods, they can be ran in any configuration allowed by the base game.

Master

  1. Download this repository

  2. npm install
    
  3. node master.js
    

Slave

  1. Download this repository

  2. Place your factorio server folder inside of factorioClusterio/, making it factorioClusterio/factorio

You can change the name and path expected in config.json if wanted.

  1. node client.js [instancename]
    

Repeat step 3 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

Client

  1. Download the same version of the mod as the slave is running

  2. Drop it into ./factorio/mods

  3. Run factorio and connect to slave as a normal MP game.

S
Description
No description provided
Readme MIT
26 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 51.8%
JavaScript 41.8%
Lua 4.7%
HTML 1.4%
CSS 0.2%