Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3408
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. 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.
  2. Sleeping won't work. You need to use setTimeout to delay asynchronously. Delaying synchronously breaks pretty much everything, always.
  3. 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.
  4. 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.
  5. 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.
  6. Your getGameItems function is probably not clearing an array or something between requests.
  7. Dr. McKay

    use proxy

    Are you providing a protocol, like "http://"?
  8. Probably because you're using profileSettings and not uploadAvatar.
  9. 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.
  10. Sure would be nice to know what error.
  11. 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.
  12. Sentry files do not expire. I don't know about what SteamKit calls loginKeys but it's probably named similarly. Steam calls them login_keys on the wire.
  13. Please read the documentation, specifically the options.
  14. You can call getExchangeDetails at any time after the trade is accepted, even a year afterward.
  15. It timed out while contacting Steam. That happens sometimes. Either Steam is having trouble or your network is having trouble.
  16. No, timed polling remains enabled (unless you disable it manually). Passing a SteamUser just triggers polls more quickly after specific actions happen.
×
×
  • Create New...