Raised This Month: $ Target: $400
 0% 

client cvar locker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
capndurk
Senior Member
Join Date: Feb 2006
Old 03-19-2006 , 16:30  
Reply With Quote #31

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.).
capndurk is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode