Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3398
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. When an offer is countered, the original goes into state 4, and a new, unlinked offer is created and sent to you. It shows up in the newOffer event. There isn't any way to link a specific offer to its counter.
  2. Your accountid is a string and not a number. While that should probably be allowed, that's currently not supported. I've made a note of this.
  3. Or to have one server with several IPs and change the localAddress.
  4. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#getescrowdurationsteamid-token-callback
  5. Yes. Offer data is stored in poll data, so as long as you're saving and restoring poll data, then the offer's data should be available forever.
  6. I've never experienced a persona data being unavailable. Is there any specific condition which makes it unavailable, or are you talking about just regular Steam failures?
  7. If you're sending like 20 offers per second then there might be an issue, but I highly doubt you have that kind of volume. It's not difficult to just manually download https://steamcommunity.com/profiles/[steamid]/inventory/json/[appid]/[contextid]in whatever language and parse it.
  8. Two things: Sometimes confirmations just don't show up at all. That's just Steam being Steam. See #27. 2000ms is really low for polling. The recommended minimum is 10,000ms for a reason.
  9. You'd need probably 5 IPs. Not necessarily 5 bots, but 5 IPs. You also don't really need a bot to get an inventory.
  10. You need to confirm them. You can use node-steamcommunity's confirmation stuff for this.
  11. It depends on how frequently you'll need to load inventories. If you need to load more than say 2 inventories per minute, you'll get rate-limited pretty hard if you try to do that from one IP.
  12. No, there's a device ID parameter in the URL for all confirmation HTTP requests. As I said, if you're using my libraries then they transparently take care of it for you.
  13. I don't imagine there's a massive difference unless you're doing heavy overhead tasks.
  14. That error means that your account is limited. Steam was incredibly, incredibly broken yesterday and the night before and was limiting people it shouldn't have been. If your account shouldn't be limited, then try logging into it from a real Steam client, then restart your bot.
  15. To be more specific (and I should really make some kind of wiki with this information), classid and instanceid are used to identify a description, not an item. A description is the item's display information. Two identical items will most likely have identical classid/instanceid; this means that using classid and instanceid to track a specific unique item really won't work. It would be like trying to use a car's make, model, and color to track that unique car. Sure you'll get close, but you won't always find that exact car. You want its license plate or VIN for that (assetid).
  16. I haven't seen any issues like this. What's your polling interval set to? Can you attach a listener to the "debug" event and print that to the console? manager.on('debug', console.log);
  17. var offer = manager.createOffer("[U:1:46143802]"); offer.addMyItem({"appid": 440, "contextid": 2, "assetid": "1234567890"}); offer.send("Hi there", "KYworVTM", function(err, status) { if (err) { console.log(err); } else { console.log("Offer #" + offer.id + " " + status); } }); Something like that, where [u:1:46143802] is my SteamID and KYworVTM is my trade token.
×
×
  • Create New...