MrPotato Posted August 19, 2018 Report Posted August 19, 2018 how can i get friends/mine games using node-steam-user? Quote
Dr. McKay Posted August 19, 2018 Report Posted August 19, 2018 https://github.com/DoctorMcKay/node-steam-user#getownedapps Quote
DalexHD Posted August 19, 2018 Report Posted August 19, 2018 Is there any way to get friends game list? I know that steam api, provides it, but if the friend has private profile (private info o ly for friends), how could I get it? Currently, before verifying my users on csgo, they need to launch csgo, and then, I can see which game is playing via playersummaries. Is there any way to bypass that? Quote
Dr. McKay Posted August 19, 2018 Report Posted August 19, 2018 No, it's not possible to get a friend's games list except through the WebAPI. Quote
MrPotato Posted August 23, 2018 Author Report Posted August 23, 2018 (edited) https://github.com/DoctorMcKay/node-steam-user#getownedappsenablePicsCache = true function login(username, password, code) { let client = new Steam.CMClient(); let user = new SteamUser(client, {enablePicsCache: true}); user.logOn({"accountName": username,"password": password, "authCode": code, promptSteamGuardCode: false}); }if im loggining from 5 accounts and do user.getOwnedApps(); on last account, it will return all games from all these 5 accounts, not from only last account. why?? Edited August 23, 2018 by FunnyCheeze Quote
MrPotato Posted August 23, 2018 Author Report Posted August 23, 2018 help. user.getOwnedApps() returns all cache games from ALL logged accounts! Quote
Dr. McKay Posted August 23, 2018 Report Posted August 23, 2018 It's not, you're doing something wrong. Quote
MrPotato Posted August 24, 2018 Author Report Posted August 24, 2018 what i can do wrong, if empty account returns array [5,7,8,90,92,205,211,215,218,219,310,410,440,480,510,564,570,575,630,635,640,730,740,745,760,761,764,765,766,767,1007,1213,1273,1840,2145,2403,4270,4940,8230,8680,8710,8730,8770,13180,13260,17505,17510,17515,17520,17525,17530,17535,17550,17555,17575,17585,17700,17705,17730,17740,18010,18030,22150,24920,27040,34120,41005,41015,41040,41080,42300,42320,42750,43210,55280,61800,61810,61820,61830,63220,70010,72310,72780,91720,92500,96810,111710,202351,202352,203300,203600,208050,212542,215350,215360,216280,216840,218800,220070,221410,223160,223240,223250,223910,224620,229950,230030,231390,233780,235780,236390,236600,236650,237410,238670,238690,238960,241100,243730,243750,244310,248210,250820,255470,258680,259080,261020,261140,261310,261820,261980,265360,266910,294420,301070,302530,302550,304930,311730,312070,313250,315420,316000,319070,320420,321770,322050,323010,332850,355840,366490,373300,374980,381690,382030,396050,399030,399080,399150,399160,399170,399190,399200,399210,399220,399290,399300,399310,399320,399330,399340,399350,399360,399370,399380,399390,399400,399440,399450,399470,399480,399490,399500,399510,399740,401530,405270,405630,406790,407350,413080,413090,413100,424690,438100,443030,443510,476580,503590,551410,568880,588460,613220,624820,733580,736120,744350,763700,795560,807210,817760,858280,875860,891390] Quote
Dr. McKay Posted August 24, 2018 Report Posted August 24, 2018 Looks like that account owns these apps, beyond the basic ones everyone owns:730 - CS:GO745 - CS:GO SDK236390 - War Thunder (free on demand)238960 - Path of Exile (free on demand)304930 - Unturned (free on demand)311730 - Dead or Alive 5 Last Round (free on demand)355840 - Survarium (free on demand)438100 - VRChat (free on demand)624820 - CS:GO - General763700 - Smart Mummy817760 - The Castle Disaster Quote
MrPotato Posted August 25, 2018 Author Report Posted August 25, 2018 (edited) NO! This is doesnt work! user.getOwnedApps() returns all cache games from ALL logged accounts!I tested:Empty profile: https://steamcommunity.com/profiles/76561198855742337/Empty profile login: testemptyaccountwithoutgamesEmpty profile password: testemptyaccountwithoutgame(you can login and check it) code: console: profile screenshot: (with steamid64, you can check console and see the same steamid64) getOwnedApps array: [5,7,8,90,92,205,211,215,218,219,310,410,440,480,510,564,570,575,630,635,640,740,760,761,764,765,766,767,1007,1213,1273,1840,2145,2403,4270,4940,8230,8680,8710,8730,8770,13180,13260,17505, 17510,17515,17520,17525,17530,17535,17550,17555,17575,17585,17700,17705,17730,17740,18010,18030,22150,24920,27040,34120,41005,41015,41040,41080,42300,42320,42750,43210,55280,61800,61810, 61820,61830,63220,70010,72310,72780,91720,92500,96810,111710,202351,202352,203300,203600,208050,212542,215350,215360,216280,216840,218800,220070,221410,223160,223240,223250,223910,224620, 229950,230030,231390,233780,235780,236600,236650,237410,238670,238690,241100,243730,243750,244310,248210,250820,255470,258680,259080,261020,261140,261310,261820,261980,265360,266910,294420, 301070,302530,302550,312070,313250,315420,316000,319070,320420,321770,322050,323010,332850,366490,373300,374980,381690,382030,396050,399030,399080,399150,399160,399170,399190,399200,399210, 399220,399290,399300,399310,399320,399330,399340,399350,399360,399370,399380,399390,399400,399440,399450,399470,399480,399490,399500,399510,399740,401530,405270,405630,406790,407350,413080, 413090,413100,424690,443030,443510,476580,503590,551410,568880,588460,613220,733580,736120,744350,795560,807210,858280,875860,891390,930400](for example user.ownsApp("480") will return true) I think the problem is cause enablePicsCache save apps info to some cache file and get it when test.js starts with cache info from another accounts. (In which I logged before this test, which have these games), so i think i need clearPicsCache method. Hope you understand me Edited August 25, 2018 by FunnyCheeze Quote
Dr. McKay Posted August 25, 2018 Report Posted August 25, 2018 I think the problem is cause enablePicsCache save apps info to some cache file and get it when test.js starts with cache info from another accounts. (In which I logged before this test, which have these games), so i think i need clearPicsCache method. I assure you that it doesn't. Quote
MrPotato Posted August 25, 2018 Author Report Posted August 25, 2018 (edited) I assure you that it doesn't. So why did i get 204 apps in empty account? What am I doing wrong? Can you test my account? login: testemptyaccountwithoutgames pass: testemptyaccountwithoutgamesupd: guard off Edited August 25, 2018 by FunnyCheeze Quote
MrPotato Posted August 25, 2018 Author Report Posted August 25, 2018 my bad.. that's steam apps! can i get appname by appid? like you? 730 - CS:GO745 - CS:GO SDK236390 - War Thunder (free on demand)238960 - Path of Exile (free on demand)304930 - Unturned (free on demand)311730 - Dead or Alive 5 Last Round (free on demand)355840 - Survarium (free on demand)438100 - VRChat (free on demand)624820 - CS:GO - General763700 - Smart Mummy817760 - The Castle Disaster Quote
Dr. McKay Posted August 25, 2018 Report Posted August 25, 2018 https://github.com/DoctorMcKay/node-steam-user#getproductinfoapps-packages-incltokens-callback Quote
Revadike Posted August 30, 2018 Report Posted August 30, 2018 Or check McKay's IRC bot script for an alternative way Quote
MrPotato Posted September 15, 2018 Author Report Posted September 15, 2018 okey, sometimes I have this: Bot gets ownedApps with an app that he does not have! (in my case PUBG's appid: 578080) returned array: [5,7,8,90,92,205,211,215,218,219,310,410,440,480,500,510,513,550,563,564,570,575,630,635,640,730,740,745,760,761,764,765,766,767,1007,1213,1273,1840,2145,2403,4000,4270,4940,8230,8680,8710,8730,8770,13180, 13260,17505,17510,17515,17520,17525,17530,17535,17550,17555,17575,17585,17700,17705,17730,17740,18010,18030,22150,24920,27040,34120,38830,41005,41015,41040,41080,42300,42320,42750,43210,55280,61800,61810, 61820,61830,63220,70010,72310,72780,91720,92500,96810,109400,111710,200110,202351,202352,203160,203290,203300,203600,206210,208050,208090,208650,208790,208791,208792,208793,208795,208796,208797,208798, 208799,208800,208806,208807,208808,208809,208810,208811,208812,208813,208814,208817,208818,212542,215350,215360,216280,216840,218230,218620,218680,218800,220070,221410,222860,223160,223240,223250,223530, 223540,223910,224620,226320,227040,227050,229950,230030,230410,231390,233780,235780,236110,236600,236650,237410,238090,238670,238690,241100,242050,243730,243750,243870,244310,248210,250820,254260,255470, 258680,259080,261020,261140,261310,261820,261980,262410,264810,265360,265630,266910,267381,271590,287920,289650,291550,294260,294420,299360,301070,302530,302550,304050,304390,304930,311340,312070,313250, 315420,316000,319070,320420,321770,322050,323010,324331,324332,324333,330960,332850,333930,335240,344600,346900,349700,356370,356472,356473,356474,356620,359550,362003,366490,368500,368870,373300,374980, 376890,381570,381690,382030,389570,391460,396050,399030,399080,399150,399160,399170,399190,399200,399210,399220,399290,399300,399310,399320,399330,399340,399350,399360,399370,399380,399390,399400,399440, 399450,399470,399480,399490,399500,399510,399680,399740,401530,401627,401634,405033,405270,405630,406790,407350,407472,407473,407530,412940,413080,413090,413100,415650,417461,417860,417962,417973,417974, 418930,420750,424280,424690,427601,429881,433850,438100,439700,443030,443510,444090,450790,455010,461960,476580,503590,530620,551410,568880,578080,588460,596350,598210,613220,622590,623990,624820,654310, 657200,666220,733580,736120,744350,795560,807210,813000,827220,858280,875860,891390,930380,930400] Account's games:https://steamcommunity.com/profiles/76561198200642377/games/?tab=all This situation occurs on 1 account out of 50. Thanks! Quote
MrPotato Posted September 16, 2018 Author Report Posted September 16, 2018 (edited) this one too: https://steamcommunity.com/profiles/76561198852898910/games/?tab=allarray: 5,7,8,90,92,205,211,215,218,219,310,410,440,480,510,564,570,575,630,635,640,730,740,745,760,761,764,765,766,767,1007,1213,1273,1840,2145,2403,4000,4270,4940,8230,8680,8710,8730,8770,13180,13260,17505, 17510,17515,17520,17525,17530,17535,17550,17555,17575,17585,17700,17705,17730,17740,18010,18030,22150,24920,27040,34120,41005,41015,41040,41080,42300,42320,42750,43210,55280,61800,61810,61820,61830,63220, 70010,72310,72780,91720,92500,96810,105600,111710,202351,202352,203300,203600,208050,212542,215350,215360,216280,216840,218620,218800,220070,221410,223160,223240,223250,223910,224620,229950,230030, 231390,233780,235780,236600,236650,237410,238670,238690,241100,243730,243750,244310,248210,250820,252490,252950,254260,255470,258680,259080,259380,259381,261020,261140,261310,261820,261980,264610, 265360,266910,267380,267381,271590,275590,286160,294420,301070,302530,302550,306690,311050,311210,312070,313250,315420,316000,319070,320030,320420,321770,322050,323010,323500,331900,332850,337660, 337661,339480,344140,348090,349830,351890,358150,359550,362003,366490,366660,366840,366841,366842,366848,366850,368870,373300,374300,374301,374980,381690,382030,384020,384021,391680,391750,396050, 399030,399080,399150,399160,399170,399190,399200,399210,399220,399290,399300,399310,399320,399330,399340,399350,399360,399370,399380,399390,399400,399440,399450,399470,399480,399490,399500,399510, 399730,399740,401530,401650,405270,405630,406790,407350,408610,413080,413090,413100,420750,422400,424690,431240,431960,433730,441600,443030,443510,450660,455130,461960,468410,476580,487210,494560, 499270,503590,545100,545990,548420,548421,548422,550140,551410,568880,578080,581450,582660,588460,588650,591710,612900,613220,622590,623990,624760,624820,657200,674940,690040,700580,733580,736120, 744350,744840,744841,795560,807210,813000,858280,875860,891390,930400 this one has PUBG (578080) in array, but in reality this game is not in the games list Edited September 16, 2018 by FunnyCheeze Quote
MrPotato Posted September 19, 2018 Author Report Posted September 19, 2018 (edited) hello? i tried login and get apps again with this account, still giving 578080 Edited September 19, 2018 by FunnyCheeze Quote
MrPotato Posted September 23, 2018 Author Report Posted September 23, 2018 okey, now i know why. bot checks apps from "recent played" too, but i need only apps from "all games" (because tab "recent played" sometimes shows games, which the user does not have [in this case: pubg]) Quote
Dr. McKay Posted September 24, 2018 Report Posted September 24, 2018 Can you please log into that account in the Steam client, open the Steam console (Win+R -> steam://nav/console), and type this: licenses_for_app 578080 Then paste the output here. Quote
MrPotato Posted September 25, 2018 Author Report Posted September 25, 2018 (edited) Can you please log into that account in the Steam client, open the Steam console (Win+R -> steam://nav/console), and type this: licenses_for_app 578080 Then paste the output here.sure, https://imgur.com/a/l7pMTwwhttps://imgur.com/a/bIW0CNv Edited September 25, 2018 by FunnyCheeze Quote
Dr. McKay Posted September 25, 2018 Report Posted September 25, 2018 If Steam doesn't report and licenses for the app, I see no reason why it would appear to be owned. Quote
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.