Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3626
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Yeah that should work fine.
  2. Could you PM me the trade URL?
  3. No, you can't get original_id for an item that's listed on the market.
  4. Game developers don't implement VAC; the Steam client takes care of that fully. Game devs just opt into using it, at which point the Steam backend starts sending modules for the Steam client to execute properly and return responses for.
  5. You would need to implement the client side of VAC, in its entirety, flawlessly. Good luck!
  6. If api.steampowered.com is merely unreachable, I think autoRelogin should keep retrying. In this case, DNS resolution failed which should never happen unless your network is down.
  7. Are you sure it's fatal and crashing the process? Looks to me like you're handling the error event as expected, not reconnecting, and the process exits as it should since there's nothing more on the event loop. autoReconnect does not apply for disconnects which emit the error event. In those cases, you're responsible for reconnecting manually.
  8. Yes, that should work. I'd recommend some debouncing to ensure that you don't spam-call webLogOn if multiple sessionExpired events are emitted quickly.
  9. Yes, you cannot call enableTwoFactor if the account already has 2FA enabled elsewhere, whether through the app or some other script.
  10. I'm not aware of autoRelogin being broken in any way. Web sessions are completely independent of CM connections. When steam-user is "connected", that's a CM session. A web session is negotiated through the CM session, but they're entirely separate. Web sessions are never automatically renewed by steam-user; that responsibility falls onto you.
  11. Right, that's a web session, not a client session. When you log in to the client using steam-user and receive a webSession event, that's a web session that's started through the client. Those web sessions expire independently of the client session, and you do need to call webLogOn() occasionally to get a new web session.
  12. That's not a thing for CM (Steam client) connections. What's the actual symptom you're seeing?
  13. Once you're connected, it'll just stay connected unless Steam goes down or your network goes down.
  14. Logged into the Steam client, or the website?
  15. What do you mean by "logged in", exactly?
  16. That's up to you to figure out; steam-tradeoffer-manager doesn't do any pricing.
  17. You'll need to set the useAccessToken option to true in the TradeOfferManager constructor. At some point I'll get around to updating the examples.
  18. What was in the trade?
  19. You'd need to create a new instance for each proxy.
  20. That should work fine. Make sure your profile isn't private, I guess.
  21. Please show the code around where you're calling setPersona.
  22. You need to enable the useAccessToken option or trades containing CS2 items won't appear.
  23. Not as far as I'm aware.
  24. steam-user doesn't do anything with API keys.
  25. You can just use ISteamUset/GetFriendList for that. Each friend has a unix time friend_since property.
×
×
  • Create New...