mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-17 17:25:19 +01:00
Fix port defaults
This commit is contained in:
parent
305c86baa2
commit
822fd50fc1
6 changed files with 6 additions and 4 deletions
|
@ -3,6 +3,7 @@ module.exports = require('./core').extend({
|
||||||
this._super();
|
this._super();
|
||||||
this.encoding = 'latin1';
|
this.encoding = 'latin1';
|
||||||
this.byteorder = 'be';
|
this.byteorder = 'be';
|
||||||
|
this.options.port = 4534;
|
||||||
},
|
},
|
||||||
run: function() {
|
run: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
module.exports = require('./unreal2').extend({
|
module.exports = require('./unreal2').extend({
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super();
|
this._super();
|
||||||
this.port = 7708;
|
this.options.port = 7708;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -2,6 +2,6 @@ module.exports = require('./gamespy3').extend({
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super();
|
this._super();
|
||||||
this.maxAttempts = 2;
|
this.maxAttempts = 2;
|
||||||
this.port = 25565;
|
this.options.port = 25565;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = require('./core').extend({
|
module.exports = require('./core').extend({
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super();
|
this._super();
|
||||||
this.port = 27910;
|
this.options.port = 27910;
|
||||||
this.encoding = 'latin1';
|
this.encoding = 'latin1';
|
||||||
this.delimiter = '\n';
|
this.delimiter = '\n';
|
||||||
this.sendHeader = 'status';
|
this.sendHeader = 'status';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = require('./quake2').extend({
|
module.exports = require('./quake2').extend({
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super();
|
this._super();
|
||||||
this.port = 27960;
|
this.options.port = 27960;
|
||||||
this.sendHeader = 'getstatus';
|
this.sendHeader = 'getstatus';
|
||||||
this.responseHeader = 'statusResponse';
|
this.responseHeader = 'statusResponse';
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@ module.exports = require('./core').extend({
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super();
|
this._super();
|
||||||
this.goldsrc = false;
|
this.goldsrc = false;
|
||||||
|
this.options.port = 27015;
|
||||||
},
|
},
|
||||||
run: function() {
|
run: function() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue