Akaz Posted April 30 Report Share Posted April 30 Hey, A simple question, is the cancelTime mechanism linked to an instance? To be more clear, does it work as a timeout waiting for X ms before canceling the trade, in that case, only the instance that created the offer will cancel item, or would it cancel any outgoing offer that reach a certain age. Or with an example: My bot create and send an offer, cancelTime is set to 10 minutes. After 5 minute I restart the bot. Will it cancel the offer previously sent? As I'm typing I'm realizing that the answer seems pretty obvious but I'm still opening the question, a simple "It's linked to the instance that sent the trade" as answer would be enough 😄 Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 1 Report Share Posted May 1 It's not instance-linked. It just checks the offer created-at time and cancels it if the offer is older than your set cancelTime. Quote Link to comment Share on other sites More sharing options...
Akaz Posted May 2 Author Report Share Posted May 2 I'm using cancelTime property directly on the offer and not as a property of the trade manager, I guess in that case it is instance-linked. offer.data('cancelTime', DELAY); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 3 Report Share Posted May 3 Yes, that is instance-linked. Akaz 1 Quote Link to comment Share on other sites More sharing options...
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.