Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3398
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. 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.
  2. The callback argument should be a callback. If you don't know what that is, I suggest that you find some online JavaScript classes.
  3. That's the line number where the error occurred. Nobody can help you any further without the code and the full error message.
  4. https://github.com/DoctorMcKay/node-steam-user#myfriends and https://github.com/DoctorMcKay/node-steam-user#getpersonassteamids-callback
  5. 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.
  6. https://github.com/DoctorMcKay/node-steam-user/releases/tag/v2.15.0
  7. The first argument should be the group's SteamID.
  8. 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.
  9. No. friendsList is emitted after logon. Once that's fired, you can access myFriends to see who invited you (value would be RequestRecipient).
  10. 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
  11. 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.
  12. Nicknames are not currently available. If this would be helpful to you, I can try to get around to it tonight.
  13. On your local PC it should be your private IP, but not 127.0.0.1.
  14. Are you actually trying to use 127.0.0.1 as your local address, or is that just a placeholder for this post?
  15. 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.
  16. https://steamcommunity.com/mobileconf/conf?p=deviceid&a=steamid&k=requestkey&t=timestamp&m=android&tag=conf
  17. 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.
  18. 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.
×
×
  • Create New...