I have seen an increasing number of people doing this recently. It involves adding a non-integer to the cl_cmdrate cvar, therefore corrupting the server's ping calculation and showing the client as having very low ping.
Announcing that a player is doing this, and removing all non-numeric characters from this cvar may be more preferable to a kick, due to the shear number of people doing it.
On a related note, it would be really useful if KAC exposed the function it uses to query clients cvars through an admin command. So that administrators could query a specific client for the value of an individual cvar.
--Asher
P.S: I'm writing this post at 6 AM as well, If you don't quite understand anything, just ask.
Kicking on 'Ping-Masking' & Admin intiated cvar query
-
- Site Admin
- Posts: 1496
- Joined: Sat Jun 07, 2008 11:08 am
- Location: Right behind you....
- Contact:
Re: Kicking on 'Ping-Masking' & Admin intiated cvar query
Well, unfortunately, at this time that would require a re-write of KAC related code since it is impossible to do dynamically allocated strings with what I currently have and would require me to move everything into SourceMod's ADT_Arrays.
As far as your ping-maskers since KAC only permits valid numbers in any convar it queries if they set it to non-numeric values KAC will boot them for "having a corrupted value" and they will be informed by KAC to restart their client.
As far as your ping-maskers since KAC only permits valid numbers in any convar it queries if they set it to non-numeric values KAC will boot them for "having a corrupted value" and they will be informed by KAC to restart their client.
Re: Kicking on 'Ping-Masking' & Admin intiated cvar query
I haven't ever seen KAC kick someone for having the "cl_cmdrate" set to mask their ping.
I don't think this is a big issue though either.
Masking your ping I'm pretty sure doesn't really effect game play at all when it comes to the server knowing your actual ping.
The server decides what the min is for ping(rates).
You could use a python script with "eventscripts" to do this easily though.
I don't think this is a big issue though either.
Masking your ping I'm pretty sure doesn't really effect game play at all when it comes to the server knowing your actual ping.
The server decides what the min is for ping(rates).
You could use a python script with "eventscripts" to do this easily though.
Code: Select all
sv_mincmdrate
This sets the minimum value for cl_cmdrate. 0 == unlimited.
Default Value: 0
Code: Select all
This is all steam has to say about the command:
cl_cmdrate 30 "Max number of command packets sent to server per second"
Last edited by 181 on Wed Nov 18, 2009 6:34 pm, edited 4 times in total.
-
- Site Admin
- Posts: 1496
- Joined: Sat Jun 07, 2008 11:08 am
- Location: Right behind you....
- Contact:
Re: Kicking on 'Ping-Masking' & Admin intiated cvar query
Me no likey eventscripts. Anyhow, you can do this now with KAC 1.2 Open Beta.
Re: Kicking on 'Ping-Masking' & Admin intiated cvar query
How?
By default it doesn't do anything.
I run a masked "cl_cmdrate" almost all the time.
By default it doesn't do anything.
I run a masked "cl_cmdrate" almost all the time.
Re: Kicking on 'Ping-Masking' & Admin intiated cvar query
kac_addcvar cl_cmdrate
^ like that?
^ like that?
Re: Kicking on 'Ping-Masking' & Admin intiated cvar query
How do i prevent ping masking with kac ?
Re: Kicking on 'Ping-Masking' & Admin intiated cvar query
I wanted more control as far as rates & what clients had on my comp servers so added these to my server.cfg:
kac_addcvar cl_interp less kick 0.1 // This gives the client a max of 100 lerp
kac_addcvar cl_cmdrate greater kick 66 // This sets cmdrate to a minimum of 66
kac_addcvar cl_updaterate greater kick 66 // This sets updrate to a minimum of 66
kac_addcvar rate greater kick 20000 // This sets drate to a minimum of 20000
It kicks clients until they set their rates correctly.
kac_addcvar cl_interp less kick 0.1 // This gives the client a max of 100 lerp
kac_addcvar cl_cmdrate greater kick 66 // This sets cmdrate to a minimum of 66
kac_addcvar cl_updaterate greater kick 66 // This sets updrate to a minimum of 66
kac_addcvar rate greater kick 20000 // This sets drate to a minimum of 20000
It kicks clients until they set their rates correctly.
- nightrider
- Community Moderator
- Posts: 878
- Joined: Thu Oct 08, 2009 2:38 am
- Location: under a rock