Jump to content
McKay Development

Santa

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Santa

  1. Thanks for an answer!Also I have a question - offers don't update by polls sometimes.When new offer exists but event newOffer hasn't been running - what should I do in this case?Is it OK and I just need to check new offers by another method or there's my mistake?Sorry for my English.
  2. 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?
×
×
  • Create New...