Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3389
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. The first argument to the callback is status, not receivedItems.
  2. I'm not sure I follow. What does haven't a manifest enable that you couldn't already do?
  3. You'll need to Google how to add a network interface for your particular operating system.
  4. https://steamerrors.com/16 No way to fix Steam timeouts. The only way to make the event faster is to lower your poll interval.
  5. The undefined is coming from this line: console.log("Logged into Steam".green); because green is not a standard property of strings (it's provided by some module). You're getting Not Logged In because you're trying to do web-based stuff before webSession is emitted and subsequently setCookies is called. The earliest safe time to do web-based stuff is right below where you call setCookies.
  6. There is no way to represent a SteamID as a number in JavaScript, period. If you want to validate an individual SteamID from input, you can use regex: str.match(/^76561\d{12}$/)
  7. JavaScript does not have integers. It only has double-precision floating-point numbers, which can only safely represent integers up to 2^53 - 1. Consequently, you can't have a SteamID as an integer, only as a string.
  8. Are you using the same modules to confirm trades on both devices? I'd assume you are, but it can't hurt to make sure. If you're using the same modules, code, and account, then there shouldn't be a problem...
  9. It shouldn't be a problem as long as you aren't also trying to confirm stuff on a phone.
  10. This won't work because you're calling addMyItems on a single item. You should use addMyItem instead.
  11. Sounds like you don't have a network interface set up for that IP.
  12. You can only cancel an offer once. There's no limit on how many offers you can cancel on your account, though. If you send and cancel a million offers they might take notice.
  13. You aren't calling any changeEmail function, you're only listening for a (nonexistent) changeEmail event.
  14. That's the correct way to do it. Make sure you aren't trying to do any authenticated stuff before the webSession event gets emitted.
  15. There isn't currently a way to get incoming friend requests using node-steamcommunity. Is this something you need? If you're also using node-steam-user then you can get invites from there.
  16. It may not have anything to do with an avatar, but I couldn't tell you why there's a discrepancy.
  17. That's correct. There's no way, using node-steam-user, to decrypt filenames without parsing the manifest. I don't have any plans to support this as I don't see a valid use-case for that.
  18. The error seems to be originating in the dota2 module, which I can't support.
  19. manager.offer doesn't exist. You want this: manager.on('receivedOfferChanged', (offer) => { community.postUserComment(offer.partner.toString(), 'Test'); });
  20. You need to call community.setCookies inside of SteamUser's webSession event in order to get steamcommunity to use a login session.
×
×
  • Create New...