kreghx Posted May 21, 2016 Report Posted May 21, 2016 Hello, I'm having an issue with my bots recently. Once every +- 2 days, a bot shows up with an empty inventory. The only solution that I could find that worked, was to buy CS:GO for that account and run the game. The moment I run the game, my inventory appears again.Is there something I can do to prevent this, or why does this happen? It has only started recently, +- 1.5 week ago. Nothing has changed in the code of my bot, it's still the same. Kind regards Quote
Dr. McKay Posted May 21, 2016 Report Posted May 21, 2016 Sometimes (I've only seen it happen to CS:GO), Steam will "lose" an inventory like you describe. I suspect there's some error when the econ server requests it from the GC, so it defaults to "empty, can't trade", then that gets cached. There are three (public) ways to break an inventory cache. 1. Launch/close that game (of course, you need to own it first)2. Complete a trade containing items from that game (obviously this doesn't work if Steam won't let you trade items for that game)3. Accept a real-time trade request. Obviously, only #3 is an option here. You don't need to actually complete the trade (or even begin the session). All you need to do is send and accept a real-time trade request. This will flush all inventory caches for both parties. If you're using a bot, you can send and accept trade requests programmatically. Don't worry about actually handling the trade session, as it will expire on its own. Quote
kreghx Posted May 21, 2016 Author Report Posted May 21, 2016 Hello, With a real time trade request, do you mean through friends, without a trade URL? Because with a trade URL I receive error 15.If that is the case, is this supported by tradeoffer manager ? Quote
Dr. McKay Posted May 21, 2016 Report Posted May 21, 2016 If you're using node-steam-user, you can do this pretty easily. Quote
kreghx Posted May 21, 2016 Author Report Posted May 21, 2016 Okay, thank you. I will look into this to try it whenever the bug occurs again. 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.