Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3591
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. The error event is only emitted (in this module) when you get disconnected from Steam, and the module will not attempt to auto-reconnect. Handling the error event isn't going to act like handling the uncaughtException event; it's not going to prevent crashes for other errors besides Steam disconnects.
  2. Connection errors are communicated through the error event. If you don't handle error on an EventEmitter, then Node.js will terminate the process.
  3. No, the only way you can tell if an item is currently in a trade is to pull your list of active trade offers and see if it's in there. There is no indication in the inventory that an item is in an active trade offer.
  4. No idea, that's entirely up to the game's developer.
  5. Presently the only way I'm aware of to handle that is to scrape and parse that page.
  6. steam-user will automatically reconnect when it can if Steam goes down. Once it reconnects it will automatically renegotiate its web session. It will still be necessary to refresh your web session with webLogOn from time to time, but not as a response to Steam outages.
  7. You shouldn't be using relog when your web session expires. Just call webLogOn and webSession will get emitted again.
  8. steam-tradeoffer-manager does not presently support promises (async/await), although that's planned for the near future. In the meantime, you'll need to wrap the call in a Promise.
  9. Yes, you'd need to request both inventories separately.
  10. It's possible. You could try deleting the local cache. On Windows, delete the entire folder %localappdata%\doctormckay\node-steam-tradeoffer-manager
  11. Your Steam Community inventory is AppID 753, ContextID 6. So replace 730 with 753 and 2 with 6.
  12. Wait, why are you looking at rawJson? Of course the item description wouldn't be in there.
  13. Use 'english' as the language.
  14. Sorry, I have no experience with the Steam datagram relay.
  15. Let me see your constructor code.
  16. Yes, you would want to use NetHook (and NetHookAnalyzer) to inspect the traffic going to and from the GC when you do a trade-up if you wanted to implement it yourself.
  17. Unfortunately no, Steam doesn't tell the client what its SteamID is until you successfully log on.
  18. Check the users property to see if you already have their info cached, and if you don't, use getPersonas. The URL to the image is available in the resulting object as avatar_url_icon, avatar_url_medium, and avatar_url_full.
  19. OpenID doesn't do what you think it does. It doesn't log you into Steam; it allows third-party sites to verify you are who you claim you are on Steam. So yes, you'd need to implement the whole login flow to get a session cookie.
  20. Yeah, if it has to store all that item data in RAM, naturally it's going to consume RAM.
  21. I don't think a block is detectable, no.
  22. I don't see any reason why that wouldn't work. Maybe your proxies are shared or something.
  23. There isn't, since descriptions aren't uniform across games.
  24. Yeah, that happens from time to time. Steam is not the most stable service. No, it won't automatically retry.
×
×
  • Create New...