Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3398
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Set a language in your constructor if you haven't already, and then the item should have a name property you can check.
  2. Data types shouldn't matter. The module should convert everything internally for you. Are you absolutely sure you're using asset IDs which are owned by the account you're logged into? Maybe you mixed up some accounts?
  3. It usually helps to print out values of variables when debugging. In this case, I suspect one of appid, contextid, or assetid is undefined or not the value you are expecting.
  4. If you want to do anything that limited users can't do, then you need to spend $5 on Steam.
  5. https://github.com/DoctorMcKay/node-steam-user#myfriends
  6. "Currencies" are a weird thing that I don't think anyone except Spiral Knights uses.
  7. You must use assetid. You can't use classid or instanceid when sending a trade offer.
  8. Never throw away an error. Check err before you try to do anything. Also, I sincerely hope that isn't your actual secret.
  9. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#sessionexpired When your session expires, just log in again. If you logged in via steam-user, call webLogOn again. If you logged in via steamcommunity, call login again.
  10. There is no way to do this. You can parse the CS:GO item schema that ships with the game, but I don't believe it'll get you what you want.
  11. Use node-steamcommunity for that: https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamGroup#joincallback
  12. Right. If you were using node-steam-user then just using offer.partner would work, but since you're using node-steam you need to convert it to a string.
  13. Once you're logged in, you need to use the same IP for all your requests.
  14. offer.addMyItem(inventory) inventory here is an array of items. If you want to grab the first item from your inventory then use inventory[0].
  15. You need to confirm the offer. https://dev.doctormckay.com/topic/289-trading-and-escrow-mobile-trade-confirmations/
  16. That looks right to me. Are you friends with the people you're requesting data for?
×
×
  • Create New...