Raised This Month: $51 Target: $400
 12% 

Force clients' cl_cmdrate to their fps_max +5


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ddag1
Member
Join Date: Apr 2020
Old 03-24-2021 , 04:40   Force clients' cl_cmdrate to their fps_max +5
Reply With Quote #1

Hi there, I noticed most players don't know how to set rates properly and they either are lagged or have bad reg.

So please, can someone make a plugin that forces clients' cl_cmdrate depending on their FPS to 5+ that value? Also considering that person could change their FPS during the match, so the plugin should change again the cl_cmdrate value.

Thank you so much in advance!

Last edited by ddag1; 03-24-2021 at 04:44.
ddag1 is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 03-24-2021 , 05:12   Re: Force clients' cl_cmdrate to their fps_max +5
Reply With Quote #2

You can't forcefully change many client cvars. The best you can do is ask them nicely or kick them.
__________________
klippy is offline
ddag1
Member
Join Date: Apr 2020
Old 03-24-2021 , 05:23   Re: Force clients' cl_cmdrate to their fps_max +5
Reply With Quote #3

How about a sort of "Do you accept the following changes in your CVARs" "yes" "no" menu?
ddag1 is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 03-24-2021 , 07:49   Re: Force clients' cl_cmdrate to their fps_max +5
Reply With Quote #4

There's no use in getting their confirmation because it's not possible to do it - the server can't force a client to change their cvars.
__________________

Last edited by klippy; 03-24-2021 at 07:49.
klippy is offline
ddag1
Member
Join Date: Apr 2020
Old 03-24-2021 , 08:11   Re: Force clients' cl_cmdrate to their fps_max +5
Reply With Quote #5

https://forums.alliedmods.net/showthread.php?t=18377

This can actually do it, even with the menu I said, what I need exactly is that it considers the fps_max to apply the same value to cl_cmdrate +5
ddag1 is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 03-24-2021 , 16:08   Re: Force clients' cl_cmdrate to their fps_max +5
Reply With Quote #6

Quote:
Originally Posted by ddag1 View Post
https://forums.alliedmods.net/showthread.php?t=18377

This can actually do it, even with the menu I said, what I need exactly is that it considers the fps_max to apply the same value to cl_cmdrate +5
Check the plugin release date. You can't change the clients' variables anymore.
__________________
gabuch2 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-24-2021 , 23:47   Re: Force clients' cl_cmdrate to their fps_max +5
Reply With Quote #7

You can force both rate and cl_updaterate with the following server settings:

sv_minrate
sv_maxrate
sv_minupdaterate
sv_maxupdaterate

Anything else should be you educating them on what they might want to change.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode