Jump to content
McKay Development

https://steamcommunity.com/chat/ , crash ?


Recommended Posts

I use passport and  SteamStrategy to login my steam account to my bot, and i found this peculiar bug, 

When i enter from anyware to https://steamcommunity.com/chat/
The method  that handles the bot errors of SteamUser gets emited and the session of my bot ends, so i need to login again.

//Listen Error Bots Bidirectional
client.on('error', function(err) {
socket.emit('bot-errors', err); // Updates Live Notification
}, err => {

Thanks !

Edited by Duodecim
Link to comment
Share on other sites

Thanks for the reply Dr, i logged the error response and i get LogonSessionReplaced

I look in the node-steam-user#methods- , and i saw the definition of logonID option



with the loginID the session persist, this loginId must be a random number ?

Thanks !

Link to comment
Share on other sites

It doesn't matter what the value is, it just has to be different. If you try to connect twice from the same public IP using the same logonID, then the first session will be booted. If you don't supply one (seems like webchat doesn't) then it defaults to 0.

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.

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.

  • Create New...