Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to GC #62

Open
krisztian-toth opened this issue Feb 7, 2024 · 3 comments
Open

Can't connect to GC #62

krisztian-toth opened this issue Feb 7, 2024 · 3 comments

Comments

@krisztian-toth
Copy link

krisztian-toth commented Feb 7, 2024

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 DoctorMcKay/node-globaloffensive#85
Changes to the protobuf messages in the past few hours: SteamDatabase/Protobufs@1f31b91

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

@Kostya12rus
Copy link

Kostya12rus commented Feb 7, 2024

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)

@SyberiaK
Copy link

SyberiaK commented May 3, 2024

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

@kostrykin

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants