Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3575
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. It's in their persona_state_flags. You can see the available flags here. So, you'd want to check if (user.persona_state_flags & SteamUser.EPersonaStateFlag.ClientTypeMobile)
  2. No, there is no such function as declineConfirmationForOffer. If you want to accept a given offer by ID, you'll need to first retrieve it using getOffer.
  3. You need to research how asynchronous code works in JavaScript.
  4. Before calling webLogOn, you need to check if client.steamID is set. If it isn't, then you aren't connected and you'll need to reconnect first.
  5. No.
  6. For most free games other than TF2, you need to request a license before you can play it.
  7. Your package.json is malformed. It looks like you just glued package-lock.json and package.json together. Don't do that. Get rid of the second dependencies section.
  8. You need to run npm install in the folder where your bot code is located. If you didn't add steam-user to your package.json, then you'll need to use npm install steam-user.
  9. You'd have to split your bots into a separate application. You could communicate between the two using TCP or HTTP, among other things.
  10. Dunno what to tell you. You're connecting to Steam servers, but they're telling you to try a different one.
  11. Please explain how you fixed it, for future people who might have the problem.
  12. You didn't install to the right place.
  13. Show your code, please.
  14. Make sure api.steampowered.com isn't being blocked on your network, maybe.
  15. Sorry, I could have been a little clearer. Not event callbacks, those are (mostly) unchanged. Callbacks to functions like getPersonas is what I'm talking about. All the changes in v4 can be found here.
  16. Should work. Are you trying to retrieve the captcha from the same IP as you tried to log on with? Seems like Steam is checking to make sure they match before serving the correct captcha image.
  17. TryAnotherCM means the server you connected to isn't accepting connections at this time. Seems like Steam was just down when you tried to log on. Can you try again now?
  18. npm install
  19. You need to update your code for v4. The first argument to all callbacks is now err.
  20. If the steamGuard event is emitted and lastCodeWrong is true, then you should delay 30 seconds before you generate and return a code.
  21. loggedOn won't be emitted unless the logon was successful.
  22. once is your problem. It'll only be fired once, then the listener is removed. Also, promptSteamGuardCode has no function as of v4.
  23. Then you didn't bind the listener at the right time.
×
×
  • Create New...