diff --git a/protocols/armagetron.js b/protocols/armagetron.js index 3ee6652..59415fd 100644 --- a/protocols/armagetron.js +++ b/protocols/armagetron.js @@ -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; diff --git a/protocols/killingfloor.js b/protocols/killingfloor.js index 5e1ba6c..e1e69ce 100644 --- a/protocols/killingfloor.js +++ b/protocols/killingfloor.js @@ -1,6 +1,6 @@ module.exports = require('./unreal2').extend({ init: function() { this._super(); - this.port = 7708; + this.options.port = 7708; } }); diff --git a/protocols/minecraft.js b/protocols/minecraft.js index fcef5b4..cfc701b 100644 --- a/protocols/minecraft.js +++ b/protocols/minecraft.js @@ -2,6 +2,6 @@ module.exports = require('./gamespy3').extend({ init: function() { this._super(); this.maxAttempts = 2; - this.port = 25565; + this.options.port = 25565; } }); diff --git a/protocols/quake2.js b/protocols/quake2.js index 3fd16b8..12ceb98 100644 --- a/protocols/quake2.js +++ b/protocols/quake2.js @@ -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'; diff --git a/protocols/quake3.js b/protocols/quake3.js index a4bc60f..4fcb237 100644 --- a/protocols/quake3.js +++ b/protocols/quake3.js @@ -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'; } diff --git a/protocols/source.js b/protocols/source.js index 187f6fe..6b22f93 100644 --- a/protocols/source.js +++ b/protocols/source.js @@ -4,6 +4,7 @@ module.exports = require('./core').extend({ init: function() { this._super(); this.goldsrc = false; + this.options.port = 27015; }, run: function() {