mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 07:24:52 +09:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22c1630ff0 | ||
|
|
ed9966f65c | ||
|
|
248d9fcd3e | ||
|
|
1c0db7e58a | ||
|
|
3d8cfef8bc | ||
|
|
8803a737a5 | ||
|
|
320677194e | ||
|
|
1bdf23d960 |
No files matched your search
-10
@@ -1,10 +0,0 @@
|
|||||||
language: node_js
|
|
||||||
node_js:
|
|
||||||
- 10
|
|
||||||
before_install:
|
|
||||||
- sudo apt-get -qq update
|
|
||||||
- sudo apt-get install -y curl git tar
|
|
||||||
- curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64
|
|
||||||
- tar -xvf factorio.tar.gz
|
|
||||||
script:
|
|
||||||
- npm run cover
|
|
||||||
@@ -8,12 +8,11 @@
|
|||||||
|
|
||||||
Discord for development/support/play: https://discord.gg/5XuDkje
|
Discord for development/support/play: https://discord.gg/5XuDkje
|
||||||
|
|
||||||
## Important notice
|
# ABANDONED VERSION
|
||||||
|
|
||||||
This is the stable branch of the project. The
|
**The 1.2.x version of Clusterio has been abandonded.
|
||||||
[master branch](http://github.com/clusterio/factorioClusterio/tree/master)
|
Please go to the [main branch of the project](https://github.com/clusterio/clusterio) and continue from there.
|
||||||
is undergoing significant changes that breaks compatibility to plugins and
|
The information below is out of date and kept for archival purposes only.**
|
||||||
existing installations and is not recommended for use.
|
|
||||||
|
|
||||||
### Ways to support me/the project:
|
### Ways to support me/the project:
|
||||||
|
|
||||||
|
|||||||
@@ -716,7 +716,7 @@ async function instanceManagement(instanceconfig) {
|
|||||||
console.error(err);
|
console.error(err);
|
||||||
} else if (response && response.body) {
|
} else if (response && response.body) {
|
||||||
// In the future we might be interested in whether or not we actually manage to send it, but honestly I don't care.
|
// In the future we might be interested in whether or not we actually manage to send it, but honestly I don't care.
|
||||||
if(response.body !== "ok") {
|
if (typeof response.body !== "string" || response.body.toLowerCase() !== "ok") {
|
||||||
console.log("Got no \"ok\" while registering our precense with master "+config.masterIP+" at " + payload.time);
|
console.log("Got no \"ok\" while registering our precense with master "+config.masterIP+" at " + payload.time);
|
||||||
console.log(response.body);
|
console.log(response.body);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -329,6 +329,7 @@ app.post("/api/getID", authenticate.middleware, function(req,res) {
|
|||||||
}
|
}
|
||||||
// console.log("Slave registered: " + slaves[req.body.unique].mac + " : " + slaves[req.body.unique].serverPort+" at " + slaves[req.body.unique].publicIP + " with name " + slaves[req.body.unique].instanceName);
|
// console.log("Slave registered: " + slaves[req.body.unique].mac + " : " + slaves[req.body.unique].serverPort+" at " + slaves[req.body.unique].publicIP + " with name " + slaves[req.body.unique].instanceName);
|
||||||
}
|
}
|
||||||
|
res.sendStatus(200);
|
||||||
});
|
});
|
||||||
/**
|
/**
|
||||||
POST Allows you to add metadata related to slaves for other tools, like owner data, descriptions or statistics.
|
POST Allows you to add metadata related to slaves for other tools, like owner data, descriptions or statistics.
|
||||||
|
|||||||
Reference in new issue
Block a user