joshuaferrara / node-csgo

A node-steam plugin for Counter-Strike: Global Offensive.
MIT License
460 stars 82 forks source link

Stuck at Sending ClientHello #82

Closed funmaker closed 3 years ago

funmaker commented 3 years ago

I have basically same issue as discussed in recently closed #80 When I try to launch node-csgo it gets stuck at Sending ClientHello, never firing ready event.

My code: https://pastebin.com/H9fCSubE It's more or less just the example script.

Output:

Username: ******************
Password: ********************
31 Jan 23:59:37 - Logged in!
31 Jan 23:59:37 - Logged on.
31 Jan 23:59:37 - Launching CS:GO
31 Jan 23:59:37 - Received servers.
31 Jan 23:59:40 - Sending ClientHello
31 Jan 23:59:42 - Sending ClientHello
31 Jan 23:59:45 - Sending ClientHello
31 Jan 23:59:47 - Sending ClientHello
31 Jan 23:59:50 - Sending ClientHello
31 Jan 23:59:52 - Sending ClientHello
31 Jan 23:59:55 - Sending ClientHello
31 Jan 23:59:57 - Sending ClientHello
1 Feb 00:00:00 - Sending ClientHello
1 Feb 00:00:02 - Sending ClientHello
1 Feb 00:00:05 - Sending ClientHello
1 Feb 00:00:07 - Sending ClientHello

However node-dota2 works fine.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/96484179-stuck-at-sending-clienthello?utm_campaign=plugin&utm_content=tracker%2F1253779&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1253779&utm_medium=issues&utm_source=github).
PixLSteam commented 3 years ago

I'm not using this module, but I'm having the same issue - I never get a client welcome from the GC. Did something change about this process recently? Edit: Apparently, the GC was having some trouble.

funmaker commented 3 years ago

Apparently you have to run the game at least once on that account to be able to use this library. This should be in the README

joshuaferrara commented 3 years ago

Apparently you have to run the game at least once on that account to be able to use this library. This should be in the README

Feel free to make a PR 😄