Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3567
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. https://github.com/DoctorMcKay/node-steam-user?tab=readme-ov-file#getproductinfoapps-packages-incltokens-callback
  2. You can use NetHook2 for this.
  3. If you're dealing with trades that include CS items, you need to enable the useAccessToken option.
  4. Does the offer contain CS items? If so, you'll need to use an access token. You can get one with steam-session.
  5. TypeScript definitions for steam-tradeoffer-manager aren't maintained by me, so I can't really help you specifically. That said, you can probably suppress the error using (EResult.Revoked as number)
  6. I think you're missing some parens after this.getTimeOffset
  7. I dunno what to tell you; I've never messed with any user stats messages. Everything looks fine, assuming that what you're passing is what the backend actually expects. Are you in-game for the app? That might be necessary.
  8. Your app has crashed because you aren't listening for the error event. Every Node.js EventEmitter crashes the app if an unhandled error event is emitted. The error in question is raised when steam-user fails to retrieve the Steam server list from the WebAPI after 10 retries.
  9. Unless you've edited messages.js to define which protobuf should be used for that message, you'll need to handle encoding the request body yourself.
  10. 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.
  11. Probably does, but I wouldn't expect things to go smoothly if you try to use it.
  12. Which line is triggering the error?
  13. 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.
  14. 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.
  15. 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.
  16. https://github.com/DoctorMcKay/node-steam-user#using-refresh-tokens
  17. 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.
  18. Use getExchangeDetails.
  19. Those are the asset IDs before the exchange happened, not after.
×
×
  • Create New...