mouzes1 Posted June 30, 2016 Report Posted June 30, 2016 (edited) I am wondering how to get offer in later stage. Is there some call that I can make to retrieve offer based on offerId or something else? For example I want to Cancel specific offer at some point in time.What i do now is to add all offers in array and get offer from array based on key(offerId) but when i restart my node.js i loose all offers in that array. Also is there something like Resend offer?Thanks. Edited June 30, 2016 by mouzes1 Quote
mouzes1 Posted June 30, 2016 Author Report Posted June 30, 2016 Ok I found how to get offer I saw TradeOfferManager.prototype.getOffer, question for Resend offer still remains. Quote
Dr. McKay Posted June 30, 2016 Report Posted June 30, 2016 steam-tradeoffer-manager has a built-in option to automatically cancel offers if they remain active for too long. Look at the cancelTime option. There's no direct resend method, but you can call offer.duplicate() to get a copy of the offer, which you can then send (provided the items still exist). 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.