Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3659
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. 403s indicate that Steam has blocked your IP due to excessive requests. You need to slow down your request rate, or distribute it between multiple IP addresses.
  2. You could try Codecademy to learn JavaScript, and Stack Overflow to ask your general JavaScript questions.
  3. You can't just call webLogOn(), you need to call it as a method of a SteamUser object.
  4. You can't increase the "amount" of a non-stacked item. If you want to add multiple cases, you need to call addItem for each individual case object.
  5. https://github.com/DoctorMcKay/node-steam-user#weblogon
  6. The region will be fixed when there's time to fix it.
  7. There are pretty much two things you can do. Cancel unknown offers in unknownOfferSent and hope that the user doesn't accept it before you can cancel it (and if they do, fix it manually) Include some kind of internal identifier in the trade offer message and use that to track offers instead of (or in addition to) the offer ID
  8. You're calling offer.accept for every incoming offer. You need to add some checks there to make sure it only accepts offers you want to accept.
  9. No, polling uses the WebAPI which isn't IP rate-limited. Hitting steamcommunity.com is what gets you limited (e.g. inventories).
  10. Steam will automatically block your IP if you hit them too often, yes.
  11. Use http://is.steam.rip/api/v1/?request=GetAllRegionData and ignore region 6.
  12. You'll still get crashes if you aren't checking whether you're actually connected to Steam. Your socket hang up error is indicative of network issues on your end.
  13. That error is because your bot got disconnected from Steam and you tried to call webLogOn, which only works if you're connected.
  14. I'm not sure what you're asking here. Limits I can recall off the top of my head are max 30 active sent offers at one time, max 5 active sent offers to one user at one time, and various IP rate-limits which should only affect offer.send() and offer.getReceivedItems().
  15. You really aren't meant to do it that way. That said, this is really, really bad and really, really horrible, but will work: var offer = manager.createOffer("[U:1:1]"); offer.id = 1; offer.state = 3; offer.tradeID = your_trade_id; offer.getReceivedItems((err, items) => { // as I said, horrible. });
  16. There isn't any way besides just using a bunch of IP addresses.
  17. Your web session is expiring. When you get the "Not Logged In" error you should call client.webLogOn() (provided you're still connected to Steam). It doesn't hurt to call it periodically (say, every hour) either.
  18. https://github.com/SteamRE/SteamKit/blob/master/Resources/SteamLanguage/enums.steamd#L14-L32
  19. Just to clarify, the callback is firing and err and status are both undefined, not null? What's offer.id? What version are you on?
  20. Yes, that's your best bet. You can ignore typing events in node-steam by checking the chatEntryType.
×
×
  • Create New...