judge2020 Posted January 9, 2018 Report Posted January 9, 2018 Currently looking to use the CDN functionality provided by steam-user, as described in doc/CDN.md, and currently having some trouble getting any data as an anonymous user. Current code: steamUser.on('contentServersReady', function () { steamUser.getContentServers(function (err, servers) { console.log("Got servers!"); }); steamUser.getManifest(1, 1, 'Manifest GID', function (err, manifest) { console.log(manifest); }); }); I changed my appid, depotid, and manifest guid here for identification reasons. Manifest is `undefined`, and the error is below { Error: Fail at Object.exports.eresultError (root\node_modules\steam-user\components\helpers.js:73:12) at root\node_modules\steam-user\components\cdn.js:122:21 at Object.cb (root\node_modules\steam-user\components\messages.js:160:4) at SteamClient._netMsgReceived (root\node_modules\steam\lib\steam_client.js:170:28) at SteamClient.handlers.(anonymous function) (root\node_modules\steam\lib\steam_client.js:259:10) at SteamClient._netMsgReceived (root\node_modules\steam\lib\steam_client.js:157:26) at emitOne (events.js:116:13) at Connection.emit (events.js:211:7) at Connection._readPacket (root\node_modules\steam\lib\connection.js:50:8) at emitNone (events.js:106:13) eresult: 2 } I'm thinking this is something to do with being an anonymous user who doesn't own the appid x, and therefore can't access the depot or manifest. I didn't see anything like "anonymous usage" in the steampipe tab that may allow something like this. Any help would be appreciated, thanks! Quote
Dr. McKay Posted January 9, 2018 Report Posted January 9, 2018 No need to censor the appid/depotid/manifestid, what are they? Quote
judge2020 Posted January 9, 2018 Author Report Posted January 9, 2018 I've tried both with my own app 782440, dep 782441, manifest '1089036420532751220' and the free game Alien Swarm, passing the manifest ID from SteamDB. Both return the same error. Quote
Dr. McKay Posted January 10, 2018 Report Posted January 10, 2018 Yeah, that doesn't work because anonymous users only get a license for sub 17906. Quote
judge2020 Posted January 12, 2018 Author Report Posted January 12, 2018 Thanks for the help. Have any other idea for anonymous usage? I saw "Note that dedicated server tools will be available to all accounts regardless of app ownership" in Steamworks and attempted downloading a build from that app but the same issue arose. The only possible option I see would be logging in with an account with the app in their library, however, that's probably too insecure for my use case (standalone exe to download these files). Quote
Dr. McKay Posted January 12, 2018 Report Posted January 12, 2018 There is no alternative. You'd need to get Valve to add your app and depot to the anonymous sub. 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.