PDA

View Full Version : [CoD 1.1] How to prevent my client cvars from being read by a server?



raphael
23rd March 2023, 07:15
Hello

Recently I wanted to know how to read client cvars to increase the value of com_maxfps of the players on my server, if set to default.

I heard it's not possible if the player use the default client executable file.

But I think I heard that some people know how to do it even if player uses the default client, so I'm afraid that a server owner reads my rconPassword cvar. So now I will clear this cvar before joining someone's server.


Could you confirm that someone ever proved that he was able to read default client cvars on CoD 1.1 without making it to download something?

I was going to ask you if you can know if a server would be able to do it, for example to check before joining if it has downloading/fs_game enabled
But I guess the server could enable that when the player is already on it... (without getting him to get disconnected?)


Would the server need to make the client to download something to read the cvars?

Do you know how to prevent my client cvars from being read by a server?

IzNoGoD
23rd March 2023, 16:36
Through punkbuster you can do this without any download.

Without punkbuster you need a small menu file to do this.

Some protection could be achieved by changing the cvar name in your .exe file. Not sure if this will fck up your logins.

raphael
24th March 2023, 01:55
Through punkbuster you can do this without any download.

Without punkbuster you need a small menu file to do this.

Some protection could be achieved by changing the cvar name in your .exe file. Not sure if this will fck up your logins.

Ok thank you very much

I think you can't be sure that server downloading is off even if sv_allowdownload is set to 0
But imagining you can be sure before joining, I guess it can be toggled without the need to restart server
I think it's possible to join a server, without it making you download anything, but then when you are ingame, it makes you download something without getting you disconnected

Please correct me if I'm wrong

IzNoGoD
24th March 2023, 05:52
I can make you download stuff even if you have download disabled. You can push cvars to a client onconnect, before downloading starts.

raphael
24th March 2023, 07:51
I noticed that when I started creating my server

I had cl_allowDownload to 1 in my client, but download wasn't starting

I had to add it in the server .cfg too, for the client to download.

That's weird...

Edit:

Sorry I thought we was talking about the same way to force downloading, I didn't understand that you was talking about gsc

raphael
11th May 2023, 11:44
I'm wondering if a server can read a client cvar without using setu for it first