Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3545
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. No, not really. I see in your output that tradable is also false (which obviously cannot be true if it's in a trade offer). You may consider just failing the entire trade and trying again later if any item has that property as false.
  2. I can't reproduce this. You say it only happens sometimes, not all the time for the same item?
  3. You can get your friends list from the myFriends property, by enumerating the object and pulling SteamIDs which have a friend relationship of Friend, example: Object.keys(user.myFriends).forEach(function(steamid) { if (user.myFriends[steamid] == SteamUser.EFriendRelationship.Friend) { // this guy is a friend } }); You can pretty easily push those SteamIDs into an array and then pull a random value from the array.
  4. It's possible Steam occasionally returns bad information (wouldn't be unheard of). It would be more helpful to have a full json dump of the item in question when this happens.
  5. The npm name is just steamcommunity.
  6. Correct. You can't get new secrets from Steam without disabling and re-enabling.
  7. node-steamstore has a method which retrieves that URL. But yes, please do open an issue on GitHub (linking to this thread) about this as there should be some level of support for distinguishing family-shared games.
  8. Are you using the same account in two places?
  9. https://httpstatuses.com/429 Slow down.
  10. I haven't had a chance yet.
  11. There's nothing provided by the module at this time. In my personal opinion, checking for that warning is useless.
  12. No, sorry, I can't write the code for you.
  13. You'd need to use node-steam-user for that, node-steamcommunity wouldn't work. Look around for the invite-related events.
  14. It's been experienced that Steam just won't send codes to some numbers. I'd suggest contacting Steam Support.
  15. It's not possible to get a listing of all items from Steam economy. The closest you can get is scraping the market.
  16. No, as there's no requests to Steam involved in just creating a TradeOffer object. It all happens locally in memory, up until you send it (or call getUserDetails).
  17. itemsToGive and itemsToReceive are both arrays. If you don't know what this means, please take some online classes on JavaScript.
  18. You can download specific files for a game (like items_game.txt) using node-steam-user.
  19. Lowercase the input first: msg.toLowerCase()
×
×
  • Create New...