ThePlata
Member-
Posts
8 -
Joined
-
Last visited
Everything posted by ThePlata
-
Question Need help getting names of all available games on steam account
ThePlata replied to ThePlata's topic in node-steam-user
I figured a way to do it. Thanks -
Question Need help getting names of all available games on steam account
ThePlata replied to ThePlata's topic in node-steam-user
Yes you're right. So what you're suggesting it I store the values in an array and res.send it once? Wouldn't it be the same since you're still looping it? -
How do I get the names of all available games on steam displaying on the website? Here's my code. It just displays a blank page for like 5 seconds and displays an "Already logged on, cannot log on again" error. How do I properly display it? client.on("appOwnershipCached", () => { let gameArr = client.getOwnedApps(); client.getProductInfo( gameArr, [], (err, apps, packages, unknownApps, unknownPackages) => { for (var appid in apps) { res.send(apps[appid].appinfo.common.name); } } ); });
-
Question Why is apps returning null in getProductInfo?
ThePlata replied to ThePlata's topic in node-steam-user
Ahhhhh, this is why it's happening. I'll try it again once I get back home. Thanks -
Question Why is apps returning null in getProductInfo?
ThePlata replied to ThePlata's topic in node-steam-user
I'm currently using "steam-user": "^4.0.0-beta.5"". I downloaded it using NPM -
Question Why is apps returning null in getProductInfo?
ThePlata replied to ThePlata's topic in node-steam-user
Nothing seems to be working for me. When I try client.picsCache, it returns { changenumber: 0, apps: {}, packages: {} } which means my account doesn't have any games at all. How is this possible? -
Question Why is apps returning null in getProductInfo?
ThePlata replied to ThePlata's topic in node-steam-user
This is really weird. When I console log apps, it'll return null but when I console log packages, it returns the exact same output as what you have shown above. Is this some kind of a bug? -
Apps in getproductinfo is returning null but not when I try to access from package. Is something wrong? Is it because I download the dependencies using npm?