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

cant connect to steam GC #85

Closed
niksad8 opened this issue Feb 7, 2024 · 20 comments
Closed

cant connect to steam GC #85

niksad8 opened this issue Feb 7, 2024 · 20 comments

Comments

@niksad8
Copy link

niksad8 commented Feb 7, 2024

[steam][ownershipCached] Already own CSGO
[steam] Sending message: ClientChangeStatus
[steam] Sending message: ClientGamesPlayedWithDataBlob
[steam] [W1#17] Handled message: ClientPersonaState
[steam] [W1#17] Handled message: ClientPersonaState
[steam] [W1#18] Handled message: ClientPlayingSessionState
[steam] [W1#18] Handled message: ClientGameConnectTokens
[steam] Received 1 game connect tokens. Had 10 tokens.
[steam] [W1#18] Unhandled message: PlayerClient.NotifyLastPlayedTimes#1
[steam] [W1#19] Handled message: ClientPersonaState
[csgo][debug] Sending GC message ClientHello
[steam] Sending 730 GC message 4006
[steam] Sending message: ClientToGC
[csgo][debug] Sending hello, setting timer for next attempt to 2000 ms
[steam] [W1#20] Unhandled message: ClientServersAvailable
[steam] [W1#21] Unhandled message: ClientServiceCall
[steam] [W1#22] Handled message: ClientFromGC
[steam] Received 730 GC message 9187
[csgo][debug] Got unhandled GC message 9187
[csgo][debug] Sending GC message ClientHello
[steam] Sending 730 GC message 4006
[steam] Sending message: ClientToGC
[csgo][debug] Sending hello, setting timer for next attempt to 4000 ms
[csgo][debug] Sending GC message ClientHello
[steam] Sending 730 GC message 4006
[steam] Sending message: ClientToGC
[csgo][debug] Sending hello, setting timer for next attempt to 8000 ms
[csgo][debug] Sending GC message ClientHello
[steam] Sending 730 GC message 4006
[steam] Sending message: ClientToGC
[csgo][debug] Sending hello, setting timer for next attempt to 16000 ms

when i try to login do csgo using node-user and globaloffensive packages my script gets stuck in this loop of sending hello
this started happening after the recent csgo update, i tried different accounts, different IP addresses and so on nothing is working

@vladdnepr
Copy link

same, maybe something with connectedToGC event

@art-vanesyan
Copy link

same

@vladdnepr
Copy link

@vladdnepr
Copy link

when convert payload to string
Снимок экрана 2024-02-07 в 10 21 03

@nguyenvokim
Copy link

Same here, the event do not trigged

@udisun
Copy link

udisun commented Feb 7, 2024

Same, I still see websites showing floats on items. Is there any other way of getting a float?

@vladdnepr
Copy link

vladdnepr commented Feb 7, 2024

message CMsgClientLogonFatalError {
	optional uint32 errorcode = 1;
	optional string message = 2;
	optional string country = 3;
}

errorcode = 4
message = null
country = CY, sometime other 2 letters code

@creeperyang
Copy link

Same. Seems like the account is not accepted by csgo (not steam itself)?

@vladdnepr
Copy link

vladdnepr commented Feb 7, 2024

https://github.com/DoctorMcKay/node-globaloffensive/blob/master/index.js#L120

changed to

this._send(Language.ClientHello, Protos.CMsgClientHello, {
	version: 2000202,
});

After I can login

info: csuser42 Log on OK
info: csuser42 Initiating GC Connection
debug: Sending GC message ClientHello
debug: Sending hello, setting timer for next attempt to 2000 ms
debug: Got handled GC message ClientWelcome
debug: Unknown SO type 2 with 1 items
debug: Unknown SO type 7 with 1 items
debug: GC connection established
info: csuser42 CSGO Client Ready!

But interesting thing, after I logged in with version: 2000202 all works fine without version: 2000202

@vladdnepr
Copy link

Can anybody explain magic?

@vladdnepr
Copy link

Снимок экрана 2024-02-07 в 12 12 07

@vladdnepr
Copy link

Versions can be received from https://github.com/SteamDatabase/GameTracking-CS2/commits

@vladdnepr
Copy link

#86

@vladdnepr
Copy link

@DoctorMcKay

@hrjoyce1990
Copy link

https://github.com/DoctorMcKay/node-globaloffensive/blob/master/index.js#L120

changed to

this._send(Language.ClientHello, Protos.CMsgClientHello, {
	version: 2000202,
});

After I can login

info: csuser42 Log on OK
info: csuser42 Initiating GC Connection
debug: Sending GC message ClientHello
debug: Sending hello, setting timer for next attempt to 2000 ms
debug: Got handled GC message ClientWelcome
debug: Unknown SO type 2 with 1 items
debug: Unknown SO type 7 with 1 items
debug: GC connection established
info: csuser42 CSGO Client Ready!

But interesting thing, after I logged in with version: 2000202 all works fine without version: 2000202

May I ask how you discovered that this interface needs the version parameter?

@Hypoky
Copy link

Hypoky commented Feb 7, 2024

https://github.com/DoctorMcKay/node-globaloffensive/blob/master/index.js#L120

changed to

this._send(Language.ClientHello, Protos.CMsgClientHello, {
	version: 2000202,
});

After I can login

info: csuser42 Log on OK
info: csuser42 Initiating GC Connection
debug: Sending GC message ClientHello
debug: Sending hello, setting timer for next attempt to 2000 ms
debug: Got handled GC message ClientWelcome
debug: Unknown SO type 2 with 1 items
debug: Unknown SO type 7 with 1 items
debug: GC connection established
info: csuser42 CSGO Client Ready!

But interesting thing, after I logged in with version: 2000202 all works fine without version: 2000202

Yes, but if you specify any other numbers in "version" at the first launch it will still work, i checked this. Even if you enter an incomprehensible set of numbers there like "51205612054"

@vladdnepr
Copy link

https://github.com/DoctorMcKay/node-globaloffensive/blob/master/index.js#L120
changed to

this._send(Language.ClientHello, Protos.CMsgClientHello, {
	version: 2000202,
});

After I can login

info: csuser42 Log on OK
info: csuser42 Initiating GC Connection
debug: Sending GC message ClientHello
debug: Sending hello, setting timer for next attempt to 2000 ms
debug: Got handled GC message ClientWelcome
debug: Unknown SO type 2 with 1 items
debug: Unknown SO type 7 with 1 items
debug: GC connection established
info: csuser42 CSGO Client Ready!

But interesting thing, after I logged in with version: 2000202 all works fine without version: 2000202

May I ask how you discovered that this interface needs the version parameter?

tried fix from fork

Kolosok86@3b5fa5f#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346R145

@vladdnepr
Copy link

https://github.com/DoctorMcKay/node-globaloffensive/blob/master/index.js#L120
changed to

this._send(Language.ClientHello, Protos.CMsgClientHello, {
	version: 2000202,
});

After I can login

info: csuser42 Log on OK
info: csuser42 Initiating GC Connection
debug: Sending GC message ClientHello
debug: Sending hello, setting timer for next attempt to 2000 ms
debug: Got handled GC message ClientWelcome
debug: Unknown SO type 2 with 1 items
debug: Unknown SO type 7 with 1 items
debug: GC connection established
info: csuser42 CSGO Client Ready!

But interesting thing, after I logged in with version: 2000202 all works fine without version: 2000202

Yes, but if you specify any other numbers in "version" at the first launch it will still work, i checked this. Even if you enter an incomprehensible set of numbers there like "51205612054"

tried

1000000
1999999

but nothing

after changed 2000000 logon was success

After success logoun you can pass anything

maybe server remembers max version parameter passed in past?

@Hypoky
Copy link

Hypoky commented Feb 7, 2024

https://github.com/DoctorMcKay/node-globaloffensive/blob/master/index.js#L120
changed to

this._send(Language.ClientHello, Protos.CMsgClientHello, {
	version: 2000202,
});

After I can login

info: csuser42 Log on OK
info: csuser42 Initiating GC Connection
debug: Sending GC message ClientHello
debug: Sending hello, setting timer for next attempt to 2000 ms
debug: Got handled GC message ClientWelcome
debug: Unknown SO type 2 with 1 items
debug: Unknown SO type 7 with 1 items
debug: GC connection established
info: csuser42 CSGO Client Ready!

But interesting thing, after I logged in with version: 2000202 all works fine without version: 2000202

Yes, but if you specify any other numbers in "version" at the first launch it will still work, i checked this. Even if you enter an incomprehensible set of numbers there like "51205612054"

tried

1000000 1999999

but nothing

after changed 2000000 logon was success

After success logoun you can pass anything

maybe server remembers max version parameter passed in past?

Maybe it need 2000000+, idk, but i checked it on new server with new accs and it works. I literally entered an incomprehensible set of numbers like "235982985"

@DoctorMcKay
Copy link
Owner

Fixed in 3.0.1.

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

9 participants