Z3ik3n Posted June 19, 2023 Report Share Posted June 19, 2023 (edited) Hi. Is there any way to connect to GC with an anonymous account? I tried to set the client.gamesPlayed to 730, but it doesn't seems to work. It doesn't enter the 'csgo.on' method. My current code: app.get('/api/retrieveFloat', (req, res) => { const client = new SteamUser() const csgo = new GlobalOffensive(client) client.logOn() client.on('loggedOn', (details) => { console.log('Logged on: ' + client.steamID) client.setPersona(SteamUser.EPersonaState.Online) client.gamesPlayed(730, true) csgo.on('connectedToGC', () => { if (csgo.haveGCSession) { console.log('Connected') } else { console.log('Not connected') } }) }) }) Edited June 19, 2023 by Z3ik3n Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 19, 2023 Report Share Posted June 19, 2023 You can only connect to a GC under a user account that owns the game. Anonymous accounts do not own CS:GO. Quote Link to comment Share on other sites More sharing options...
Z3ik3n Posted June 20, 2023 Author Report Share Posted June 20, 2023 Thank you. Would there be any problem if I use a fake/bot account to stay logged 24/7 with a server? So I can inspect skins any time. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 21, 2023 Report Share Posted June 21, 2023 No, lots of people do that. Quote Link to comment Share on other sites More sharing options...
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.