Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3593
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. I believe webTradeEligibility is basically just a cache of your trading eligibility status for display purposes on the market. Rather than run the backend checks to generate this message every time you load the page, they just run the check once and then set the cookie for display. The backend checks still get run when you attempt to actually complete a purchase or trade though; you can't bypass restrictions just by fudging the cookie.
  2. You can't get wear from steamcommunity.com, only from the GC.
  3. Yes, cookies are invalidated when you logout. It's possible for a JWT to become invalid before its expiration date for that reason.
  4. Either in the inventory property or your Steam inventory.
  5. I think I've done this, but I guess I didn't add proper support for it to the steam-session package.
  6. 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.
  7. I mostly just look at the dumped protobufs and nethook to see what it's doing on the wire.
  8. 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.
  9. No, since loggedOn may be emitted multiple times in response to one logOn() call.
  10. You'd pretty much need to know the owner's SteamID and fetch their inventory.
  11. 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.
  12. 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.
  13. I wasn't ever able to find a definition for that enum.
  14. Correct, that data is no longer available anywhere as far as I'm aware.
  15. No. You have to hit the GC (using the globaloffensive npm package or similar) to get details like that.
  16. 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.
  17. I believe in both of those cases you would need to use getUserDetails.
  18. 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"?
  19. If you're trading CS2 items, you'll need to enable the useAccessToken option in the TradeOfferManager constructor.
  20. It wouldn't hurt to clusterize things, but either way things should generally work fine without need for much hardware.
  21. Just request the trade URL once and then cache it somewhere? It doesn't change after the first time you fetch it.
×
×
  • Create New...