Giter Site home page Giter Site logo

Comments (13)

s1lentq avatar s1lentq commented on June 25, 2024 3

It's nearly impossible to implement this.
The main difficulty lies in the fact that the mod of the game is checked on the client-side.
When trying to connect to a server with a different game, the client disconnects itself.
From the server-side, this can only be implemented by spoofing the game and also if the client tells the server during the connection stage which game it is running on (e.g., through setinfo), but this does not happen.
Thus, it's impossible.

p.s note that cross-game compatibility can cause issues with mp_consistency 1 due to the different content of the game

from rehlds.

SmilexGamer avatar SmilexGamer commented on June 25, 2024 1

So why not create a mod for the client as well and those who prefer to play from cszero can install it?

As I said, this can be done only through userinfo, i.e. through setinfo. Based on this, the server can understand who to spoofing the game with cstrike, and who with czero.

So, in a way, it's possible but would require the client to manually set a key on the setinfo to identify which game it's playing - cstrike or czero

Yes it's the only way It is absolutely impossible without the involving of the client himself in this process

So, if in the best interest for everyone, we can make a pull request for such feature.

from rehlds.

di57inct avatar di57inct commented on June 25, 2024

++ unite the communities

from rehlds.

StevenKal avatar StevenKal commented on June 25, 2024

Seems like you would like to see CS v1.6 & CZ users able to join "one server" that could handle both games at the same time.

from rehlds.

SmilexGamer avatar SmilexGamer commented on June 25, 2024

Seems like you would like to see CS v1.6 & CZ users able to join "one server" that could handle both games at the same time.

Yes, that's exactly my request - that is, if possible to be achieved.

from rehlds.

SmilexGamer avatar SmilexGamer commented on June 25, 2024

It's nearly impossible to implement this. The main difficulty lies in the fact that the mod of the game is checked on the client-side. When trying to connect to a server with a different game, the client disconnects itself. From the server-side, this can only be implemented by spoofing the game and also if the client tells the server during the connection stage which game it is running on (e.g., through setinfo), but this does not happen. Thus, it's impossible.

p.s note that cross-game compatibility can cause issues with mp_consistency 1 due to the different content of the game

I see, just a last question - could the server read the client's gamedir cvar and spoof its own game before the client drops the connection?

p.s yes, this feature would only properly work in a server with mp_consistency 0

from rehlds.

s1lentq avatar s1lentq commented on June 25, 2024

It's nearly impossible to implement this. The main difficulty lies in the fact that the mod of the game is checked on the client-side. When trying to connect to a server with a different game, the client disconnects itself. From the server-side, this can only be implemented by spoofing the game and also if the client tells the server during the connection stage which game it is running on (e.g., through setinfo), but this does not happen. Thus, it's impossible.
p.s note that cross-game compatibility can cause issues with mp_consistency 1 due to the different content of the game

I see, just a last question - could the server read the client's gamedir cvar and spoof its own game before the client drops the connection?

p.s yes, this feature would only properly work in a server with mp_consistency 0

As I said, this can be done only through userinfo, i.e. through setinfo. Based on this, the server can understand who to spoofing the game with cstrike, and who with czero.

from rehlds.

SmilexGamer avatar SmilexGamer commented on June 25, 2024

So why not create a mod for the client as well and those who prefer to play from cszero can install it?

As I said, this can be done only through userinfo, i.e. through setinfo. Based on this, the server can understand who to spoofing the game with cstrike, and who with czero.

So, in a way, it's possible but would require the client to manually set a key on the setinfo to identify which game it's playing - cstrike or czero

from rehlds.

s1lentq avatar s1lentq commented on June 25, 2024

So why not create a mod for the client as well and those who prefer to play from cszero can install it?

As I said, this can be done only through userinfo, i.e. through setinfo. Based on this, the server can understand who to spoofing the game with cstrike, and who with czero.

So, in a way, it's possible but would require the client to manually set a key on the setinfo to identify which game it's playing - cstrike or czero

Yes it's the only way
It is absolutely impossible without the involving of the client himself in this process

from rehlds.

cris840 avatar cris840 commented on June 25, 2024

So why not create a mod for the client as well and those who prefer to play from cszero can install it?

As I said, this can be done only through userinfo, i.e. through setinfo. Based on this, the server can understand who to spoofing the game with cstrike, and who with czero.

So, in a way, it's possible but would require the client to manually set a key on the setinfo to identify which game it's playing - cstrike or czero

Yes it's the only way It is absolutely impossible without the involving of the client himself in this process

So, if in the best interest for everyone, we can make a pull request for such feature.

It would be pretty amazing if they make it possible.

from rehlds.

di57inct avatar di57inct commented on June 25, 2024

well that was easy

from rehlds.

cris840 avatar cris840 commented on June 25, 2024

well that was easy

Maybe in the future reunion will be updated so that the server queries are compatible with cszero, steam auth should also be fixed

from rehlds.

SmilexGamer avatar SmilexGamer commented on June 25, 2024

well that was easy

Maybe in the future reunion will be updated so that the server queries are compatible with cszero, steam auth should also be fixed

yes, the steam auth isn't working. tested with a czero client connecting to a cstrike server.

from rehlds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.