Eradicate Posted April 20, 2018 Report Posted April 20, 2018 I'm having multiple bots which I store in a public array named `publicManager`.I have set my manager options as the following for each bot; const manager = new TradeOfferManager({ steam: client, community: community, language: 'en', "cancelTime": 60 * 3 * 1000 }); manager.id = data.id; manager.identity_secret = data.identity_secret; When the bot his client receives the webSession call I push the object into the publicManager array, now whenever I try send a trade with it I will get the bot by finding his BotId.Now I'm having issues trying to confirm the offer, everything goes well until it gets to the confirmation part; offer.send((err, status) => { if (err) { console.log(err); } else { selectedManager.acceptConfirmationForObject(selectedManager.identity_secret, offer.id, function(err){ if(err){ console.log(err); return; } console.log('Succesfully confirmed the offer.'); }); } }); for some odd reason it throws the error OfferLimitExceeded (e15), altough there are no trades open, did I misuse acceptConfirmationForObject? Cause' I'm a bit lost at this point.Thanks in advance. Quote
Dr. McKay Posted April 20, 2018 Report Posted April 20, 2018 Most likely OfferLimitExceeded is coming from the actual call to offer.send(), not from confirming it. There's also a limit on how many offers can be awaiting confirmation, maybe you hit that. Quote
Eradicate Posted April 20, 2018 Author Report Posted April 20, 2018 Most likely OfferLimitExceeded is coming from the actual call to offer.send(), not from confirming it. There's also a limit on how many offers can be awaiting confirmation, maybe you hit that.He did have 5 awaiting confirmations, I'll check after declining those. 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.