cl_cmdrate onchange event
I wrote a small plugin to check client rates and change them.
It work fine for rate, cl_updaterate vars, but i have a problem with cl_cmdrate. 1. client_infochanged(id) event doesn't run when i'm changing cl_cmdrate. 2. get_user_info(id, "cl_cmdrate", var, len) function doesn't work for cl_cmdrate. Function return 0. Code:
new uRate[16];PS. sorry for my bad english :) |
Re: cl_cmdrate onchange event
Changeing a players rates is slow hacking... You must ask them before you can do it.
|
Re: cl_cmdrate onchange event
My server, my rules. If connected players disagree the terms, server will be kick them.
|
Re: cl_cmdrate onchange event
And this site's rules say that slowhacking is not allowed, so noone will help you here.
Also, for the sake of people's settings, ask them before you change anything and then kick them if they disagree. |
Re: cl_cmdrate onchange event
you do know the rates that are good for your computer/internet wont be good for mine right?
|
Re: cl_cmdrate onchange event
Quote:
PS: if it's not clear, I'm addressing to hunter stth, not to you doc holiday :} |
Re: cl_cmdrate onchange event
lol i know what you mean...
|
Re: cl_cmdrate onchange event
You only need to use sv_minupdaterate, sv_maxupdaterate, sv_minrate, and sv_maxrate to force client's to use your rates. It won't change their settings but will force them to be within the min-max range regardless of their connection.
cl_cmdrate cannot be used to gain an advantage over others like cl_updaterate can hence why HLDS does not have a min/max setting for it. Therefore anybody who requests crap like this doesn't know enough about their server. Quote:
2. See post #5. 3. See my explaination here. |
Re: cl_cmdrate onchange event
sv_minrate 9999
sv_minupdaterate 30 sv_maxrate 25000 sv_maxupdaterate 101 That's enough. |
| All times are GMT -4. The time now is 03:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.