dreamstalker / rehlds

Reverse-engineered HLDS
GNU General Public License v3.0
625 stars 165 forks source link

Joining a CS 1.6 server with CS CZ client causes STEAM validation rejected #996

Open SmilexGamer opened 7 months ago

StevenKal commented 7 months ago

Did you tried on your CZ client to type: setinfo _gd cstrike From this change, and by using latest ReHLDS.

SmilexGamer commented 7 months ago

Did you tried on your client to type: setinfo _gd cstrike From this change, and by using latest ReHLDS.

Yes, of course - it was me that suggested such feature after all. The aforementioned feature works as intended, but it does not account for steam authentication, which seems to not work when connecting from a different game than the server (eg. connecting to a CS 1.6 server with a CS CZ client and vice-versa)

anzz1 commented 4 months ago

I'm curious, why would someone want to join CS server with CS:CZ client?

I haven't had a deep look in the gamedlls of czero and compare it to cstrike but from my understanding there is little difference between the two.

So I guess it could work, but what I'm failing to understand is if the clients are 1:1, why bother. And if they are not, what is the advantage of using czero client over regular cstrike ?

A feature that allows players to join using a different game sounds like a recipe for trouble and should probably be disabled by default. Currently it looks like it's always enabled with no ability to disable without recompiling.

SmilexGamer commented 4 months ago

I'm curious, why would someone want to join CS server with CS:CZ client?

I haven't had a deep look in the gamedlls of czero and compare it to cstrike but from my understanding there is little difference between the two.

So I guess it could work, but what I'm failing to understand is if the clients are 1:1, why bother. And if they are not, what is the advantage of using czero client over regular cstrike ?

A feature that allows players to join using a different game sounds like a recipe for trouble and should probably be disabled by default. Currently it looks like it's always enabled with no ability to disable without recompiling.

  1. Just as a way to bridge the gap between both games. Originally, CS 1.6 and CS CZ players were supposed to be able to play together when CS 1.7 would eventually be released, but it was never done. So nowadays, both games can't play on the same servers.

  2. They use the exact same gamedll, byte by byte.

  3. Refer to point 1.

  4. Yes, that's one of the flaws the current implmentation has: No way to disable the functionality and Steam authentication doesn't work for clients connecting from a game different than the server.

jonatan1024 commented 5 days ago

This works if you disable steam authentication with +sv_lan 1.

Together with +mp_consistency 0 +sv_net_incoming_decompression_max_ratio 100 I was able to connect to cstrike server with czero client and vice versa.

SmilexGamer commented 5 days ago

This works if you disable steam authentication with +sv_lan 1.

Together with +mp_consistency 0 +sv_net_incoming_decompression_max_ratio 100 I was able to connect to cstrike server with czero client and vice versa.

Of course it works when Steam authentication is disabled. This issue was opened in hopes of having the Steam authentication working even when you connect with a game client different from the server.

myosotis10 commented 2 days ago

Did you tried on your CZ client to type: setinfo _gd cstrike From this change, and by using latest ReHLDS.

can you tell me where should i place this item please??

SmilexGamer commented 2 days ago

Did you tried on your CZ client to type: setinfo _gd cstrike From this change, and by using latest ReHLDS.

can you tell me where should i place this item please??

In your game console.