-
Posts
3389 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question Group ID/User to its real name?
Dr. McKay replied to ScorpionOfWar's topic in node-steam-user
You can get persona data for users (including names) using getPersonas. The only way to get a group name from its SteamID (the 64-bit ID) is to parse XML, unfortunately: http://steamcommunity.com/gid/103582791429521412/memberslistxml/?xml=1 -
You're logging in anonymously, because you're using account_name instead of accountName.
-
You can't use the same 2FA code twice. That means that effectively you can't login twice within 30 seconds. That said, you don't have to. SteamUser will give you login cookies you can use with SteamCommunity. client.on('webSession', function(sessionID, cookies) { community.setCookies(cookies); });
-
https://lab.xpaw.me/steam_api_documentation.html#IPlayerService_GetBadges_v1
-
Log in again.
-
getInventoryContents with trade-active support
Dr. McKay replied to Drepic's topic in node-steam-tradeoffer-manager
There is not at this time. -
https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#getoffersfilterhistoricalcutoff-callback
-
login through oauth2 from third party website
Dr. McKay replied to Revadike's topic in node-steamcommunity
Try specifying followAllRedirects = true. Request won't follow redirects for non-GET methods otherwise. -
I don't believe that's presently available.
-
Question Error: "LoggedInElsewhere"
Dr. McKay replied to Dontcareaboutname's topic in node-steam-user
I don't know. I haven't looked into this. -
A few things: There's no need to wait for webSessions to tell Steam you're running a gameYou can use client.gamesPlayed([730]); which is a bit simpler and allows steam-user to add some additional data when helpfulYou might want to set yourself as online (setPersona) so you can see on your Steam profile whether you're actually in-game or notCard drops can take a while. How long did you wait?
-
Yes, there's nothing stopping you from running both a Discord bot and Steam bot in the same application. I don't think it's currently possible to get a friend's match status from node just yet, though.
- 1 reply
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
Question Error: "LoggedInElsewhere"
Dr. McKay replied to Dontcareaboutname's topic in node-steam-user
You need to wait some time between setting your persona to online and trying to retrieve persona data. In fact, I believe Steam should send you the persona data automatically through the user event. -
Question Error: "LoggedInElsewhere"
Dr. McKay replied to Dontcareaboutname's topic in node-steam-user
Handle the error event, reconnect, and then only relaunch after your persona data tells you that you aren't in-game anymore. -
The easiest way to determine which game a community item belongs to is to check its market_hash_name. All cards/emoticons/backgrounds have their market_hash_names prefixed with the game's appid and a hyphen (e.g. "440-SCOUT").
-
[Question] Code not working after some time anymore
Dr. McKay replied to mar71n's topic in node-steam-tradeoffer-manager
It shouldn't be possible for the callback to not fire. Please make sure your code is correct. -
[Question] Code not working after some time anymore
Dr. McKay replied to mar71n's topic in node-steam-tradeoffer-manager
You're saying that the callback isn't being fired, but there are no errors or crashes? -
They use some form of push notifications that haven't been reverse-engineered yet, and likely never will. Probably Firebase.
-
That is currently not possible.
-
https://github.com/DoctorMcKay/node-steam-user#steamguard