-
Posts
3408 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
getExchangeDetails.
-
Discussion how can i get the token in the offerURL
Dr. McKay replied to Ferriar_幽助's topic in node-steam-tradeoffer-manager
You want to parse the URL? https://nodejs.org/api/url.html -
Depending on what library you're using, there might be a method to get contexts. That said, it's likely any items you're interested in have a static, global context ID. For example, all current Valve games (TF2, CS:GO, etc) have a single context ID of 2. Steam Community items (emoticons, backgrounds, etc.) have a context ID of 6.
-
Question Already logged on, cannot log on again
Dr. McKay replied to Frohser's topic in node-steam-user
Sleeping won't work. You need to use setTimeout to delay asynchronously. Delaying synchronously breaks pretty much everything, always. -
Question How to check, if a user is in a specific group?
Dr. McKay replied to SayWhat's topic in node-steam-user
This is surprisingly difficult. You can't do it through node-steam-user at all, but you can do one of the following: Check the group members list XML to see if they're in thereCheck the user's profile XML to see if the group is listedBoth of these endpoints are deprecated, but neither has a replacement. Valve. -
Discussion how can i get the token in the offerURL
Dr. McKay replied to Ferriar_幽助's topic in node-steam-tradeoffer-manager
You should collect the token by asking the user for their trade URL. -
Question Client.users after the bot fully connected?
Dr. McKay replied to Silentz0r's topic in node-steam-user
Notice in the documentation that the users property isn't updated until after the user event finishes? The process.nextTick call waits until the next tick of the Node.js event loop, after the users property has been updated. -
Question Client.users after the bot fully connected?
Dr. McKay replied to Silentz0r's topic in node-steam-user
This is probably a pretty common case that should be supported natively in the module. Update steam-user to v3.22.0 then use the friendPersonasLoaded event. -
Not at this time.
-
Question Sending multiple trade instead of one
Dr. McKay replied to rQwk's topic in node-steam-tradeoffer-manager
Your getGameItems function is probably not clearing an array or something between requests. -
Probably because you're using profileSettings and not uploadAvatar.
-
Question Sending multiple trade instead of one
Dr. McKay replied to rQwk's topic in node-steam-tradeoffer-manager
Show your code please. -
I don't think you can get from Steam the SteamID of the server a player is on, but if you can obtain their server's IP (which I think you can't do for CS:GO) then you can ascertain the SteamID from that.
-
Sure would be nice to know what error.
-
Question How to bypass inviteToGroup restriction [2k17]
Dr. McKay replied to MaSTeR's topic in node-steam-user
Well yeah, that's how you "bypass" needing to be friends with someone to invite them to your group.... you become friends with them. That's not a bypass, that's doing it how you're supposed to do it. -
Question How to bypass inviteToGroup restriction [2k17]
Dr. McKay replied to MaSTeR's topic in node-steam-user
You don't. -
Please read the documentation, specifically the options.
-
It timed out while contacting Steam. That happens sometimes. Either Steam is having trouble or your network is having trouble.
-
Question about pollInterval and node-steam-user
Dr. McKay replied to Axle's topic in node-steam-tradeoffer-manager
No, timed polling remains enabled (unless you disable it manually). Passing a SteamUser just triggers polls more quickly after specific actions happen.