Akaz Posted April 28, 2022 Report Share Posted April 28, 2022 Hey, I'm running ASF, mostly to idle cards, while I'm also using the steam-user package and every time ASF refresh it's session, it kills the one I created with steam-user == ASF LOGS == RefreshSession() Refreshing our session! Init() Logging in to ISteamUserAuth... Init() Success! ASF and my bot are running under different IP, I tried a bunch of things including setting logonID but without success, I can't prevent my session from dying. Any idea on how to solve this? Thanks! Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 28, 2022 Report Share Posted April 28, 2022 That's pretty much expected. It's not 100% clear what causes Steam to invalidate cookies, but initing a session is known to invalidate old ones. Quote Link to comment Share on other sites More sharing options...
Akaz Posted April 28, 2022 Author Report Share Posted April 28, 2022 (edited) 2 hours ago, Dr. McKay said: That's pretty much expected. It's not 100% clear what causes Steam to invalidate cookies, but initing a session is known to invalidate old ones. Thank you for your answer So there is no way to run ASF and steam-user on the same account at the same time without having to recreate a new session every 15 minutes? I was previously using node-steamcommunity because all I need is to get a session and cookies to request Steam endpoints and I had no problem, but then I had to move to steam-user because I need to get my wallet balance. Alternative question then, is there a way to get an account wallet balance without using steam-user? Thanks again! Edited April 28, 2022 by Akaz Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 30, 2022 Report Share Posted April 30, 2022 No, you can't run the same account under multiple processes without bad things like that happening. You can use steamstore to get your wallet balance: https://github.com/DoctorMcKay/node-steamstore#getwalletbalancecallback Akaz 1 Quote Link to comment Share on other sites More sharing options...
Akaz Posted May 1, 2022 Author Report Share Posted May 1, 2022 On 4/30/2022 at 4:20 AM, Dr. McKay said: No, you can't run the same account under multiple processes without bad things like that happening. You can use steamstore to get your wallet balance: https://github.com/DoctorMcKay/node-steamstore#getwalletbalancecallback It did the job, thanks a lot 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.