Jump to content
McKay Development

ThePlata

Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by ThePlata

  1. 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?
  2. 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); } } ); });
  3. Ahhhhh, this is why it's happening. I'll try it again once I get back home. Thanks
  4. I'm currently using "steam-user": "^4.0.0-beta.5"". I downloaded it using NPM
  5. 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?
  6. 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?
  7. 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?
×
×
  • Create New...