Hi evereone! I'm stuck on this, please, help me out.
manager.on('newOffer', function(offer) {
...
acceptOffer(offer, userid, function(err, result) {
if(err){
//Steam return error
} else {
//All fine
}
});
...
});
If Steam return errors like #11 or #16 etc, that means it's unable to accept the offer at the moment, but it's alright after several seconds. This creates a lot of junk records in my database, since i have to write into it to keep track of the errors and re-accept trades.. Can I delete that offer from polldata to call 'newOffer' again or what else can I use to recall newOffer for not acceptable trades?