RavenX86 Posted July 13, 2016 Report Posted July 13, 2016 Any specific format this date object needs to be in?I was to set "cancelTime": 5*60*1000Also I tried doing it manually by passing a date object set 5 minutes in the future (my timezone is GBT+3).After sending the offer and fetching offer.expires the time is correct but 14 days in the future.Any ideas what might cause this? Quote
cr3ative_ Posted July 13, 2016 Report Posted July 13, 2016 I believe it needs to be an integer, so for 5 minutes i would put 300000. Quote
Andrew Posted July 13, 2016 Report Posted July 13, 2016 (edited) cancelTime - Optional. The time, in milliseconds, that a sent offer can remain Active until it's automatically canceled by the manager. This feature is disabled if omitted. Note that this check is performed on polling, so it will only work as expected if timed polling is enabled. Also note that because polling is on a timer, offers will be canceled between cancelTime and cancelTime + pollInterval Edited July 13, 2016 by Andrew Quote
Dr. McKay Posted July 13, 2016 Report Posted July 13, 2016 There might be some confusion here. The expires property is Steam's expiration date, which is always 14 days from creation time and can't be changed. cancelTime works independently of it. RavenX86 1 Quote
RavenX86 Posted July 13, 2016 Author Report Posted July 13, 2016 There might be some confusion here. The expires property is Steam's expiration date, which is always 14 days from creation time and can't be changed. cancelTime works independently of it.Thanks a lot for explaining that. 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.