AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   RateChecker (https://forums.alliedmods.net/showthread.php?t=57220)

pRED* 06-30-2007 22:13

RateChecker
 
2 Attachment(s)
Basic Rate Checking Plugin.

Type sm_rate <name or #userid> (!rate and /rate obviously work too)

To display a panel showing that user's rates. Next and previous buttons let you browse through all the current players rates.
Typing sm_rate with no parameter will show your own rates.

Type sm_ratelist to print all players rates to console

[IMG]http://img209.**************/img209/8127/ratejc6.jpg[/IMG]

API 06-30-2007 22:18

Re: RateChecker
 
Approved. Good job.

TSCDan 07-02-2007 12:00

Re: RateChecker
 
Could we get a cvar/different command to print the info to the console (server or client)? I used to use the ma_rates command in console from HLSW to see the rates of all of the players, and if it wouldn't be too difficult... :) Thanks!

pRED* 07-02-2007 17:00

Re: RateChecker
 
Yup it's on my todo list.. gimme a day.

MeatGrinder 07-04-2007 01:53

Re: RateChecker
 
Does this display the actual rates after server enforced rates have been applied or just the player's setting from their config before the restrictions?

And what I mean by restricted rates is sv_minupdaterate, sv_mincmdrate, etc...

Sooooo many server admins are mistaking that the enforced rates are not working because commands such as ma_rates in Mani Admin are reporting only what's in the user's config, not the actual rates, and they are relying on that falsified information.

k3rMz 07-06-2007 15:29

Re: RateChecker
 
I Just Tested This And It Doesnt Show Enforced Settings From Server , Only Whats In Users Config ..

ferret 07-06-2007 15:31

Re: RateChecker
 
Quote:

To display a panel showing that user's rates.
Which is what it's suppose to do.

k3rMz 07-06-2007 16:38

Re: RateChecker
 
Quote:

Originally Posted by ferret (Post 499670)
Which is what it's suppose to do.

was answering the post above mine :)

ferret 07-06-2007 17:51

Re: RateChecker
 
I should read.

pRED* 07-06-2007 22:14

Re: RateChecker
 
Updated with sm_ratelist command.

MeatGrinder 07-08-2007 17:59

Re: RateChecker
 
Quote:

Originally Posted by k3rMz (Post 499668)
I Just Tested This And It Doesnt Show Enforced Settings From Server , Only Whats In Users Config ..

Which sadly makes this plugin essentially useless unless you don't enforce rates on your server...

pRED* 07-08-2007 18:14

Re: RateChecker
 
I don't really understand that..

Your enforced rates should be set reasonably generous in both directions to allow 56k player and people with awesome cable like connections to have suitable rates. (unless you're one of those server admins who think that 56k players lag other people..). The enforced server rates should prevent people from using ridiculously stupid rates and the rate checker (along with their ping) should help you identfy people using incorrect rates for their connection (whether it be malicious or just ignorant) and tell them what to do to fix it.

-GSE-||Obsession^ 07-13-2007 06:14

Re: RateChecker
 
Anyway just want to say I like this a lot. Thx for the Job

Pursuit 07-16-2007 12:20

Re: RateChecker
 
thx alot pred, good job.:up:

MAUGHOLD 10-11-2007 07:36

Re: RateChecker
 
can this plugin be made to allow all users to check what other users rates are as well as what the servers rates are, ie sys_ticrate,sv_maxrate,sv_minrate,sv_minupdat erate.

very nice indeed :)

k3rMz 10-11-2007 10:39

Re: RateChecker
 
i loaded this onto our server again and although everything seems to be workin ok i noticed the followin in the output in console


] sm_ratelist
Unknown command: sm_ratelist <<<< this one
Name Rate UpdateRate CmdRate Interp
{dbh-Bot} Grover 30000 20
{dbh-Bot} Foo-foo 30000 20
{dbh} K³®mî† 30000 66 66 0.033

dunno why it says unknown but straight after it executes the cmds very weird

Nolongerinthegame 10-11-2007 15:24

Re: RateChecker
 
Great plugin, think this will be beneficial and should be added to the sourcemod base IMO

tkaway69 10-13-2007 21:10

Re: RateChecker
 
We have a Member on dialup. Hahahaha.. I know it sucks, but he has been with us for years. Is there a config or something that is setting rates to the max? He says his are being changed and causing him much lag. I ask this because he had no probs untill i put your plugin on server. I thought it only allowed you to check rates not set them.

pRED* 10-13-2007 23:59

Re: RateChecker
 
this only views rates... Doesn't set or force anything...

tkaway69 10-14-2007 00:05

Re: RateChecker
 
Thanks for the reply. It must have been the latest steam update, because something sets rates to the max.

MoggieX 10-14-2007 02:57

Re: RateChecker
 
Nice addition Pred, just added to ours!

mongwong 10-14-2007 09:38

Re: RateChecker
 
handy script , thankyou.
Is there a way to also add !rates as most people seem to type that not !rate

Gweedo 10-14-2007 17:16

Re: RateChecker
 
Would be cool if it showed their SteamID as well. Also maybe format it a little better so things aren't jumbled up and are more easily read.

Derek 10-17-2007 08:10

Re: RateChecker
 
Seems to be working perfect for TF2.

Derek 11-05-2007 18:54

Re: RateChecker
 
The interp isnt working correctly maybe you can take a look.

fyckfaco 11-18-2007 21:59

Re: RateChecker
 
Is there a way of making this admin accessable only. Although i dont mind the players being able to do it, so far all its done is caused ppl who dont understand rates to bitch about ppl who have slightly different ones.
Was ma_rates admin only hmm?!

jones ray 11-18-2007 23:38

Re: RateChecker
 
Simple quick fix just inform the few players that moan why various players rates are different to others rather than hide them.

MoggieX 11-19-2007 06:54

Re: RateChecker
 
Quote:

Originally Posted by fyckfaco (Post 554494)
Is there a way of making this admin accessable only. Although i dont mind the players being able to do it, so far all its done is caused ppl who dont understand rates to bitch about ppl who have slightly different ones.
Was ma_rates admin only hmm?!

yes use overrides and bind it to the admin flag b. Then only admins can use it.

Open admin_overrides.cfg and put this in it:

Code:

Overrides
{
    "sm_rate"    "b"
    "sm_ratelist" "b"

}

Matt

fyckfaco 11-19-2007 08:08

Re: RateChecker
 
You're a star thx. Sorry source noob here

fyckfaco 11-19-2007 09:38

Re: RateChecker
 
Didnt seem to work putting it in admin_overrides, non admins can still use it :S

MoggieX 11-19-2007 17:14

Re: RateChecker
 
Quote:

Originally Posted by fyckfaco (Post 554610)
Didnt seem to work putting it in admin_overrides, non admins can still use it :S

Oops use this

Code:

Overrides
{
    "sm_rate"    "b"
    "sm_ratelist" "b"

}

some n00b put rates instead of rate :-)

Matt

MAUGHOLD 11-20-2007 17:10

Re: RateChecker
 
Is this plugin avilable for HL1 mods and if it isn't can you please make it so.
Also it would really be nice if it showed the servers maxrates and ticrate as well.

tcviper 11-21-2007 08:50

Re: RateChecker
 
prED you should update this if possible to make it for admins only (as cvar or something).

mkay_63 01-10-2008 20:01

Re: RateChecker
 
1 Attachment(s)
Quote:

Originally Posted by tcviper (Post 555289)
prED you should update this if possible to make it for admins only (as cvar or something).

Hi.

Hm, I'm not prED - but anyways, I can help you ;)

What you have to do:

Open the file "ratechecker.sp" (i.e. with Notepad)

Search this (line #39):
"RegConsoleCmd("sm_rate", Cmd_Rate)"

And replace it with:
RegAdminCmd("sm_rate", Cmd_Rate, ADMFLAG_GENERIC)

That's it... Now the "sm_rate" command is for generic admins only (b).
Fine, I have attached the file for the lazy guys out there xD).

PrefeX 01-12-2008 19:09

Re: RateChecker
 
or you can use access override ;)

oliverk23 03-23-2008 16:35

Re: RateChecker
 
hi,
when i compile that plugin i get a error :

Warning 234 : symbol "SearchForClients" is marked as deprecated: Use Fintarget () or ProcessTargetString()

what does this mean, is there en solution to compile without an error ?

Greats

bl4nk 03-23-2008 16:42

Re: RateChecker
 
It's nothing you need to worry about. The function is no longer used, but will still work. The compiler is just telling you that a newer, better function has been released since then. Like I said, nothing to worry about.

BehaartesEtwas 03-29-2008 19:13

Re: RateChecker
 
1 Attachment(s)
Hi,

I have modified the plugin so it also shows the actual values (not only the values of the CVARS which will might be overridden by server restrictions) and some additional information like loss and choke. Maybe you can integrate it into the "official" version?

Thanks for the great plugin!

BE

oliverk23 03-29-2008 21:44

Re: RateChecker
 
tested and i say nice ^^

ajbrun 03-30-2008 16:03

Re: RateChecker
 
1 Attachment(s)
I've made a tiny tiny change to it on line 61 to include some spacing after the player name, so it's a bit easier to read:

PrintToConsole(client,"%30s %s %s %s %s",name,rate,update,cmd,interp)


All times are GMT -4. The time now is 21:09.

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