Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3402
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. I'm not really at liberty to say much about that, but to my knowledge it isn't possible through the steamcommunity.com data.
  2. There are multiple ways to do this. You could loop the item arrays and increment counters when you find matching items. You could use filter to filter the arrays for particular items and check the length of the resulting arrays.
  3. I've already told you what can cause that error. I suggest that you double-check everything.
  4. If you're using two-factor authentication (via SDA or whatever), then there's no new-device cooldown, so no. But if you aren't, then the answer is still no because "devices" are remembered by sentry files. Your sentry file is saved by steam-user in your appdata directory, so it will always be reused on the same machine (until you reformat or whatever).
  5. Then Steam is either down or you've had too many failed login attempts.
  6. If you flood Steam, you'll get rate-limited. If you're accepting many offers at once, add a delay between the requests.
  7. No. Please read the documentation. Defindexes aren't currencyids. As far as I know, only Spiral Knights uses "currencies" in trading.
  8. I'd suggest taking questions like that to Stack Overflow or similar. Or just search this forum as I'm sure it's been discussed many times here. I'm not really here to teach you JavaScript though.
  9. sessionExpired won't be emitted on the TradeOfferManager, but I believe it will be on the steamcommunity that you pass in.
  10. Firstly, you should slow down your confirmations if you're getting hit with 429s. The automatic confirmation checker, while easy, makes unnecessary requests to Steam. I recommend that you just deal with confirmations manually as needed. Newer versions have a method to automatically accept all confirmations very easily. That said, you can set the local IP in the constructor: https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#constructoroptions
  11. I can't reproduce this. I started a trade, put up an item on one side (the request sender), committed the trade, and confirmed it on the sender's side. The recipient briefly showed an active offer, then it immediately went accepted. Maybe it's possible that there's some kind of bug in the module, but I don't have time to test that right now. What happens if you wait 30 or so seconds after you get newOffer and then check its status via offer.update?
  12. You're declining the offer? Don't do that. And just to be super clear, this is happening via real-time trading with trade requests in Steam chat?
×
×
  • Create New...