Jump to content


Photo

[Bug?] unknownOfferSent for trades created by TradeOfferManager

node.js node-steam-tradeoffer-manager

  • Please log in to reply
3 replies to this topic

#1 JVz

JVz

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 13 April 2019 - 01:18 PM

Sometimes on sending tradeoffer bot will receive error from steam: "There was an error sending your trade offer.  Please try again later. (16)" but in 5-60 seconds unknownOfferSent event fires 1-3 times with this exact trade (I triple checked that I create offer only once, with logs too), one of these offers will behave as usual and all others (if there are others) will have status InvalidItems. Usually it happens when steam lags

Is it even possible? Or should I look for errors in my code?



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,111 posts

Posted 13 April 2019 - 02:41 PM

Yes, error 16 is a well-known cause for headache.


  • JVz likes this

#3 JVz

JVz

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 13 April 2019 - 02:55 PM

So I gues there is no workaround atm. If so few more question:

1. These  offers from "unknownOfferSent" still should always fire event "sentOfferChanged" if they will be accepted/canceled/etc?

2. Seems like these offers ignore "cancelTime" "pendingCancelTime" options of tradeoffer manager because they are not considered as offers created by manager. Is there better way than using setTimeout to implement same behavior as that options?



#4 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,111 posts

Posted 14 April 2019 - 07:48 PM

  1. That's correct.
  2. That's incorrect. They will still be auto-canceled per your options.

  • JVz likes this





Also tagged with one or more of these keywords: node.js, node-steam-tradeoffer-manager

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users