Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3575
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. I need to know what version of steam-user.
  2. What versions of node and the module are you using?
  3. My mistake, I didn't pay close enough attention to your callback. The first argument to the callback function needs to be err; the second is user.
  4. I don't see you ever calling setCookies on your community instance. And if you are, you have to call postGroupComment after that, not before.
  5. The easiest way I've found is to set up an HTTP server in your bot and call it using HTTP on localhost.
  6. Get rid of the object. You should just be doing this: account1.getSteamUser(account1.steamID, function (user) {
  7. You want your ID or your custom url? Those are two different things. Your SteamID is available as account.steamID. To get your custom URL, you should call getSteamUser() on your own steamID and check the custom URL in the returned object.
  8. That doesn't mean anything. All that's referring to is the fact that the function where the error was created is an anonymous function.
  9. I don't believe that data is available through steam-user, but you could get it from the GetFriendList WebAPI method.
  10. Yes. Yes. That's correct. client.steamID gets set just before loggedOn is emitted (meaning it's not null once you connect), and gets set to null just after disconnected / error are emitted.
  11. Sounds like you need to pass a callback and check if Steam is returning an error.
  12. No, that's not possible and I don't have any plans to enable automated voting.
  13. All I can figure is that you aren't referencing your config properly, and config.clanid is ending up as undefined.
  14. If you haven't disabled automatic reconnection, then you shouldn't ever need to call logOn after the first time (unless the error event gets emitted). So yeah, when you get sessionExpired just check to make sure SteamUser is connected, then call webLogOn() if it is. If it isn't, then it'll automatically log onto web when it gets connected.
  15. That error happens when you call logOn while the SteamUser instance is already connected.
  16. v4.19.10 should fix this issue, although you will also have to add the containsBbCode option, like this: client.chat.sendFriendMessage(sender, response, {includesBbCode: true});
  17. When I try to get my own bot to send that exact message using that exact code, I get RateLimitExceeded (84) every time.
  18. My guess would be that your message is just too long, and Steam is choking on it.
  19. You shouldn't use for...in to iterate over arrays. Please research iterating over arrays in JavaScript.
  20. I wouldn't try it. It might work sometimes, but it tends to be fairly unreliable.
  21. No, InvalidPassword means that your account name or password is wrong. It would be a different error if it were Steam Guard related.
  22. node-steam-user/basicbot.js at master ยท DoctorMcKay/node-steam-user (github.com)
  23. Should be fixed now.
  24. No, it doesn't work anywhere.
×
×
  • Create New...