Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3403
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback
  2. The steamID property will be null if you aren't connected. It'll be a SteamID object if you are.
  3. 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); });
  4. Just keep trying to accept it. As far as I can tell, error 28 just means Steam is being bad.
  5. Yeah it only happens when an HTTP request fails. If you aren't making requests then it won't be emitted.
  6. 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.
  7. 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.
  8. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#sentofferchanged https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#receivedofferchanged
  9. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#sessionexpired
  10. I... I don't even know what you did here. Did you copy the implementation from the code and paste it? Why??
  11. Using a bunch of sockpuppet accounts to fake votes sounds like a good way to get yourself banned.
  12. I don't think bot-voting is a terribly great idea.
  13. Yes, it is always a bad idea. You should check the item's name to see if it's a key.
  14. https://www.google.com/search?q=node.js+screenshot&ie=utf-8&oe=utf-8
  15. All you have to do is call startConfirmationChecker first. You can do it synchronously.
  16. You don't want to use instanceid to identify a type of item. See here: https://dev.doctormckay.com/topic/332-identifying-steam-items/
  17. It does take the cookies, but calling manager.setCookies is still important as that's when it grabs the API key.
×
×
  • Create New...