Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3386
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. 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.
  2. You either aren't using steam-tradeoffer-manager, or you aren't setting it up properly. TradeOfferManager#setup() doesn't exist.
  3. 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.
  4. Either your secret is wrong, or your clock is wrong.
  5. You need to wait until the loggedOn event is emitted.
  6. Dr. McKay

    Node 6.0.0

    Yeah, there shouldn't be any compatibility issues.
  7. If you want your own profile name, just use the accountInfo property (and the accountInfo event).
  8. The names are the player_name property in each object in the array provided in the callback.
  9. 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.
  10. https://github.com/DoctorMcKay/node-steam-user#friendrelationship
  11. What is "this" that you downloaded?
  12. Gonna need some more information than that.
  13. Using a bot and a real phone to handle confirmations at the same time is asking for trouble.
  14. 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.
  15. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback
  16. 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.
  17. 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.
  18. if (offer.itemsToGive.length > 0) { // There are more than 0 items in itemsToGive, so the user requested some items offer.decline(); }
×
×
  • Create New...