-
Posts
6 -
Joined
-
Last visited
Reputation Activity
-
UntitledUser reacted to rebortoaga in Memory leak
Hello, I use Steam-User without any other functions, I have a memory leak after 3-12 hours of work, I mainly use these methods:
new SteamUser({ enablePicsCache: false, renewRefreshTokens: true, httpProxy: proxy, saveAppTickets: false }); client.logOff client.logOn client.once('disconnected' client.setOption("httpProxy" client.setPersona(SteamUser.EPersonaState.Online) client.once('loggedOn' client.gamesPlayed(games) client.on('error' client.on('refreshToken' client.getUserOwnedApps client.requestFreeLicense -
UntitledUser reacted to flameoflust69 in requestRichPresence returns empty object
Fixed this by updating the schema steammessages_clientserver_2.json
"CMsgClientRichPresenceInfo": { "edition": "proto2", "fields": { "rich_presence": { "rule": "repeated", "type": ".CMsgClientRichPresenceInfo.RichPresence", "id": 1 } }, "nested": { "KV": { "fields": { "key": { "type": "string", "id": 1 }, "value": { "type": "string", "id": 2 } } }, "RichPresence": { "fields": { "steamid_user": { "type": "fixed64", "id": 1 }, "rich_presense": { "rule": "repeated", "type": ".CMsgClientRichPresenceInfo.KV", "id": 3 } } } } },
And make changes for requestRichPresence inside friends.js because it returns array of object now not bytes
let response = {}; body.rich_presence = body.rich_presence || []; for (let rp of body.rich_presence) { let kv = rp.rich_presense; if (!kv || !rp.steamid_user || kv.length == 0) { continue; } response[rp.steamid_user] = { richPresence: kv, localizedString: null, }; } resolve({users: response});
-
UntitledUser reacted to 4049_1572836826 in Non-working cookies
Browser script:
document.cookie = 'steamLoginSecure=xxxxxxxxxxxxxxxxxxxxxxx; expires=Fri, 02 Jun 2023 10:14:12 GMT; path=/';
Node script with steam-session
log(`Generating cookie: ${token}`, 'info', 'steam-session', true, id) const session = new LoginSession(EAuthTokenPlatformType.WebBrowser) session.refreshToken = token const cookie = await session.getWebCookies() log(`Cookie: ${cookie}`, 'info', 'steam-session', true, id)