-
Posts
2 -
Joined
-
Last visited
Posts posted by Ratest
-
-
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'.
setCookies not working and webSession getting emitted each 2-3 seconds
in node-steamcommunity
Posted
My bad, it was a typo when initializing the steamcommunity object