Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3629
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. I believe Steam will sometimes lock down your trades while you're accepting an offer, but I'm not certain about the exact conditions.
  2. You need to call setCookies and wait for its callback before you try to do anything else.
  3. Steam is never in excellent condition, especially at the times when you're getting these errors.
  4. There should be more output.
  5. What data do you have that you want to get a rarity for? Just the name? If so then yes, you need to get the data from an inventory or from the market.
  6. The callback argument should be a callback. If you don't know what that is, I suggest that you find some online JavaScript classes.
  7. That's the line number where the error occurred. Nobody can help you any further without the code and the full error message.
  8. https://github.com/DoctorMcKay/node-steam-user#myfriends and https://github.com/DoctorMcKay/node-steam-user#getpersonassteamids-callback
  9. That is not what's crashing your application.
  10. As of node 7, you aren't supposed to call fs.writeFile without providing a callback. It doesn't have to do anything, it just has to exist.
  11. https://github.com/DoctorMcKay/node-steam-user/releases/tag/v2.15.0
  12. The first argument should be the group's SteamID.
  13. What is the stack trace when it crashes?
  14. That's probably a good way to do it, yeah. But for the record, I really think that it's useless to do this. I've never had a problem be solved with a complete reconnect.
  15. No. friendsList is emitted after logon. Once that's fired, you can access myFriends to see who invited you (value would be RequestRecipient).
  16. Detect a group invite using: https://github.com/DoctorMcKay/node-steam-user#grouprelationship Respond to an invite using: https://github.com/DoctorMcKay/node-steam-user#respondtogroupinvitegroupsteamid-accept
  17. Why do you want to reconnect? I don't see any reason you'd want to do this. If you need to renew your web session, just use webLogOn. That said, you can reconnect. To do that, you need to wait for the disconnected event to fire before you try to log on again.
  18. Nicknames are not currently available. If this would be helpful to you, I can try to get around to it tonight.
  19. On your local PC it should be your private IP, but not 127.0.0.1.
  20. Are you actually trying to use 127.0.0.1 as your local address, or is that just a placeholder for this post?
  21. All of your everything is super outdated. Update. Specifically to node.js 4.0.0 or newer, and as new of npm as you can get. You can install the latest stable 64-bit version for Linux using: wget -qO- https://www.doctormckay.com/installnode.sh | /bin/bash Make sure you execute that somewhere writable as root as it needs to download a file to disk.
×
×
  • Create New...