apibot Posted April 6, 2022 Report Posted April 6, 2022 My bot listens for sentOfferChanged event. Sometimes an offer is accepted, it fires with the state: 3. Then after a few seconds, sentOfferChanged fires again with the same offer but now with state: 9, and fires the same offer with state: 3 again. Causing some issues in my end since I rely on state: 3 when deducting credits from user's balance. Quote
Dr. McKay Posted April 6, 2022 Report Posted April 6, 2022 Steam sucks. You should either wait a little while before crediting/deducting user balances, or ignore offers that go into state 3 twice. Quote
apibot Posted April 8, 2022 Author Report Posted April 8, 2022 Thanks for the reply! Already went that path. 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.