Jump to content
McKay Development

Recommended Posts

Posted (edited)

Are you wanting to cancel existing offers after X time has passed?

 

If so, have a look at constructor options: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager-@-v1#constructoroptions

Seems like this is, in general, the option I searched for, but I've got some problem with it....

 

I got different offer types send by the bot.... so this option isn't the right I think.

1. deposit trades, which request items of the user (maximum Pending Time ~ 3 Minutes)

2. payout trades, which send the winnings to the user (maximum Pending Time up to 6 hours)

 

how to handle both with this or another option?

of course, I could write an object array in my code with all offers, check the created property and type and cancel if time passed > allowed time... but this is the dirty way and I want to handle it correctly...

 

also, I saw there is an option cancelOfferCount option to cancel the oldest offer if I'm not allowed to create a new one because of the limitations by steam...

here I've got the same problem...

 

any ideas?

Edited by xniceinz

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...