Kz Players Cvars Checker
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.
n1
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
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...
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
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 ;)
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
if fps_modem != 0 kick
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
Updated with fps_modem, can i know what is the problem with this cvars ? :d
fps_modem overrides fps_max
players can do cheat edgebugs with fps_modem 20
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.
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..
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)
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.
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.
doktor, link pls
sh0cku, for your error, update amxx or install steam i dunno.
You just have to add "fps_modem 0" to the checker and it's will be impossible to use that cmd without anyone knowing.
Updated plugin since last game update doesn't allow cvars aliasing.
Added cl_upspeed check
Better developer check method.
Please log in to post replies.