Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3601
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. 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.
  2. 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.
  3. 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.
  4. https://github.com/DoctorMcKay/node-steam-user#using-refresh-tokens
  5. 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.
  6. Use getExchangeDetails.
  7. Those are the asset IDs before the exchange happened, not after.
  8. It works for one-sided trades as well. An exchange is still an exchange, even if one side is empty. Extracts the ID how?
  9. Either use getExchangeDetails or use your access token to access the WebAPI.
  10. Yes, Node is very different from C#.
  11. This was an intentional change by Valve.
  12. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getexchangedetailsgetdetailsiffailed-callback
  13. 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.
  14. Not possible without calling additional methods, no.
  15. 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.
  16. You can't. This is a Node.js module only.
  17. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#getofferid-callback
  18. You're treating the symptom, not the cause. There's no scenario where this.partner should be undefined or otherwise invalid unless you're doing something wrong.
  19. steam-session is a Node.js module, not a browser module.
  20. ?? What does this have to do with steam-session?
  21. Show how you're creating a trade offer (new TradeOffer(...))
×
×
  • Create New...