AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Rank 3.0 (https://forums.alliedmods.net/showthread.php?t=119167)

hleV 02-18-2010 09:43

Rank 3.0
 
7 Attachment(s)
Well, this is rank for all Half-Life-based games that share DeathMsg event.

Commands:
  • say /rank - displays your current rank, rank count, kills and deaths;
  • say /top15 - displays top 15 ranked players in a MOTD.
Notes:
  • rank is based on "kills - deaths" calculation;
  • ranks are saved in data/ranks.ini file. Line numbers mean the actual position;
  • sadly MOTD fails to align kills and deaths well, sorry;
  • non-Steam players are not ranked;
  • team kills are not checked.
Code and Top15 MOTD optimization suggestions are welcome.

Changelog:
Quote:

3.0
-completely rewriten code;
-changed rank data storing and sorting method to Arrays;
-removed rank data size limit.

2.0
-completely rewriten code;
-changed/upgraded sorting method;
-changed the way names are stored.

1.4
-optimized sorting;
-sorting on say /rank and say /top15 changed with sorting each 15 seconds (see #define SORT_INTERVAL 15.0).

1.3
-optimized parts of the code.

1.2
-added top 15 support for games that have HTML in MOTD. Check #define TOP15 HTML; in .sma;
-optimized rank calculation variables' creation.

1.1
-fixed kill not being added when victim is not authorized.

KadiR 02-18-2010 09:45

Re: Rank 1.0
 
Finally you made it, good job! :up:

crazyeffect 02-18-2010 10:49

Re: Rank 1.0
 
Quote:

non-Steam players are not ranked.
:D

papyrus_kn 02-18-2010 11:41

Re: Rank 1.0
 
LOL!
Thank you.
:shock::wink:

hasta 02-18-2010 13:38

Re: Rank 1.1
 
http://s55.radikal.ru/i150/1002/f6/09c7840ccd68t.jpg
bug? v1.1

hleV 02-18-2010 14:02

Re: Rank 1.1
 
Use AMXX's default rank for CS. This one is meant for games that have non-HTML MOTD.

hasta 02-18-2010 14:21

Re: Rank 1.1
 
i dont use it
vozmozhno v tvoem plagine normalnoe oformlenie topa ? tnx

xbatista 02-18-2010 14:29

Re: Rank 1.1
 
Quote:

Originally Posted by hasta (Post 1092697)
i dont use it
vozmozhno v tvoem plagine normalnoe oformlenie topa ? tnx

tell in english, I think he don't speak in russian language

hasta 02-18-2010 15:02

Re: Rank 1.1
 
in your plugin possible normal form of top ?
tnx xbatista:)

ditmesteam 02-18-2010 15:15

Re: Rank 1.1
 
I use /rankstats /top15 in AMXX mod!


All times are GMT -4. The time now is 15:46.

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