Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3545
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. No, bot voting is not something I will support.
  2. Do need to also check the message if you want it to respond differently to different messages.
  3. Creating the offer is probably the easiest way to do it. You don't have to send the offer.
  4. No idea. Seems to work fine here.
  5. Sounds like your Steam account is limited.
  6. 5 seconds should be reasonably safe. 10 seconds is definitely safe.
  7. The first argument to the callback is status, not receivedItems.
  8. I'm not sure I follow. What does haven't a manifest enable that you couldn't already do?
  9. Lower your poll interval, at the expense of more requests to the Steam API.
  10. You'll need to Google how to add a network interface for your particular operating system.
  11. https://steamerrors.com/16 No way to fix Steam timeouts. The only way to make the event faster is to lower your poll interval.
  12. 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.
  13. 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}$/)
  14. 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.
  15. 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...
  16. It shouldn't be a problem as long as you aren't also trying to confirm stuff on a phone.
  17. This won't work because you're calling addMyItems on a single item. You should use addMyItem instead.
  18. Sounds like you don't have a network interface set up for that IP.
  19. You're using node-steam-tradeoffers, which I can't support.
  20. 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.
  21. You aren't calling any changeEmail function, you're only listening for a (nonexistent) changeEmail event.
  22. You can also connect to MySQL using Node: https://www.npmjs.com/package/mysql
  23. 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.
  24. 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.
×
×
  • Create New...