kreghx Posted March 27, 2016 Report Posted March 27, 2016 Hello, My bot sometimes gets stuck at "Awaiting mobile confirmation", which is annoying for the customers who want to receive their items.I'm using the example code of steam-tradeoffer-manager on Github. Is there anything to do against this? Kind regards Quote
Dr. McKay Posted March 27, 2016 Report Posted March 27, 2016 You need to confirm them. You can use node-steamcommunity's confirmation stuff for this. Quote
kreghx Posted March 28, 2016 Author Report Posted March 28, 2016 (edited) Hello, It is already implemented, but +- 1/50 sent offers are stuck on waiting for confirmation. Using Steamcommunity.I think this is the same problem as https://dev.doctormckay.com/topic/173-confirmation-didnt-go-through/ . You've said that the libraries take care of the DeviceID, am I doing it correctly or am I missing something here ? function login() { steam.login(logOnOptions, function (err, sessionID, cookies, steamguard, oAuthToken) { if (err) { console.log("Steam login fail: " + err.message); } fs.writeFile('steamguard.txt', steamguard); console.log("Logged into Steam"); var mycookies = manager.setCookies(cookies, function(err) { if(err) { console.log(err); throw err; return; } console.log("Got API key: " + manager.apiKey); steam.startConfirmationChecker(2000, identity_secret); console.log("Confirmation Checker has started"); offerItems(); checkUnsentOffers(); }); }); } Kind regards Edited March 28, 2016 by kreghx Quote
Dr. McKay Posted March 28, 2016 Report Posted March 28, 2016 Two things:Sometimes confirmations just don't show up at all. That's just Steam being Steam. See #27. 2000ms is really low for polling. The recommended minimum is 10,000ms for a reason. 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.