Kicking on 'Ping-Masking' & Admin intiated cvar query

Make suggestions about futures features here.
User avatar
asherkin
Posts: 75
Joined: Fri Jul 31, 2009 6:42 pm
Contact:

Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by asherkin » Sun Aug 23, 2009 5:30 pm

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.

User avatar
Kigen
Site Admin
Posts: 1495
Joined: Sat Jun 07, 2008 11:08 am
Location: Right behind you....
Contact:

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by Kigen » Mon Aug 24, 2009 11:54 am

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.
Image

User avatar
181
Posts: 10
Joined: Sun Sep 06, 2009 7:09 am
Contact:

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by 181 » Wed Nov 18, 2009 6:07 pm

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.

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.

User avatar
Kigen
Site Admin
Posts: 1495
Joined: Sat Jun 07, 2008 11:08 am
Location: Right behind you....
Contact:

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by Kigen » Wed Nov 18, 2009 6:16 pm

Me no likey eventscripts. Anyhow, you can do this now with KAC 1.2 Open Beta.
Image

User avatar
181
Posts: 10
Joined: Sun Sep 06, 2009 7:09 am
Contact:

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by 181 » Wed Nov 18, 2009 6:19 pm

How?

By default it doesn't do anything.


I run a masked "cl_cmdrate" almost all the time.

User avatar
Kigen
Site Admin
Posts: 1495
Joined: Sat Jun 07, 2008 11:08 am
Location: Right behind you....
Contact:

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by Kigen » Wed Nov 18, 2009 11:25 pm

kac_addcvar
Image

lhffan
Translator
Posts: 100
Joined: Fri Aug 01, 2008 6:19 am

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by lhffan » Sun Dec 13, 2009 6:24 pm

kac_addcvar cl_cmdrate


^ like that?

lhffan
Translator
Posts: 100
Joined: Fri Aug 01, 2008 6:19 am

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by lhffan » Sat Oct 16, 2010 2:20 am

How do i prevent ping masking with kac ?

coach
Posts: 87
Joined: Fri Jul 31, 2009 5:46 am
Location: Melbourne, Victoria, Australia
Contact:

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by coach » Sat Oct 16, 2010 8:30 am

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.

User avatar
nightrider
Community Moderator
Posts: 878
Joined: Thu Oct 08, 2009 2:38 am
Location: under a rock

Re: Kicking on 'Ping-Masking' & Admin intiated cvar query

Post by nightrider » Sun Oct 17, 2010 7:16 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests