protonscr

[HL1/CS] cl_rate half broken?

steamclosed reviewedMOVED: Counter‐Strike
ValveSoftware/steam-for-linux#1623 · opened 2013-02-12 by AnAkkk · updated 2013-02-12 · 5 comments · github
AAnAkkk 2013-02-12 github

I'm not sure if cl_rate is even supposed to do anything anymore, but it doesn't seem to work correctly. It's a command, not a cvar, and if you launch the game and try to check its value:

] cl_rate 
Usage:  cl_rate 
Client to server transmission rate (bytes/sec)
Current:  0.00000

Value outside bounds:

] cl_rate 9999999
cl_rate:  Maximum 0.000000, Minimum 0.000000

Correct value:

] cl_rate 100000
] cl_rate 
Usage:  cl_rate 
Client to server transmission rate (bytes/sec)
Current:  100000.00000

cl_rate is supposed to be Client => Server, while rate is supposed to be Server => Client.

Suggestion: Remove cl_rate and make "rate" controls Client <=> Server, as it does on Source engine.

EDIT: cl_rate seems to automatically set itself to 20000 after joining a server.

Aalfred-valve maintainer 2013-02-12 github

Sold, cl_rate is dead. It automatically inherits the rate value and wasn't very useful anyway.

AAnAkkk 2013-02-12 github

It currently doesn't seem to inherit the rate value. My rate was set to 100000 and cl_rate was still being reset to 20000. Unless you mean it's the way it's going to be now :)

Aalfred-valve maintainer 2013-02-12 github

The way it will be after the next release. Also note that rate is still clamped server side by sv_maxrate, which will be 20k by default.

AAnAkkk 2013-02-12 github

Ok. BTW, is sv_lan_rate still fixing the rate value for all clients when sv_lan is set to 1?

Aalfred-valve maintainer 2013-02-12 github

yes it is.

Nothing extracted yet.