-
Posts
3659 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
What version of steam-user?
-
Sounds like whatever you've got isn't a valid refresh token. Where did you get it?
-
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.
-
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.
-
There's no reason not to.
-
steam trade offer manager stopped working
Dr. McKay replied to Deeerby's topic in node-steam-tradeoffer-manager
Versions? -
TypeError: setInterval(...).unref is not a function
Dr. McKay replied to sanchoys's topic in node-steamcommunity
npm update should take care of this for you. -
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.
-
TypeError: setInterval(...).unref is not a function
Dr. McKay replied to sanchoys's topic in node-steamcommunity
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. -
Don't care.
-
Works fine for me. I'm not going to provide support for automated abuse reporting.
-
trade manager is not accepting cookies from steam community
Dr. McKay replied to sherazi's topic in node-steamcommunity
npm update -
You can't.
-
What do you mean by "use it with steam-user"?
-
npm update
-
Works fine for me. Why are you doing all that and not just calling community.setCookies()?
-
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.
-
Using only community and trade offer manager
Dr. McKay replied to xeroz333's topic in node-steam-user
-
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.
-
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.
-
Update steam-user to v4.29.0 or later using npm.
-
Update to v4.29.0 or later.
-
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.