Fix port defaults

This commit is contained in:
Michael Morrison 2013-07-10 05:40:41 -05:00
parent 305c86baa2
commit 822fd50fc1
6 changed files with 6 additions and 4 deletions

View file

@ -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;

View file

@ -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;
} }
}); });

View file

@ -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;
} }
}); });

View file

@ -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';

View file

@ -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';
} }

View file

@ -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() {