Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3587
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Yes, you could, and then things would fall over when Steam goes down and your client reconnects since you'd miss that second loggedOn event.
  2. I mostly just look at the dumped protobufs and nethook to see what it's doing on the wire.
  3. You need to setup an instance of the request module using request.defaults() with your proxy config, then pass that request instance to the SteamCommunity constructor, and finally pass that SteamCommunity instance to the TradeOfferManager constructor.
  4. No, since loggedOn may be emitted multiple times in response to one logOn() call.
  5. You'd pretty much need to know the owner's SteamID and fetch their inventory.
  6. Set the enablePicsCache option to true in the constructor, then listen for the ownershipCached event and once it's emitted, you can call ownsApp to check if you own a license for an app.
  7. No, you won't get classids from the GC at all. classids are only meaningful to the Steam Econ server, which is entirely separate from the GC.
  8. I wasn't ever able to find a definition for that enum.
  9. Correct, that data is no longer available anywhere as far as I'm aware.
  10. No. You have to hit the GC (using the globaloffensive npm package or similar) to get details like that.
  11. steam-session performs the login over an unauthenticated CM connection, but the refresh request now requires the CM connection to be authenticated (you previously sent CMsgClientLogon). Once you're logged on you can send the Authentication.GenerateAccessTokenForApp#1 unified message.
  12. I believe in both of those cases you would need to use getUserDetails.
  13. It means you need to have an established connection to a CM (the same servers the Steam client logs into) in order to refresh the token. You can use steam-user to do this if you want. What do you mean by "log in using the refresh token"?
  14. If you're trading CS2 items, you'll need to enable the useAccessToken option in the TradeOfferManager constructor.
  15. It wouldn't hurt to clusterize things, but either way things should generally work fine without need for much hardware.
  16. Just request the trade URL once and then cache it somewhere? It doesn't change after the first time you fetch it.
  17. It depends on what you're doing and how you're doing it. If you're using node-steamcommunity for all those accounts, you're going to hit rate limits unless you're performing actions infrequently. And if you're logging in that many accounts from one IP, that'll rate limit you as well.
  18. Why would you need to hit the /tradeoffers/privacy endpoint ever?
  19. https://steamapi.xpaw.me/#IEconService/GetTradeHoldDurations
  20. Seems like a backend change that access token refreshes for SteamClient tokens are authenticated now. I've updated the docs to reflect it: https://github.com/DoctorMcKay/node-steam-session?tab=readme-ov-file#refreshaccesstoken
  21. You've got some problem with your proxy being unable to connect to Steam, it seems.
  22. The string you pass to httpProxy needs to start with http:// createConnection is not a valid option for the SteamUser constructor. To use a SOCKS proxy, you should use the socksProxy option.
×
×
  • Create New...