Quote:
|
Originally Posted by PM
Note that this plugin can be easily bypassed by aliasing the cvar on the client side.
You may want to try EKS's cvar checker or, if you are hardcore, my cvar rules plugin.
|
Well, I don't know what you're talking about when you say "aliasing," but I do see the fault in the plugin I created for Flash, now that I'm delving deeper into the mysteries of client cvars.
What I discovered was that with this code:
Code:
if(str_to_float(exinterp) < 0.1)
{
client_cmd(i, "ex_interp 0.1")
}
I'm actually forcing the client to execute this command every 5 seconds, because the command get_user_info() is fairly useless - it only returns values for rate, name, model, and cl_updaterate (the reason is beyond me). If I were to tweak it, I'd have to use the command query_client_cvar(), which I recently was directed to by a helpful programmer.
In this case, though, Flash probably wants PM's cvar rules plugin, as it is AMAZING. No lie man, I don't know how you thought that one up, but if I had that much creativity to think up a powerful plugin such as yours, I'd probably be able to submit one. ;)
Anyway, Flash, if you want to plugin, I'd go with PMs. It does a great deal in terms of checking and enforcing client cvars, because you can set your own terms (i.e. ex_interp < 0.1, etc.).