Jump to content
McKay Development

How do you deal with timeout (err 16) on tradeoffer send?


Recommended Posts

So, we all know that error 16 timeout is steam's fault. It doesn't return an offer object, but sometimes (most of the time), the offer does go through. So I have no way of recording the offer in my database. The only thing I could do is take a hash of the itemIDs and store that in my DB and wait for a new offer to come in that matches it.

 

Is this what you guys do? Is there anything else i can do?

Link to comment
Share on other sites

There are pretty much two things you can do.

  1. Cancel unknown offers in unknownOfferSent and hope that the user doesn't accept it before you can cancel it (and if they do, fix it manually)
  2. Include some kind of internal identifier in the trade offer message and use that to track offers instead of (or in addition to) the offer ID
Link to comment
Share on other sites

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