Ratest Posted October 16, 2022 Report Posted October 16, 2022 I'm having a problem where i can't set cookies for steam-tradeoffer-manager and steam-community and when i try to do so it seems that code execution just stops and doesn't go beyond that point. No error whatsoever. Also webSession is getting emitted each 2-3 seconds. client.on('webSession', (sessionid, cookies) => { console.log("webSession called"); manager.setCookies(cookies, (err) => { console.log(err); }); console.log("Trade offer manager cookies set"); community.setCookies(cookies, (err) => { console.log(err); }); console.log("Steamcommunity cookies set"); }); Only logs 'webSession called' but never 'Trade offer manager cookies set' or 'Steamcommunity cookies set'. Quote
Ratest Posted October 17, 2022 Author Report Posted October 17, 2022 My bad, it was a typo when initializing the steamcommunity object Quote
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.