I'm running into a weird issue with the GC session in CS:GO. As you can see in the screenshot, I'm logged in, but haveGCSession is showing as false. The strange part is that it doesn't happen every time—sometimes it's true. Any idea what's going on?
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
}
}
}