Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3590
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. It probably has something to do with the reputation of your IP, dunno.
  2. loadUserInventory has been deprecated for years. You should be using getUserInventoryContents.
  3. Yes.
  4. It's definitely stricter, but it seems to be more than 500/day for me.
  5. Yes, Steam's rate limiting is more strict now. You need to make fewer requests or use more IPs.
  6. The new endpoint has last_assetid, which you should pass as start_assetid for the next request.
  7. Off the top of my head, use start_assetid I think.
  8. Looks like your assetIds variable contains an array of arrays.
  9. async/await doesn't work like that. You'd need to wrap the entire call in a promise and resolve the promise when your callback is done.
  10. This isn't a supported use-case.
  11. I'm not aware of any limits imposed as a result of making trades too quickly, just limits on how many web requests you can make.
  12. You can't. It's not possible to do that kind of thing using the API.
  13. You definitely would want to avoid calling getUserInventoryContents too frequently to avoid Steam rate limiting you, but it shouldn't crash in any case.
  14. What have you tried?
  15. https://github.com/DoctorMcKay/node-steam-user#getpersonassteamids-callback
  16. It shouldn't crash. What error message does it crash with?
  17. Like their Steam profile name, or the nickname you set for them on your account?
  18. Calling getUserDetails is the correct way to check. You'll still get an error if the token is wrong, but not if you're friends with the user.
  19. That could be any number of things, likely coming from a steam-user method.
  20. New version is up: https://github.com/DoctorMcKay/node-steam-session/releases/tag/v0.0.3-alpha
  21. https://github.com/DoctorMcKay/node-steam-user/wiki/SteamChatRoomClient#ackfriendmessagefriendsteamid-timestamp
  22. Not yet, but it will. Maybe this is a little vague, I'll try to rewrite it. This is only talking about a case where you supply a token that wasn't generated using EAuthTokenPlatformType.SteamClient. If the token is invalid for any other reason, you'll get the normal error event with an EResult value (probably InvalidPassword, but I haven't checked).
  23. access_token (client._logOnDetails.access_token) and refreshToken are the same thing. The field in the logon message is named access_token, but steam-user accepts it as refreshToken to make it less confusing which type of token you need to supply (since steam-session returns both an access token and a refresh token). As far as I can tell, the refresh token you receive from steam-session is good for the full 200 days, so you can just keep using it over and over. I'm not aware of a way to get a new refresh token without going through the entire auth flow again. I wouldn't be surprised in the slightest of the official Steam client just pops up the login flow again in 200 days. It's up to you how you store your tokens. Encryption at rest is rarely a bad idea, but it's also pretty useless if you're also storing the keys alongside the encrypted data, for example. Sentry files aren't encrypted either, they're just blobs of random binary data by design.
  24. What version of node and steamcommunity are you running?
×
×
  • Create New...