Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3392
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Yes, if the offer was actually accepted then it will be emitted on the next poll.
  2. You should be using the receivedOfferChanged event as a backup, as Steam can give errors when you accept even when it goes through.
  3. It depends on why you were disconnected. If the error event was emitted then it was an unrecoverable disconnection and you need to reconnect yourself. If the disconnected event was emitted instead, then steam-user will automatically reconnect. Basically, you just shouldn't webLogOn if you aren't currently connected.
  4. You got disconnected from Steam, and that's why the session expired.
  5. http://cwbuecheler.com/web/tutorials/2013/javascript-callbacks/
  6. You're calling webLogOn while you aren't logged onto Steam.
  7. Your clock is wrong, your secret is wrong, or you're trying to reuse a code. I see that you're trying to get the time offset, but what you're doing won't work as you aren't waiting for the callback. Please read a bit about how asynchronous JavaScript works. If you want the time offset check to work, then you need to put everything inside the callback of getTimeOffset.
  8. You either aren't using steam-tradeoffer-manager, or you aren't setting it up properly. TradeOfferManager#setup() doesn't exist.
  9. You can use getOffersContainingItems to see if there are any offers containing a particular item, and if yes, then move on to the next one. Or just store the asset IDs yourself so you don't reuse them.
  10. Either your secret is wrong, or your clock is wrong.
  11. You need to wait until the loggedOn event is emitted.
  12. Dr. McKay

    Node 6.0.0

    Yeah, there shouldn't be any compatibility issues.
  13. If you want your own profile name, just use the accountInfo property (and the accountInfo event).
  14. The names are the player_name property in each object in the array provided in the callback.
  15. client.on('friendRelationship', function(steamID, relationship) { if (relationship == SteamUser.Steam.EFriendRelationship.RequestRecipient) { client.addFriend(steamID); } }); You can use getPersonas to get names and other profile data.
  16. https://github.com/DoctorMcKay/node-steam-user#friendrelationship
  17. What is "this" that you downloaded?
  18. Gonna need some more information than that.
  19. Using a bot and a real phone to handle confirmations at the same time is asking for trouble.
  20. It's possible to extract that data from a backup of your phone. Google around a little bit, I'm not 100% certain how to do so myself as I've never needed to.
  21. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback
×
×
  • Create New...