Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3659
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. What version of steam-user?
  2. Sounds like whatever you've got isn't a valid refresh token. Where did you get it?
  3. https://steamerrors.com/87 AccountLoginDeniedThrottle = "login attempt failed, try to throttle response to possible attacker". I don't know exactly what that means, but given the similarity to AccountLogonDenied (which is the code used when you need to provide an email code), it seems likely that it happens if you try to log on too many times without providing a valid email code. Yes, this is expected behavior. Machine auth tokens are only issued for accounts that are using email Steam Guard.
  4. I'm not sure what circumstances automatically enable email Steam Guard. If you already have a valid refresh token, then yeah, you can use steam-session to get new cookies.
  5. There's no reason not to.
  6. I very much wouldn't be surprised if Valve removed the ability to use sentry files with the auth server last week. They're seemingly cleaning up deprecated transitional code. Why can't you just get a machine auth token going forward?
  7. npm update should take care of this for you.
  8. Decode the JWT and check the exp parameter, but be aware that tokens can be invalidated server-side at Valve's discretion, and nobody's sure exactly what makes that happen besides IP changes.
  9. This is a known incompatibility in Electron that the Electron team has acknowledged and refused to fix. Package maintainers cannot consider all possible incompatibilities in all possible runtime environments; you'd do well to only use third-party modules in your main process rather than in a Node-enabled renderer process. You're ultimately trying to run code written for Node.js in an environment that's only mostly API-compatible with Node.js. I'll try to add a workaround when I get to it.
  10. Don't care.
  11. Works fine for me. I'm not going to provide support for automated abuse reporting.
  12. You can't.
  13. What do you mean by "use it with steam-user"?
  14. npm update
  15. Works fine for me. Why are you doing all that and not just calling community.setCookies()?
  16. This is expected behavior. You can only use a token generated with EAuthTokenPlatformType.SteamClient with steam-user. This is expected behavior. renewRefreshToken() does not work for EAuthTokenPlatformType.WebBrowser.
  17. This is a known issue, see: https://github.com/DoctorMcKay/node-steamcommunity/issues/321 community.login isn't going to work until I can finish the v4 rewrite. Until then, you can either use steam-session or steam-user to get login cookies for use with steamcommunity.
  18. The solution is to stop using unsupported, deprecated libraries and migrate to things that are supported. For logging into web, steam-session is what you're looking for.
  19. Update steam-user to v4.29.0 or later using npm.
  20. Update to v4.29.0 or later.
  21. client.setPersona(SteamUser.Steam.EPersonaState.Online, Config.access.setNickname) This line tells me that you're using steam-user v3.x.x or earlier, as SteamUser.Steam was removed in v4.0.0.
  22. Version?
×
×
  • Create New...