-
Posts
3573 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Getting user's Rich Presence without Steamworks SDK
Dr. McKay replied to Arty's topic in node-steam-user
Yes, you can request rich presence for a user using requestRichPresence. You can also listen for the user event, which is emitted in real-time for accounts on your friends list when things change. -
https://nodejs.org/api/events.html#emitteronceeventname-listener I dunno what to tell you; it seems like you've got some kind of concurrency problem or something.
-
A better way to accomplish this would be to watch for the disconnected event: client.logOff(); client.once('disconnected', () => { // logged off; now safe to log on again });
-
You have to use node-steamcommunity for that: https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#editprofilesettings-callback
-
Is there way to extract refreshToken from steam Client ?
Dr. McKay replied to UntitledUser's topic in General
No, it's stored encrypted and the way to decrypt it hasn't been published by anyone. -
Time error when using respondToConfirmation method
Dr. McKay replied to goodjonte's topic in node-steamcommunity
You need to use the current time, not the time from when you first added the authenticator. -
That's definitely a proxy issue. Your proxy isn't responding fast enough.
-
You exceeded Steam's login rate limit.
-
how best to use a proxy in the steam community
Dr. McKay replied to 4049_1572836826's topic in node-steamcommunity
That looks fine to me. -
If you use steam-session and log into steam-user using a refresh token, you won't need to enter a code every time. Refresh tokens are valid for 200 days.
-
RefreshToken vs loginKey vs password
Dr. McKay replied to 4049_1572836826's topic in node-steam-user
No, web cookies are shorter-lived than that. But you can always get new cookies if you still have a valid refresh token. For example: let session = new LoginSession(EAuthTokenPlatformType.WebBrowser); session.refreshToken = getMyRefreshTokenFromDatabaseOrWhatever(); let cookies = await session.getWebCookies();- 5 replies
-
- steam-sessions
- steam-client
-
(and 3 more)
Tagged with:
-
I don't have any plans to directly add automatic sentry file importing to steam-session.
-
Steam is no longer issuing login keys. steam-user 4.28.0 adds a hack that makes login key code work without any changes, but using login keys is now officially deprecated.
-
As far as I'm aware, there's no limit of accounts per IP, but there is a rate limit for logon attempts per IP. As long as you don't get rate limited, you should be good.
-
That's just the GC being slow. It's a complete mess in CS:GO. CM stands for connection manager.
-
I don't see that anything changed on how the request is made to Steam, so probably a temporary Steam issue. How long has it been going on?
-
refreshToken and steamCommunity / trade offer manager
Dr. McKay replied to 4049_1572836826's topic in General
Might've been a temporary Steam issue. It's working fine for me.- 2 replies
-
- steam-sessions
- steamcommunity
-
(and 3 more)
Tagged with:
-
Yeah, just store your SteamCommunity and TradeOfferManager objects in global variables.
- 1 reply
-
- node.js
- steamcommunity
-
(and 1 more)
Tagged with:
-
That's not a good idea. Steam will invalidate your session if your IP changes too much.
-
If steam-user connects with a WebSocket, it sends pings automatically every 30 seconds and disconnects (and emits the disconnected event) if Steam doesn't reply. If you want to make sure that the pings get sent, you can force the connection protocol using the protocol option. Example: let user = new SteamUser({ protocol: SteamUser.EConnectionProtocol.WebSocket });