Kz Players Cvars Checker

Started by doktor
25/05/2008 10:20
Page 1 of 3
doktor25/05/2008 10:20(edited 14/06/2009 23:27)

This plugin is SAFE for demo recording. -Fatalis

Hi,

This plugin sets client cvars to legal values (developer 0, fps_max 101, cl_XXXspeed 400) when clients connect.
Then, if a player change one cvar, he is just be kicked with an message that explain him the reason.


padnaliQ25/05/2008 10:33

n1

SchlumPF25/05/2008 11:35

nice but change the maxspeed thingy. it has just influence on your pre when forward and sidespeed or backward and sidespeed ratio is != 1.0

doktor25/05/2008 11:57

So, set those 3 cvars to 400 is fine, isn't it ?
I mean i would have to add lot of code just to check if players have those 3 cvars at the same value...

SchlumPF25/05/2008 15:04

its fine too but checking the ratio would be better and also it not that much code. for ex you could easily store the result of those cvars in a variable and
if( cl_forwardspeed / cl_sidespeed != 1.0 && cl_backspeed / cl_sidespeed != 1.0 )
then the client ahs illegal settings

doktor25/05/2008 15:36

Originally posted by SchlumPF*
it not that much code.

Sure, but not that much+not that much=...

Also if setting are illegal, i would have to choose 1 value, i stay with 400 ;)

SchlumPF25/05/2008 16:26

checking the ratio would just have been nicer then setting all values to 400 ^^ same with binding things etc in amxx. i like to avoid things like this

Fatalis25/05/2008 17:39

if fps_modem != 0 kick

SchlumPF25/05/2008 17:47

some reason would be nice?!
the only thing i know which fps_modem does change is the fps on inet server if its bigger than 0 but developer should block it doesnt it oO

doktor25/05/2008 19:12

Updated with fps_modem, can i know what is the problem with this cvars ? :d

Fatalis27/05/2008 19:15

fps_modem overrides fps_max
players can do cheat edgebugs with fps_modem 20

SchlumPF12/06/2008 22:09

you could optional add server cvar forcing too (with cvar to turn it on/off for those who do not use ljstats) and add cl_yawspeed. ok yawspeed is not forbidden yet in xj rules but i think it should due to the fact that it allows nice pres in combination with +right/+left.

NumB13/06/2008 15:35

Is it realy needed to alias the cvar? No I'm not cheating but sometimes I need thows cvars. For example chat message in more than one line script..

sh0cku04/04/2009 11:37

What is it? How do I fix this?
[AMXX] Displaying debug trace (plugin "kz_players_cvars.amxx")
[AMXX] Run time error 10: native error (native "query_client_cvar")
[AMXX] [0] kz_players_cvars.sma::CheckClientCvar (line 69)
[AMXX] [1] kz_players_cvars.sma::FirstCheck (line 52)

zow0s04/04/2009 12:47

bind a "+moveleft;fps"
bind d "+moveright;fps"
alias fps "developer 0.0.0.0.1;fps_modem 200"

Is it working with this? With some detectors it works fine :)

Also while ago at one server this one worked too:
alias side "cl_sidespeed 320; cl_sidespeed 400"

Just want people not to use em.

doktor14/04/2009 17:52

I have to update the plugin since i've found (long time ago..) a better way to check developer value, your way should not be detected by this plugin.

sh0cku14/04/2009 18:03(edited 14/04/2009 18:04)

doktor, link pls

doktor14/04/2009 18:27

sh0cku, for your error, update amxx or install steam i dunno.

zow0s14/04/2009 18:28

You just have to add "fps_modem 0" to the checker and it's will be impossible to use that cmd without anyone knowing.

doktor14/06/2009 23:29

Updated plugin since last game update doesn't allow cvars aliasing.
Added cl_upspeed check
Better developer check method.

Page 1 of 3

Please log in to post replies.