Panda1337 Posted May 16, 2021 Report Share Posted May 16, 2021 var client = new SteamUser({ "enablePicsCache": true }); client.logOn( client.setSentry(f), { "accountName": "123", "password": "123" } ); client.on('loggedOn', function (details) { console.log("Logged into Steam as " + client.steamID.getSteam3RenderedID()); client.setPersona(SteamUser.EPersonaState.Online, "name"); var a = client.getOwnedApps(); console.log("Has Games: " + a); }); Quote Link to comment Share on other sites More sharing options...
Panda1337 Posted May 16, 2021 Author Report Share Posted May 16, 2021 sing TCP; we rolled 86 and percent to use WS is 50 [T1] Connecting to TCP CM: 153.254.86.181:27021 [T1] TCP connection established [T1] Handled message: ChannelEncryptRequest Channel encrypt request: protocol 1, universe 1, nonce 48448ca103e796fe645de1c10d4cc79f, 0 remaining bytes Sending message: ChannelEncryptResponse [T1] Handled message: ChannelEncryptResult Sending message: ClientLogon [T1#1] Unhandled message: ClientServersAvailable [T1#1] Handled message: ClientLogOnResponse Logged into Steam as [a:1:2544999519] Sending message: ClientChangeStatus Sending message: ClientPICSChangesSinceRequest Sending message: ClientPICSProductInfoRequest [T1#1] Handled message: ClientCMList Got list of 80 WebSocket CMs, with percentage to use at 50% [T1#1] Unhandled message: ClientRequestedClientStats [T1#2] Unhandled message: ClientServersAvailable [T1] Got incomplete message; expecting 10368 more bytes [T1] Got incomplete message; expecting 10368 more bytes [T1] Got incomplete message; expecting 10368 more bytes [T1#3] Handled message: ClientPICSChangesSinceResponse [T1#3] Handled message: ClientPICSProductInfoResponse Sending message: ClientPICSProductInfoRequest [T1#4] Handled message: ClientPICSProductInfoResponse Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 17, 2021 Report Share Posted May 17, 2021 I don't know why you're calling client.setSentry() as the first argument to logOn(), but you shouldn't and because you are, you're logging on anonymously. Also, you can't use getOwnedApps before the appOwnershipCached event is emitted. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.