Page 1 of 2

Lerp Control

Posted: Thu Jul 01, 2010 1:39 am
by coach
Kigen just wondering if KAC is capable of controlling client lerp settings. I am wanting to set a max limit allowed on my comp servers. Would this be correct:

kac_addcvar cl_interp greater kick 100

If not can you post the correct setting that would be needed.

Re: Lerp Control

Posted: Thu Jul 01, 2010 5:34 pm
by Kigen
Yes, KAC can scan the lerp CVar and kick if its out of a certain range.

If your wanting to set 100 as the max then your comparison needs to be "less".

Re: Lerp Control

Posted: Thu Jul 01, 2010 5:51 pm
by coach
Not quite positive on your meaning Kigen. I am wanting a minimum lerp of 0 with a max of 100. Anything over 100 should receive a kick from the server. So what should the exact KAC command be to accomplish that?

Many thanks. A donation is forthcoming for the great work that you do here.

Re: Lerp Control

Posted: Thu Jul 01, 2010 7:42 pm
by Pablo
hm, wouldn't cl_interp .1 make lerp 100? cl_interp 100 would be like 100,000 or something?

Re: Lerp Control

Posted: Thu Jul 01, 2010 8:55 pm
by coach
My mistake in the original post Pablo. You are correct.

I tried : kac_addcvar cl_interp greater kick 0.1

It said that it added it but I was still able to join the server with cl_interp 0.2 which gave me a lerp of 200.

Re: Lerp Control

Posted: Thu Jul 01, 2010 9:50 pm
by Pablo
Well, adding cvars has always confused me, but try "less" instead of greater im gonna try too

Re: Lerp Control

Posted: Thu Jul 01, 2010 10:58 pm
by coach
All sorted & working.

kac_addcvar cl_interp less kick 0.1

I know have some control over client's lerp settings. :D ;)

This allows default lerp of 100 or less.

Re: Lerp Control

Posted: Thu Jul 01, 2010 11:37 pm
by Kigen
kac_addcvar cl_interp bound kick 0 100

Re: Lerp Control

Posted: Sat Jul 03, 2010 11:35 am
by lhffan
Why not allow high lerp settings?

Re: Lerp Control

Posted: Sat Jul 03, 2010 12:05 pm
by Pablo
Ive read through http://developer.valvesoftware.com/wiki ... Networking that about 15 times, but it still confuses me. im just testing different setting still. so idk.