Jump to content
McKay Development

getOwnedApps returned null


 Share

Recommended Posts

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);
});
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...