Raised This Month: $535 Target: $400

[ANY] Improve Latency

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Join Date: Jul 2022
Old 09-19-2022 , 12:10   [ANY] Improve Latency
Reply With Quote #1


Last edited by 000; 11-05-2022 at 01:55. Reason: null
000 is offline
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-19-2022 , 14:17   Re: [ANY] Improve Latency
Reply With Quote #2

'Bacardi connected.
FCVAR_SERVER_CAN_EXECUTE prevented server running command: cl_cmdrate
FCVAR_SERVER_CAN_EXECUTE prevented server running command: cl_updaterate
Plugin does nothing, unless you are running very antique cs:s version.
Bacardi is online now
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-23-2022 , 08:18   Re: [ANY] Improve Latency
Reply With Quote #3

cl_cmdrate - This command sets the max number of command packets that are sent from your client to the servers each second.

cl_updaterate - This command is used to set the number of packets per second of updates you request from the server.

Its not really a trick when you lower them. Servers can also enforce them via server commands:
sv_mincmdrate sv_maxcmdrate sv_minupdaterate sv_maxupdaterate

If you lower them, you send and receive less data but that also means that your game has to simulate where a player is, more often. Could be missing your shots more due to that.
luki1412 is offline
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-23-2022 , 15:59   Re: [ANY] Improve Latency
Reply With Quote #4

...to clarify also, rate, cl_cmdrate, cl_updaterate are client side console variables.
Means, these just hold value, what you set in your own game.
- Means, you should not follow/check clients cvar values.

*seems game now change cvar value when you join in server as well.
But it revert values back when you disconnect from server.

] cl_updaterate 
"cl_updaterate" = "66" ( def. "20" )
** NOTE: The real value is 10.000 but the server has temporarily restricted it to 66.000 **
 archive notconnected
 - Number of packets per second of updates you are requesting from the server
] cl_cmdrate 
"cl_cmdrate" = "66" ( def. "30" ) min. 10.000000 max. 100.000000
** NOTE: The real value is 10.000 but the server has temporarily restricted it to 66.000 **
 - Max number of command packets sent to server per second
] rate
"rate" = "66000" ( def. "80000" )
** NOTE: The real value is 3500.000 but the server has temporarily restricted it to 66000.000 **
 - Max bytes/sec the host can receive data

Another thing, even today in cs:s, game default values comes mostly from from HL2 game,
which are very low values and for singlegame play.

Back in day of cs:s era, people wrote a lot of recommended rate settings for cs:s in web sites, but those were mostly for HL1 mod Counter-Strike.
For example rate 24000, cl_upraterate 100, cl_cmdrate 100
- which is very low rate for high update rate. Players made CHOKE for themself.
- 66 tickrate is now default speed.

Then there was old calculator which people looked even today
- This give also wrong answers.

But, for reduce lag with higher count of players:
- Better decrease updaterate and set rate very high.

for min. rate setting is 1000 x updaterate, this depend how well map is made and player count.

This is my (shame) calculator, I practised java script and html few years ago

But calculations are very simple. And you need look net_graph 5 from in game.
Do not Private Message @me
Bacardi is online now
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-24-2022 , 14:06   Re: [ANY] Improve Latency
Reply With Quote #5

Bro you made a plugin that enters client commands for clients themselves. You already have access to sv_* commands to set them at that point and trying to set their client commands does not exclude them from the settings set by sv_* commands. Sv_* settings OVERRIDE cl_* settings.

Set sv_minupdaterate to what you want to allow them to use, like 30 and set max to server tickrate. This way the players can use lower and higher updaterates. Same goes for cmdrate. Your plugin does nothing if sv_min* commands are set to something higher.

PS: 66,6 is tickrate for tf2 but not cs, where it is 64 and 128. l4d2 uses 30
luki1412 is offline
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-02-2022 , 05:58   Re: [ANY] Improve Latency
Reply With Quote #6

Originally Posted by 000 View Post
I guess you didn't test it in CS:S, else there wouldn't be any argument. And you were not attentive to what I have written.
No, you're the one not getting a simple message I posted.

Read the official documentation and stop embarrassing yourself with your "low latency trick" if you have no idea what you're even doing. Nothing about this is a trick, you just don't get how it works.

It's not only for CSS! These commands are available in all source engine games.
You're setting client settings for them from the server. You already have access to sv_ commands that ENFORCE them in the first place. You're scratching your left ear with your right hand while thinking you're some genius.

For some reason you think that sv_ commands and cl_ commands do not work together and change completely different things. CL_ is a client's PREFERENCE. SV_ is a server's ENFORCEMENT. If you set your CL UPDATERATE to 100000, that doesnt mean your game will use 100000 updaterate. The server is sending data to you, at the rate it is set to. If it has sv_maxupdaterate set to 60, your cl_updaterate is now 60, even though you set it to 100000. You can only set your CL preferences to a value in BETWEEN what server allows. You don't even take tickrate into account which is the actual max limit.

Im not going to waste any more of my time. People who understand how rates work, don't need a plugin for them.
luki1412 is offline
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-03-2022 , 10:23   Re: [ANY] Improve Latency
Reply With Quote #7

Originally Posted by 000 View Post
First of all I want to say that I go through life being nice and (where possible) humble - with respect and understanding, whoever it is.

And I am not on these forums searching for my honor. I am here because I've chosen these very things in my life for the sake of passion.

This might help you:

That's fine. You might be right. But you never proved that I am wrong (for example by a simple video). At this point, I don't understand how someone could be arguing without delivering a crystal clear proof at least once.

I have never stated that it was a trick, rather a question.

I have no reason to be embarassed at all. If you don't mind, it'd like to quote Richard Feynman as to why:

As I get older, I realise being wrong isn't a bad thing like they teach you in school. It is an opportunity to learn something. - Richard Feynman

Also, why should I let my life be negatively (or at all) shapen by how someone percieves me or would.

These are two of many reasons.

Also regarding your attempted humiliation: <projection, displacement>

I know that these commands are available in all source engine games. Nevertheless, I also stated that I am not an expert.

Again, attempted humiliation because of feeling deeply ashamed and/or disgraced. With that being said:

Is it what you know or what you think?

I never stated that. I just described the behaviour.

Also, these values are bound to the tickrate. I think it is self-explanatory. If not, then it is out of scope of this topic.

Again, prove it that I am wrong, that the stated behaviour cannot be observed. If so, I did a big, catastrohpic, mistake (If you want so) by publishing without testing it beforehand (and just let my memory do it) and this thread can be trashed. Where is the problem?

Let's ignore the fact that it should cause humiliation.

That is fine. After all, it is your life and time.

My personal opinion about you (since you had yours about me):

All in all you are going to ruin relationships and a happy, fullfilled life with that kind of mindset, only because no one has ever (to this point) told you about it. But that is what I think.

And after all the best I could do, you will etheir take my hints serious and move on peacefully (and I'm sure you are going to check this here again, nevertheless) or you will take this is personal, without gratitude, insisting on your actions to be rightful, and remain bitter.

I could have easily destroyed your life over the internet, because obviously I know yourself better than you do. Some people, like psychopaths for example, would do that, just because you acted this way. And they can do that with you (yes, over the internet). And some of them are in the military, specialized in Informatics. You are ignorant and light-headed. Where I come from this gets you killed.

Instead, I gave you all the keys you need to make something out of it. And you could, you are intelligent enough.

You have to understand that those what you feel are just feelings. You don't have to let them shape your life.

I, sincerely (really, I am honest), wish you a good path to go.

This might help you on your path well:

I would recommend to not limit one self just to wikipedia. Instead, other sources and expierence is a good way to go - studying.

Also: I am not your bro, you bellend.

Best regards.
Do you misunderstand everything on purpose?

Mr. Bellend, that was not an attempt to humiliate you, it was an attempt to point out how wrong you are and how stubborn you are about being right, when you're wrong.

For a person that is supposedly always trying to be nice, you seem very eager to try and humiliate me and even ended up using childish insults.

I have proved it multiple times, you just don't get it. It's that simple. Im not going to waste my time making a video. Let me make this extremely simple for you so even your compressed brain can understand it this time:
- your plugin only enters convars on behalf of the users themselves
- the server will still not use them unless the sv_ convars on the server have the same or lower(higher) value
- instead of this plugin you could just adjust the sv_ convars on the server, making the plugin redundant

Is this simple enough for you? Do you need a 12-step tutorial?

You behave like a little child and then try to win an argument with quotes about honor and respect.

There is no honor or respect in your last message.

There is nothing wrong with not understanding something. You could have just asked me nicely to explain it better, but you didn't want that. You can't admit you're wrong, ever apparently. Every message you posted just keeps confirming it.
"Im still right" seeping from every message.

You've betrayed the values you seemed to care so much about. You've stooped lower just to prove that you're higher.
You've failed today.

This is of no interested to anyone anymore. You've ruined the thread with your ego. I'm not going to continue with this any longer. This is my last post in here. Good luck with your "little trick plugin".

PS: you could have just made a post about rates and autoexec.cfg instead
luki1412 is offline
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-03-2022 , 19:15   Re: [ANY] Improve Latency
Reply With Quote #8

This topic is not useful at all. Please categorize it as trash and close it.
Spirit_12 is offline

Thread Tools
Display Modes

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 02:46.

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