neverhood Posted July 15, 2019 Report Posted July 15, 2019 (edited) Hello, I'm using this library to check player's profiles, but sometimes (after a few hours of constant work) my variable 'haveGCSession' is set to false, and it doesnt want to auto-reconnect, script is running but when I'm trying to call 'requestPlayersProfile' (ofc before if (haveGCSession)) it says I dont have haveGCSession How can I reconnect to game-coordinator?sometimes script works good whole week without this error, sometimes I get it after 20 hours of run (randomly) I tired to use: 'client.gamesPlayed([730]);' but it doesn;'t reconnect GC session if (csgo.haveGCSession) { // MY CODE } else { console.log("haveGCSession is set to false"); client.gamesPlayed([730]); } I had this problem before: https://dev.doctormckay.com/topic/2130-node-globaloffensive-after-v2-disconnect/ should I use client.relog();?or maybe csgo._connect? Edited July 15, 2019 by neverhood Quote
neverhood Posted June 11, 2020 Author Report Posted June 11, 2020 hello, can you take a look into it, because I'm still facing this issue sometimes, how can I force reconnect to GC when haveGCsession is set to false, but GC works fine after I restart script (issue not related to GC servers) Quote
Dr. McKay Posted June 11, 2020 Report Posted June 11, 2020 GC sessions are weird and sometimes they go away without wanting to reconnect. That said, some changes have been made somewhat recently, so make sure you're up to date. If you are, then I suggest detecting when that happens, and using gamesPlayed([]) then waiting a minute or two and launching CS:GO again. neverhood 1 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.