Andrei Elvis Posted September 27, 2017 Report Share Posted September 27, 2017 Hello, How can I fix the Error: "Not Logged In" error after some hours.I know I need to login the bot again but I did some code for bot to login again.Maybe I didn't do correct. So, someone can explain me how to login again bot when the session expires?Thanks! Quote Link to comment Share on other sites More sharing options...
Vanilla Posted September 27, 2017 Report Share Posted September 27, 2017 (edited) Use "sessionExpired" event from node-steamcommunity, then relogin using node-steam-user "webLogon()". edit: this might help https://dev.doctormckay.com/topic/1134-not-able-to-respond-to-offers-because-not-online/?p=3786 Edited September 27, 2017 by Vanilla Frohser 1 Quote Link to comment Share on other sites More sharing options...
Vanilla Posted September 27, 2017 Report Share Posted September 27, 2017 Next time check forum, you can read my topic - now I'm having this same problem like you. Well, I didn't use "pollFailure" on my bot, and I use this solution for my bot(trying to send offer -> error not logged in -> steam-community "sessionExpired" called -> relogin using client.webLogOn(); -> use if/else and re-send trade offer) Quote Link to comment Share on other sites More sharing options...
Andrei Elvis Posted September 28, 2017 Author Report Share Posted September 28, 2017 Well, I didn't use "pollFailure" on my bot, and I use this solution for my bot(trying to send offer -> error not logged in -> steam-community "sessionExpired" called -> relogin using client.webLogOn(); -> use if/else and re-send trade offer)Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.