Jump to content
McKay Development

Relog in Steam User


Recommended Posts

I have a code inside my bot, but I didn't catch the case with dead proxy or losing connect, I have also autoRelogin true, but sometimes I lose connect and it tried to work without login and throwing error in creating new offer Not Logged In. Someone has an idea?

let user = new SteamUser({ httpProxy: `http://${proxy.proxy}`, autoRelogin: true });
                user.on("webSession", (sessionID, cookies) => {
                    manager.setCookies(cookies,async (err) => {
                        if (err) {
                            // catch 
Edited by Stan1slaw
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...