jerrey Posted 6 hours ago Report Posted 6 hours ago (edited) As shown in the figure, I have successfully logged into the CSGO game, but the value of haveGCSession is false. However, this isn't the case every time - sometimes the value of haveGCSession is true. It's very strange. async loginGame(appId = 730){ logger.info('loginGC', this.config.steamId, ';', this.getClientGC().haveGCSession); if(!this.getClientGC().haveGCSession){ this.client.gamesPlayed([appId]); await sleep(1000) } return { code:200, success: true, data: null } } checkStatus(){ return { code:200, success: true, data: { isSteamConnected: !!this.client.steamID?.toString(), isGCClientConnected: this.getClientGC().haveGCSession } } } Edited 5 hours ago by jerrey 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.