Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3545
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. https://github.com/DoctorMcKay/node-steam-user#myfriends and https://github.com/DoctorMcKay/node-steam-user#getpersonassteamids-callback
  2. That is not what's crashing your application.
  3. 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.
  4. https://github.com/DoctorMcKay/node-steam-user/releases/tag/v2.15.0
  5. The first argument should be the group's SteamID.
  6. What is the stack trace when it crashes?
  7. 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.
  8. No. friendsList is emitted after logon. Once that's fired, you can access myFriends to see who invited you (value would be RequestRecipient).
  9. 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
  10. 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.
  11. Nicknames are not currently available. If this would be helpful to you, I can try to get around to it tonight.
  12. On your local PC it should be your private IP, but not 127.0.0.1.
  13. Are you actually trying to use 127.0.0.1 as your local address, or is that just a placeholder for this post?
  14. 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.
  15. https://steamcommunity.com/mobileconf/conf?p=deviceid&a=steamid&k=requestkey&t=timestamp&m=android&tag=conf
  16. The easiest way to check if you're currently logged onto Steam is to see if client.steamID is null. If it is, then you're not connected.
  17. loggedOn will never be emitted for an eresult that isn't 1 (OK). disconnected or error will be emitted for failed logon attempts. You can log into Steam with two clients at once ever since in-home streaming came out.
  18. They can change, e.g. StatTrak/Strange items that reset their counters on trade. There are also some other instances where they can change unexpectedly.
  19. That could be added, yeah. It'd be a new method if I do add it though, for compatibility. Not sure when I'd have the time to work on adding it.
  20. Neither. Just wrap rec[0].id in brackets.
×
×
  • Create New...