Search the Community
Showing results for tags 'cookies'.
-
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'.
-
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!
-
Error: Access Denied when trying to set cookies for two different bots
Guest posted a topic in node-steamcommunity
I am trying to set cookies for two different bots running in the same file, and when I get to the second bot, the script errors: Error: Access Denied at SteamCommunity.<anonymous> (C:\Users\easto\node_modules\steamcommunity\components\webapi.js:15:20) at Request._callback (C:\Users\easto\node_modules\steamcommunity\components\http.js:67:15) at Request.self.callback (C:\Users\easto\node_modules\request\request.js:185:22) at emitTwo (events.js:126:13) at Request.emit (events.js:214:7) at Request.<anonymous> (C:\Users\easto\node_modules\request\request.js:1161:10) at emitOne (events.js:116:13) at Request.emit (events.js:211:7) at Gunzip.<anonymous> (C:\Users\easto\node_modules\request\request.js:1083:12) at Object.onceWrapper (events.js:313:30) The second bot successfully logins, it only errors when setting the cookies for the second bot. -
I got some questions: 1. Should i update the cookies? 2. When should i do it? 3. How can i do it?
- 4 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
Hi guys! I have a problem when i get callback on webSession event, few days ago everything works fine, but now when i try to execute my node js file and got message from my logger: Unable to set trade offer cookies: Error: HTTP error 429. What can be wrong? So trade offer manager sent too many requests to steam and after 5-7 seconds we have 429. client.on('webSession', function (sessionID, cookies) { client.setPersona(SteamUser.Steam.EPersonaState.Online); offers.setCookies(cookies, function (err){ if (err) { logger.error('Unable to set trade offer cookies: '+err); process.exit(1); } }); }); In cookies i receive an array with next data: sessionid, steamLogin and steamLoginSecure. Any idea?
- 6 replies
-
- node.js
- node-steam-tradeoffer-manager
-
(and 1 more)
Tagged with: