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.encoding = 'latin1';
|
||||
this.byteorder = 'be';
|
||||
this.options.port = 4534;
|
||||
},
|
||||
run: function() {
|
||||
var self = this;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module.exports = require('./unreal2').extend({
|
||||
init: function() {
|
||||
this._super();
|
||||
this.port = 7708;
|
||||
this.options.port = 7708;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -2,6 +2,6 @@ module.exports = require('./gamespy3').extend({
|
|||
init: function() {
|
||||
this._super();
|
||||
this.maxAttempts = 2;
|
||||
this.port = 25565;
|
||||
this.options.port = 25565;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = require('./core').extend({
|
||||
init: function() {
|
||||
this._super();
|
||||
this.port = 27910;
|
||||
this.options.port = 27910;
|
||||
this.encoding = 'latin1';
|
||||
this.delimiter = '\n';
|
||||
this.sendHeader = 'status';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = require('./quake2').extend({
|
||||
init: function() {
|
||||
this._super();
|
||||
this.port = 27960;
|
||||
this.options.port = 27960;
|
||||
this.sendHeader = 'getstatus';
|
||||
this.responseHeader = 'statusResponse';
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ module.exports = require('./core').extend({
|
|||
init: function() {
|
||||
this._super();
|
||||
this.goldsrc = false;
|
||||
this.options.port = 27015;
|
||||
},
|
||||
run: function() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue