diff options
| author | sD <stoned@derpymail.org> | 2019-12-20 02:04:52 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2019-12-20 02:04:52 +0100 |
| commit | 60ba711c3a8cfbb64cc7642042f4204ff552cb6f (patch) | |
| tree | 072a726473a69e7435b04af36a6c835e2c92a949 /webAO/client.js | |
| parent | 76a55918543d80f42772798ebec607b8437f3a37 (diff) | |
implement FL, move HDID to info loglevel
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 4a5d643..f6257e6 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -51,7 +51,7 @@ const fp = new Fingerprint({ // An emulated, semi-unique HDID that is generally safe for HDID bans. const hdid = fp.get(); -console.log(`Your emulated HDID is ${hdid}`); +console.info(`Your emulated HDID is ${hdid}`); let lastICMessageTime = new Date(0); @@ -129,6 +129,7 @@ class Client extends EventEmitter { this.on("CI", this.handleCI.bind(this)); this.on("SC", this.handleSC.bind(this)); this.on("EI", this.handleEI.bind(this)); + this.on("FL", this.handleFL.bind(this)); this.on("LE", this.handleLE.bind(this)); this.on("EM", this.handleEM.bind(this)); this.on("SM", this.handleSM.bind(this)); @@ -821,6 +822,14 @@ class Client extends EventEmitter { } /** + * With this the server tells us which features it supports + * @param {Array} args list of features + */ + handleFL(args) { + console.info(args); + } + + /** * Received when the server announces its server info, * but we use it as a cue to begin retrieving characters. * @param {Array} args packet arguments |
