Akaz Posted April 30, 2023 Report Posted April 30, 2023 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
Dr. McKay Posted May 1, 2023 Report Posted May 1, 2023 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
Akaz Posted May 2, 2023 Author Report Posted May 2, 2023 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
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.