kaikash Posted April 8, 2016 Report Posted April 8, 2016 Hello,There is a method isGlitched().If this method return true how to "reload" the offer to make it "not glitched"?Best wishes,Gleb Quote
Gilroy Posted April 8, 2016 Report Posted April 8, 2016 i think theres a duplicate function you could use. Quote
kaikash Posted April 8, 2016 Author Report Posted April 8, 2016 i think theres a duplicate function you could use.I need to call isGlitched method when tradeoffer's already acceptedDo you think duplicate method will work? Quote
Gilroy Posted April 8, 2016 Report Posted April 8, 2016 I need to call isGlitched method when tradeoffer's already acceptedDo you think duplicate method will work?ive never used it so i wouldnt know, just an idea. Wouldnt you check isGlitched before accepting? Quote
Dr. McKay Posted April 8, 2016 Report Posted April 8, 2016 Use update. That will update the offer from the API. offer.update(function(err) { if (err) { console.log(err); } else { // now the offer is fresh from the WebAPI } }); Quote
kaikash Posted April 8, 2016 Author Report Posted April 8, 2016 Use update. That will update the offer from the API. offer.update(function(err) { if (err) { console.log(err); } else { // now the offer is fresh from the WebAPI } });Thank you McKay! Quote
cookie Posted April 9, 2016 Report Posted April 9, 2016 Use update. That will update the offer from the API. offer.update(function(err) { if (err) { console.log(err); } else { // now the offer is fresh from the WebAPI } }); Is Calling getOffer Will also update the offer the next time? 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.