Results 1 to 6 of 6

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

  1. #1
    Deleter/Deleted
    Join Date
    Jan 2023
    Posts
    76
    Thanks
    40
    Thanked 9 Times in 9 Posts

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

    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?

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    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.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. #3
    Deleter/Deleted
    Join Date
    Jan 2023
    Posts
    76
    Thanks
    40
    Thanked 9 Times in 9 Posts
    Quote Originally Posted by IzNoGoD View Post
    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

  4. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    I can make you download stuff even if you have download disabled. You can push cvars to a client onconnect, before downloading starts.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  5. #5
    Deleter/Deleted
    Join Date
    Jan 2023
    Posts
    76
    Thanks
    40
    Thanked 9 Times in 9 Posts
    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
    Last edited by raphael; 24th March 2023 at 08:59.

  6. #6
    Deleter/Deleted
    Join Date
    Jan 2023
    Posts
    76
    Thanks
    40
    Thanked 9 Times in 9 Posts
    I'm wondering if a server can read a client cvar without using setu for it first
    Last edited by raphael; 5th July 2023 at 22:07.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •