csgo icon indicating copy to clipboard operation
csgo copied to clipboard

Can't connect to GC

Open krisztian-toth opened this issue 1 year ago • 3 comments

Not sure if this project has been abandoned or not, opening this for visibility nonetheless. Since the past few hours we can't connect to the steam GC, possibly due to some changes in the protocol messages. Same as https://github.com/DoctorMcKay/node-globaloffensive/issues/85 Changes to the protobuf messages in the past few hours: https://github.com/SteamDatabase/Protobufs/commit/1f31b9135376bfa26af424939a9e154dfc216479

Edit: Possibly opened it in the wrong repo, but keeping it here

krisztian-toth avatar Feb 07 '24 08:02 krisztian-toth

Try this =) 'version': 2000202 ./csgo/client.py

def _knock_on_gc(self):
            n = 1
                if not self.ready:
                    if self.launcher == GCClientLauncherType.PERFECTWORLD:
                        self.send(EGCBaseClientMsg.EMsgGCClientHelloPW, {'client_launcher': self.launcher,})
                    else:  # GCClientLauncherType.DEFAULT
                        self.send(
                            EGCBaseClientMsg.EMsgGCClientHello,
                            {
                                'version': 2000202
                            },
                        )

                    self.wait_event('ready', timeout=3 + (2**n))
                    n = min(n + 1, 4)

                else:
                    self.wait_event('notready')
                    n = 1
                    gevent.sleep(1)

Kostya12rus avatar Feb 07 '24 11:02 Kostya12rus

Made a fork with the fix above. https://github.com/SyberiaK/csgo

SyberiaK avatar May 03 '24 19:05 SyberiaK