goalsword Posted May 16, 2017 Report Posted May 16, 2017 Hi, I have a problem with steamcommunity. I can only get trade confirmations those created manually when i call steamcommunity.getConfirmations. Those trade confirmations i created with steam-tradeoffer-manager can't get them. Thank you for help. attch file 111 can see i have 2 confirmations to confirm. but when i call getConfirmations i only get one~ var time = SteamTotp.time(steamBot.community._timeOffset); var confKey = SteamTotp.getConfirmationKey(steamBot.option.identity_secret, time, 'conf'); var allowKey = SteamTotp.getConfirmationKey(steamBot.option.identity_secret, time, 'allow'); // steamBot.community.acceptAllConfirmations(time, confKey, allowKey, function(err, confs){ // if(err){ // res.sendError(err); // return; // } // if(confs == null) confs = []; // res.sendSuccess(confs); // }); req.steamBot.community.getConfirmations(time, confKey, function(err,confs){ if(err){ res.sendError(err); return; } res.sendSuccess(); }); Quote
TomYoki Posted May 16, 2017 Report Posted May 16, 2017 client.on('webSession', (sessionID, cookies) => { manager.setCookies(cookies, function (err) { if (err) { logger.error(err) //Ignore logger, that's winston process.exit(1); } }); community.setCookies(cookies); community.startConfirmationChecker(10000, config.identitySecret); }); Is this what you need? Quote
Dr. McKay Posted May 16, 2017 Report Posted May 16, 2017 You can't use confirmations on two devices at once. I suspect that you're using a physical mobile phone to confirm some trades. This will cause problems like the one you describe (confirmations don't always show up). Quote
goalsword Posted May 17, 2017 Author Report Posted May 17, 2017 client.on('webSession', (sessionID, cookies) => { manager.setCookies(cookies, function (err) { if (err) { logger.error(err) //Ignore logger, that's winston process.exit(1); } }); community.setCookies(cookies); community.startConfirmationChecker(10000, config.identitySecret); }); Is this what you need? Thank you for your help. but this is not I want. I get confirmations manually just for avoiding 429 http error. Quote
goalsword Posted May 17, 2017 Author Report Posted May 17, 2017 You can't use confirmations on two devices at once. I suspect that you're using a physical mobile phone to confirm some trades. This will cause problems like the one you describe (confirmations don't always show up).Thank you for your help. Is it caused by different device-id or anything else ? Quote
Dr. McKay Posted May 17, 2017 Report Posted May 17, 2017 Yes, it's caused by different device IDs. 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.