Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3658
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. You can't. You can add a friend via steamcommunity, however.
  2. Read the documentation please. There are events for everything you just described.
  3. You should make it stop restarting the script a lot of times.
  4. Use steamID.toString() instead of JSON.stringify.
  5. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback
  6. The steamID property will be null if you aren't connected. It'll be a SteamID object if you are.
  7. Assuming all items are CS:GO items... var offer = manager.createOffer("https://steamcommunity.com/tradeoffer/new/?partner=123456&token=xxxxxx"); offer.addMyItems([ { "appid": 730, "contextid": 2, "assetid": "6908727870" }, { "appid": 730, "contextid": 2, "assetid": "6901768067" } ]); offer.addTheirItems([ { "appid": 730, "contextid": 2, "assetid": "847548541" }, { "appid": 730, "contextid": 2, "assetid": "325415748" } ]); offer.send(function(err, status) { if (err) { throw err; } console.log("Offer #" + offer.id + " is now " + status); });
  8. Just call getReceivedItems after the offer is accepted.
  9. Just keep trying to accept it. As far as I can tell, error 28 just means Steam is being bad.
  10. The API isn't going anywhere.
  11. Yeah it only happens when an HTTP request fails. If you aren't making requests then it won't be emitted.
  12. Don't install it globally.
  13. I don't know the specific number.
  14. There might be some confusion here. The expires property is Steam's expiration date, which is always 14 days from creation time and can't be changed. cancelTime works independently of it.
  15. I started working on that some time ago but I had to put it on hold. Maybe I'll get around to it soon. Pull requests are always welcome.
  16. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#sentofferchanged https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#receivedofferchanged
  17. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#sessionexpired
  18. The limit is higher than 2 per minute.
  19. I... I don't even know what you did here. Did you copy the implementation from the code and paste it? Why??
  20. Using a bunch of sockpuppet accounts to fake votes sounds like a good way to get yourself banned.
  21. I think that's a very, very bad idea.
  22. I don't think bot-voting is a terribly great idea.
  23. Yes, it is always a bad idea. You should check the item's name to see if it's a key.
×
×
  • Create New...