xniceinz Posted July 18, 2017 Report Posted July 18, 2017 Anybody can tell me how to use them?Every time I try to use it the offer just stay.... Quote
Dr. McKay Posted July 18, 2017 Report Posted July 18, 2017 The expires property tells you when Steam will expire the offer. It's always two weeks after the offer was sent. You cannot change it. It's distinct from cancelTime. Quote
TomYoki Posted July 18, 2017 Report Posted July 18, 2017 Anybody can tell me how to use them?Every time I try to use it the offer just stay.... 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 xniceinz 1 Quote
xniceinz Posted July 19, 2017 Author Report Posted July 19, 2017 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#constructoroptionsThank you, I'll try this out Quote
xniceinz Posted July 20, 2017 Author Report Posted July 20, 2017 (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#constructoroptionsSeems 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 July 20, 2017 by xniceinz Quote
Dr. McKay Posted July 20, 2017 Report Posted July 20, 2017 You can control cancelTime per-offer using the cancelTime data key: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#datakey-value Quote
xniceinz Posted July 20, 2017 Author Report Posted July 20, 2017 You can control cancelTime per-offer using the cancelTime data key: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#datakey-value thank you, man! It works. You've got a solution or idea too for my problem with the cancelOfferCount function?It's possible to pass the offer an option, that the function shouldn't affect it? Quote
Dr. McKay Posted July 20, 2017 Report Posted July 20, 2017 No, I don't think it's possible to opt specific offers out of cancelOfferCount canceling. 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.