Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3660
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Did you set a language in the constructor? If you don't, there will be no descriptions (including market_name) present. If you do, then market_name will be a property of each object in the arrays.
  2. Accepting all gift offers is very easy. All you need to do is make sure that itemsToGive.length is 0 and itemsToReceive.length is > 0 when a new offer comes in. Grabbing Steam Market price is a bit more challenging, and it's subject to some relatively strict IP rate-limits. Regardless, it should be possible with steamcommunity and steam-tradeoffer-manager.
  3. If you do it right, it doesn't really matter how many processes you're using. Databases remain consistent regardless of how many processes are accessing them, provided you're querying correctly.
  4. v3.24.0 adds support for the new pagination mechanism. How to use it is kinda confusing now.... If anyone has questions after reading the new documentation, please feel free to ask here.
  5. No, seeing as how steam-tradeoffer-manager doesn't handle any logging in at all. Please direct your question to the board for whichever module you're using to login.
  6. steam-tradeoffer-manager does not request that page. Consequently, it cannot trigger that CAPTCHA. Steam Inventory Helper does, in fact, request that page. Quite frequently, I believe. In fact, I believe SIH to be the reason why Valve added the CAPTCHA in the first place.
  7. If there are 3 requests in flight when your session expires and they all fail, then sessionExpired could be emitted 3 times, so you'd try to log on 3 times. You don't need to explicitly stop it, no.
  8. Looks good. You might want to rate-limit calls to webLogOn though, as sessionExpired could be emitted with any frequency.
  9. That's against the Steam Subscriber Agreement.
  10. You're already using webSession to call setCookies. That's all you need to do to handle those cookies. Cookies from relogs will also arrive in that event. The steamcommunity sessionExpired event will still work for determining that your cookies have gone bad. Cookies from a SteamUser session will last at most as long as your Steam connection, but Steam has a tendency to kill them whenever it pleases (as with all session cookies).
  11. If you need web sessions, SteamUser can do that all for you. If you need fresh cookies, call user.webLogOn().
  12. Why are you using SteamUser, but also logging in via SteamCommunity?
  13. You can use steamcommunity for that: https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser#getinventorycontextscallback
  14. You should listen for the receivedOfferChanged event and run your acceptance logic in there.
  15. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getuserdetailscallback
  16. https://github.com/DoctorMcKay/node-steam-user#enabletwofactorcallback
  17. Yeah, that should be sufficient. If I remember correctly, sessionExpired is only emitted for known no-session errors.
  18. Make sure your machine's clock is right and that you have all the typical TLS root certificates installed.
  19. I've created a GitHub issue for this, as the module does need to be updated. I'm unsure when I'll have time to get to it, but it should be soon. If anyone relies heavily on this, I can prioritize it.
×
×
  • Create New...