Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3629
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Dr. McKay

    Node 6.0.0

    Yeah, there shouldn't be any compatibility issues.
  2. If you want your own profile name, just use the accountInfo property (and the accountInfo event).
  3. The names are the player_name property in each object in the array provided in the callback.
  4. 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.
  5. https://github.com/DoctorMcKay/node-steam-user#friendrelationship
  6. What is "this" that you downloaded?
  7. Gonna need some more information than that.
  8. Using a bot and a real phone to handle confirmations at the same time is asking for trouble.
  9. 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.
  10. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback
  11. if (offer.itemsToGive.length == 0 && offer.itemsToReceive.length > 0) { offer.accept(); } Use that inside of the newOffer event. If you don't know how to do that, check out the examples in the GitHub repo.
  12. Call it by its proper name, "wear value" please. You can't get it from the steamcommunity site, you have to get it from the WebAPI, which is very unreliable.
  13. It's emitted when a new offer is received. Please read the wiki.
  14. if (offer.itemsToGive.length > 0) { // There are more than 0 items in itemsToGive, so the user requested some items offer.decline(); }
  15. The profile will only show the first game, but the "recently played" section will show all of them.
  16. You can parse a JSON file in Node using just require('./file.json') It's up to you what you put in it and how you handle it.
  17. sentOfferChanged will be emitted when the offer is accepted or declined.
  18. sentOfferChanged is emitted when an offer you sent changes. receivedOfferChanged is emitted when an offer you received changes.
  19. What's wrong with the multitude of other threads you have asking this question?
  20. You're not returning in your if (err) block, so it'll continue as if nothing was wrong if there was a logon error.
×
×
  • Create New...