Jump to content
McKay Development

Confirm join in the Steam App


jisa_poiur

Recommended Posts

27 minutes ago, Dr. McKay said:

If steam-user emits the error event, it's no longer attempting login. You can consider the error event to indicate a fatal error that has resulted in steam-user ceasing all operations unless you call logOn again.

Maybe I worded the error event incorrectly, but I have it even after the first error it keeps trying to log in

this.account.on('error', (err) => {
            if (err.eresult === 5) {
                logger.warn(this.#PREFIX + 'Invalid Password')
                this.emit('login_r', 'InvalidPassword')
            } else if (err.eresult === 87 || err.eresult === 84) {
                logger.warn(this.#PREFIX + 'Rate Limit')
                this.emit('login_r', 'RateLimit')
            } else {
                logger.error(this.#PREFIX + err);
            }
        })

 

image.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...