Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3631
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Sorry, I've really only done a minimal amount of research into how family sharing works, but off-hand I don't remember any way to retrieve an authorized-device token from Steam. I guess it must be possible considering that flow you're mentioning, but I don't know how it works.
  2. Are you calling webLogOn() anywhere in your own code?
  3. Yes, I think you've misunderstood what this module is for. When using the gamesPlayed method, the module reports to Steam that you're playing the game, but it does not actually launch the game. You won't be able to interface with the CS:GO client and read the killfeed using this module. There is probably a way to read the client console (and thus the killfeed) through a program, but I don't know how you'd want to do that offhand. If the logaddress_add command works on the client, that would probably be the best way, but I have my doubts that that'll work.
  4. Not really. I guess you should handle the error event, check whether the error message is about your proxy, and if it is then retry a few times and abort if it can't reconnect after a bunch of attempts.
  5. Glad to hear it. May I ask why you have the third line? You shouldn't need to do that.
  6. You need to set your persona state to something besides Offline in order for friends stuff to work. client.setPersona(SteamUser.EPersonaState.Online)
  7. I would guess that's because the proxy isn't able to connect so it throws up its own error.
  8. If error gets emitted, the SteamUser instance is done doing anything until you manually log it back on. Steam outages are not fatal disconnects, and if autoRelogin is left enabled then error will not get emitted when Steam goes down. Fatal disconnects are things like InvalidPassword, AccountLoginDeniedNeedTwoFactor, RateLimitExceeded, or LoggedInElsewhere. Essentially anything that isn't Fail, NoConnection, ServiceUnavailable, or TryAnotherCM is fatal.
  9. Your best bet is to try to trade the unstacked items to another account and then back again. If that doesn't auto-stack them, you're pretty much SOL.
  10. You need to check the actual relationship. You're likely causing a loop by calling addFriend, which causes friendRelationship to get emitted with relationship == Friend, which calls addFriend, which emits friendRelationship which calls addFriend which...
  11. Why are you passing null?
  12. I'm not sure what you intend to accomplish by doing this, but you would want to call gamesPlayed([]) (with an empty array) and then a few seconds later, call it again with the game(s) you want to report to Steam that you're playing.
  13. Stacking is handled by the game, not by Steam. Maybe you could stack those items in-game somehow. If not, it's possible that the game will auto-stack items when you trade them.
  14. It looks like you're sending the parameters in the URL rather than in the post body as you should be.
  15. Please give v4.19.2 a shot.
  16. For some reason, CS:GO now requires an access token to get extended information like depots. You can either use getProductAccessToken and pass the access token to getProductInfo as per the readme, or you could just pass true for the optional includeTokens parameter, like so: getProductInfo([730], [], true, (apps, packages, unknownApps, unknownPackages) => { // should contain: // packages['730'].appinfo.depots['731'] }) Please note that if you're using steam-user v4 (as you should be), the first argument to the callback is err. Edit: Also be aware that you're only going to get a token if you own CS:GO. If your account doesn't own CS:GO, you can request a free-on-demand license for it.
  17. You shouldn't need that cookie to execute an OpenID login.
  18. I don't think that's possible, unfortunately.
  19. No, just see if you can access their profile/inventory.
  20. That event is for real-time trades, which have been removed from the Steam UI. That's not for trade offers.
  21. Unless you're doing something shady, I wouldn't expect Valve to pay any mind to you.
  22. Only set Origin and Referer. Do not set Host or Cookie.
  23. That code retrieves a list of CS:GO servers and sets itself to in-game, but it doesn't join a server which is why you wouldn't see the bot in the server. It is not possible to actually join a CS:GO server from a bot, as you would have to implement VAC and nobody's been insane enough to try that.
×
×
  • Create New...