Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3655
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Are you sure? This shouldn't be possible. Steam caches classid+instanceid pairs indefinitely. The description data should never change. Not really, my best guess is that D just stands for "data". It very likely is a hash to prevent scraping. It's been my experience that any [SM], A, D triplet will work forever to fetch item data.
  2. Probably does, but I wouldn't expect things to go smoothly if you try to use it.
  3. Which line is triggering the error?
  4. Yep, it's a system befitting Valve. You log in by passing a refresh token in the field named access_token, because of course you do.
  5. I'm assuming from your gamesPlayed(730) call that you're trading CS2 items. For steam-tradeoffer-manager to work as expected for trade offers containing CS2 items, you need to enable the useAccessToken constructor option.
  6. The "Already attempting to log on, cannot log on again" error cannot be caught under any circumstances. If you need to, keep track in your own code if you're already attempting to log on.
  7. https://github.com/DoctorMcKay/node-steam-user#using-refresh-tokens
  8. steam-user communicates directly with the Steam backend using the same protocol as the Steam client, which is not HTTP. Some Steam endpoints are available both via the Steam client and the WebAPI, but this particular one isn't. ICommunityService/GetAppRichPresenceLocalization would be the URL if this one was available via WebAPI, but it's not.
  9. Use getExchangeDetails.
  10. Those are the asset IDs before the exchange happened, not after.
  11. It works for one-sided trades as well. An exchange is still an exchange, even if one side is empty. Extracts the ID how?
  12. Either use getExchangeDetails or use your access token to access the WebAPI.
  13. Yes, Node is very different from C#.
  14. This was an intentional change by Valve.
  15. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getexchangedetailsgetdetailsiffailed-callback
  16. Garbage is only collected periodically. If you want to fetch that much data in Node, you're going to need more than 200 MB of RAM.
  17. Not possible without calling additional methods, no.
  18. https://github.com/DoctorMcKay/node-steam-user#getownedappsfilter Don't call getOwnedApps until after the ownershipCached event is emitted. Also, it doesn't take a callback argument.
  19. You can't. This is a Node.js module only.
  20. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#getofferid-callback
×
×
  • Create New...