seler Posted April 3, 2016 Report Posted April 3, 2016 Hi there.I have problem with sending offer from my bot using tradeoffer-manager, when I try to send some offer only with my items I have status pending.On steam in sent offers I see 'Awaiting for mobile confirmation'.What is wrong? I have turned on 2FA and i'm logged in steam with my bot. My code: var offer = manager.createOffer("[U:1:123456789]"); offer.addMyItem({"appid": 730, "contextid": 2, "assetid": "1234567890"}); offer.send("Lorem ipsum...", "12345678", function(err, status) { if (err) { console.log(err); } else { console.log("Offer #" + offer.id + " " + status); } }); Quote
trzyrazyzero Posted April 3, 2016 Report Posted April 3, 2016 You must use confirmation polling, https://github.com/DoctorMcKay/node-steamcommunity/wiki/Steam-Confirmation-Polling#startconfirmationcheckerpollinterval-identitysecret Quote
seler Posted April 3, 2016 Author Report Posted April 3, 2016 You must use confirmation polling, https://github.com/DoctorMcKay/node-steamcommunity/wiki/Steam-Confirmation-Polling#startconfirmationcheckerpollinterval-identitysecretI'm using confirmation polling but I want automatically confirm my offer after send, it is possible? Quote
Dr. McKay Posted April 3, 2016 Report Posted April 3, 2016 If you'd read that page that was linked, you'd know that that's exactly what confirmation polling does. Quote
seler Posted April 3, 2016 Author Report Posted April 3, 2016 If you'd read that page that was linked, you'd know that that's exactly what confirmation polling does. I've added: steam.checkConfirmations(); after that: console.log("Offer #" + offer.id + " " + status); and it's still not confirmed autimatically after send trade. Quote
Dr. McKay Posted April 3, 2016 Report Posted April 3, 2016 What did you use to start confirmation checking? Quote
trzyrazyzero Posted April 4, 2016 Report Posted April 4, 2016 It will dont confirm offer immediately, its depends on steam. Quote
seler Posted April 4, 2016 Author Report Posted April 4, 2016 What did you use to start confirmation checking? I have steam.startConfirmationChecker(60000, identitySecret); inside of steam.login() { } It will dont confirm offer immediately, its depends on steam.Yes, but actually it is confirmed in 1min. Quote
Dr. McKay Posted April 4, 2016 Report Posted April 4, 2016 Add this to your code and see what it prints out: steam.on('debug', console.log); 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.