Jump to content
McKay Development

node-globaloffensive after v2 - disconnect


neverhood

Recommended Posts

Hello, I'm using two versions of node-globaloffensive, I have old project done with 1.3.2 version (and it works like a charm), lately I updated same project to version 2.0.1 nad after long run of script (usually after a few days) GC is disconnecting randomly (Steam fault for sure) and not connecting again by itself (like with 1.3.2 version).

 

Can you take a look at code if its something missing in auto-reconnect function or setting 'haveGCSession' after reconnect?

I'm calling my functions only when haveGCSession is set to true, and with 2.0.1 version I'm facing issues after long run GC is disconnecting - haveGCSession is set to false until I restart whole script.

 

All packages are updated and with 1.3.2. version everything works fine.

 

 

Greetings!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...