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

Some questions about the netsetting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Greek
Junior Member
Join Date: Apr 2011
Old 03-21-2012 , 14:51   Some questions about the netsetting
Reply With Quote #1

Hello,

this is my server.cfg:

Code:
...###Netsettings###

sv_client_cmdrate_difference 		"10"
sv_client_max_interp_ratio 			"2"
sv_client_min_interp_ratio 			"0"
sv_client_predict				"1"
sv_consistency				"1"
sv_forcepreload				"1"
sv_friction					"8"
sv_gravity					"800"
sv_maxcmdrate					"66"
sv_maxrate					"60000"
sv_maxupdaterate				"66"
sv_mincmdrate					"40"
sv_minrate					"15000"
sv_minupdaterate				"40"...
I got a plugin on my server that shows the rates of all players. Sometimes there are some weird rates like: 100000000 or only 1000.

Is this even possible or are the shown rates wrong? Because the rates should be min/max:

Code:
sv_minrate					"15000"
sv_maxrate					"60000"
Greetings Greek
Greek is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-22-2012 , 03:38   Re: Some questions about the netsetting
Reply With Quote #2

Rate plugins mostly show players client-side-convars (cl_*) values,
what have typed in they own game.
It can be any number, plugin just show that and not real server rate restriction.
- This why rate plugins are pretty useless.
- Srcds.exe not change those values from players.


This how server restriction works, example:
You have limit min rate (sv_minrate 15000) from server.
Let's say, some player have just bought game and don't know console and how set rates.
His rate would be 10000 by default.
When he join your server, his game own convar (sv_minrate) will be forced to same as server.
Picture from player console. can you see it ?

- Player real rate value can be anything, but server still have capped in that minimum.
- These convars can check from own console when have joined server and type only convar without value.
sv_minrate
rate

- if you didn't understand, both server and player have sv_minrate. Server force that from player.
- Rest sv_min/max convars works same way.

This sv_client_cmdrate_difference allow player fine-tune cmd rate in relation to the update rate.
Example:
If you set sv_client_cmdrate_difference 10 from server.
Player join your server and server force his sv_client_cmdrate_difference to 10.
Player can set his cl_cmdrate to between 30 and 50, when cl_updaterate is 40. (+-10)
But again, when server sv_mincmdrate set to 40, it will limit to that.
If sv_client_cmdrate_difference 1, can use cl_cmdrate between 39 and 41 when cl_updaterate 40 (+-1), and so on....

I hope you all understand how these work.
Sry bad english


*edit
Here picture from net_graph, where you can also check.
sv_mincmdrate 40; sv_minupdaterate 40

Last edited by Bacardi; 07-15-2012 at 05:13.
Bacardi is offline
Greek
Junior Member
Join Date: Apr 2011
Old 03-22-2012 , 11:06   Re: Some questions about the netsetting
Reply With Quote #3

Ok, I understand it, thank you very much for the long answer!
Greek 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 10:33.


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