Jump to content
McKay Development

Recommended Posts

Posted

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 😄

Posted

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);

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...