[CS:S] RankMe (Version 2.8.3 - 19 Jul 12)
2 Attachment(s)
RankMe --- Introduction: This plugin has been made because the features that I needed wasn't availiable in the others that doesn't use MySQL databases. --- Features: = Rank your players by STEAM:ID or by NAME or by IP Address. = Use SQLite or MySQL for the Database. = Kills and Death Statistic. = Accuracy Statistic. = Weapon Statistic. = Rank by Points System or by KDR (Kill:death ratio). = Hitbox Statistic. = Connected Time. = Bomb and Hostage Statistic. = VIP (as_ maps) statistic. = Statistics changed on current map. = Translation. = Auto-Purge. = SQLite database. = Full customization with CVars. = Set minimal kills for entering the rank. = Set multiplier for losing points. = Possible to not showing the points changes on chat. = Top for each weapon. = Natives. = Mani Admin Plugin Import. == Just run the sm_rankme_import_mani command. Doesn't matter if MAP is loaded or not. = Possible to use with web interface since it has an export system. == The database is exported to cstrike folder as rank.sql (needed for SQLite). == For web interface, may require a web server with PHP and MySQL. --- Point System (Default, changeable with cvars): = Every player start with 1000 points. = For each kill is given 2 points plus 1 point for each 100 points difference between the killer and the killed. = For each death is taken the same amount that is given to the killer. = For HeadShot kill is given 1 point. = Killing with Knife doubles the points given and taken. = For Planting the C4, is given 2 points for each terrorist plus 2 points for the one who planted. = For Exploding the C4, is given 2 points for each terrorist plus 2 points for the one who planted. = For Defusing the C4, is given 2 points for each counter-terrorist plus 2 points for the one who defused. = For Rescuing the Hostage, is given 2 points for each counter-terrorist plus 2 points for the one who rescued. = For being the MVP, is given 2 points for the player. = For VIP Escaping, is given 2 points for each counter-terrorist plus 2 points for the one who escaped. = For Killing the VIP, is given 2 points for each terrorist plus 2 points for the one who killed. --- Commands: = Normal Commands: == sm_rankme == sm_session == sm_statsme == sm_hitboxme == sm_weaponme == sm_rank == sm_next == sm_top == sm_top x (x equals number) (also topx on chat) == sm_topkills == sm_topkills x (x equals number) (also topkillsx on chat) == sm_topdeaths == sm_topdeaths x (x equals number) (also topdeathsx on chat) == sm_topknife == sm_topknife x (x equals number) == sm_topnade == sm_topnade x (x equals number) == sm_tophs == sm_tophs x (x equals number) (also tophsx on chat) == sm_topacc == sm_topacc x (x equals number) (also topaccx on chat) == sm_toptime == sm_toptime x (x equals number) (also toptimex on chat) == sm_topweapon == sm_topweapon x (x equals weapon name. Eg: glock,usp) == sm_topweapon x z (x equals weapon name. Eg: glock,usp. z equals number) == sm_resetmyrank = Admin Commands == Root flag: === sm_resetrank "STEAM:ID/Name/IP Address" (don't forget the quotes, the info inside the quotes depends on your rank mode) === sm_rankpurge X (x equals number of days of inactivity) === sm_resetrank_all === sm_rankme_import_mani (import rank data from Mani Admin Plugin) === sm_rankme_remove_duplicate (remove duplicated rows) == Generic Flag: === sm_statsme2 <name / #position on top / steam> -> ==== Examples: ===== sm_statsme2 "STEAM_0:0:12345678" ===== sm_statsme2 "lok1" ===== sm_statsme2 #1 -> get the stats from the top1 --- ConVars: = rankme_version -> RankMe Version You can found these CVars on cfg/sourcemod/rankme.cfg. (The file is auto-generated in the first run). = rankme_enabled -> Is RankMe enabled? 1 = true 0 = false. Default 1. = rankme_rank_by -> Rank players by? 0 = STEAM:ID 1 = Name 2 = IP. Default 0. = rankme_rankbots -> Rank bots? 1 = true 0 = false. Default 0. = rankme_show_bots_on_rank -> Show bots on rank/top/etc? 1 = true 0 = false. Default 0. = rankme_changes_chat -> Show points changes on chat? 1 = true 0 = false. Default 1. = rankme_ffa -> Free-For-All (FFA) mode? 1 = true 0 = false. Default 0. = rankme_rank_mode -> Rank by what? 1 = by points 2 = by KDR. Default 1. = rankme_mysql -> Using MySQL? 1 = true 0 = false (SQLite). Default 0. = rankme_sql_table -> The name of the table that will be used. (Max: 100). Default "rankme". = rankme_dump_db -> Dump the Database to SQL file? (required to be 1 if using the web interface and SQLite, case MySQL, it won't be dumped) 1 = true 0 = false. Default 0. = rankme_autopurge -> Auto-Purge inactive players? X = Days 0 = Off. Default 0. = rankme_points_bomb_defused_team -> How many points CTs got for defusing the C4? Default 2. = rankme_points_bomb_defused_player -> How many points the CT who defused got additional? Default 2. = rankme_points_bomb_planted_team -> How many points TRs got for planting the C4? Default 2. = rankme_points_bomb_planted_player -> How many points the TR who planted got additional? Default 2. = rankme_points_bomb_exploded_team -> How many points TRs got for exploding the C4? Default 2. = rankme_points_bomb_exploded_player -> How many points the TR who planted got additional? Default 2. = rankme_points_hostage_rescued_team -> How many points CTs got for rescuing the hostage? Default 2. = rankme_points_hostage_rescued_player -> How many points the CT who rescued got additional? Default 2. = rankme_points_hs -> How many additional points a player got for a HeadShot? Default 1. = rankme_points_kill_ct -> How many points a CT got for killing? Default 2. = rankme_points_kill_tr -> How many points a TR got for killing? Default 2. = rankme_points_kill_bonus_ct -> How many points a CT got for killing additional by the diffrence of points? Default 1. = rankme_points_kill_bonus_tr -> How many points a TR got for killing additional by the diffrence of points? Default 1. = rankme_points_kill_bonus_dif_ct -> How many points of diffrence is needed for a CT to got the bonus? Default 100. = rankme_points_kill_bonus_dif_tr -> How many points of diffrence is needed for a TR to got the bonus? Default 100. = rankme_points_ct_round_win -> How many points an alive CT got for winning the round? Default 0. = rankme_points_tr_round_win -> How many points an alive TR got for winning the round? Default 0. = rankme_points_knife_multiplier -> Multiplier of points by knife. Default 2. = rankme_points_start -> Starting points. Default 1000. = rankme_minimal_kills -> Minimal kills for entering the rank. Default 0. = rankme_minimumplayers -> Minimum players to start giving points. Default 2. = rankme_show_rank_all -> When rank command is used, show for all the rank of the player? 1 = true 0 = false. Default 0. = rankme_resetownrank -> Allow player to reset his own rank? 1 = true 0 = false. Default 0. = rankme_vip_enabled -> Show AS_ maps statiscs (VIP mod) on statsme and session? 1=true 0=false. Default 0. = rankme_points_vip_escaped_team -> How many points CTs got helping the VIP to escaping? Default 2. = rankme_points_vip_escaped_player -> How many points the VIP got for escaping? Default 2. = rankme_points_vip_killed_team -> How many points TRs got for killing the VIP? Default 2. = rankme_points_vip_killed_player -> How many points the TR who killed the VIP got additional? Default 2. = rankme_percent_points_lose -> Multiplier of losing points. (WARNING: MAKE SURE TO INPUT IT AS FLOAT) 1.0 equals lose same amount as won by the killer, 0.0 equals no lose. Default 1. = rankme_points_lose_round_ceil -> If the points is f1oat, round it to next the highest or lowest? 1 = highest 0 = lowest. Default 1. = rankme_points_lose_tk -> How many points a player lose for Team Killing? Default 0. = rankme_points_lose_suicide -> How many points a player lose for Suiciding? Default 0. = rankme_chat_triggers -> Enable (non-command) chat triggers. (e.g: rank, statsme, top) Recommended to be set to 0 when running with EventScripts for avoiding double responses. 1 = true 0 = false. Default 1. = rankme_points_mvp_ct -> How many points a CT got for being the MVP? Default 1. = rankme_points_mvp_tr -> How many points a TR got for being the MVP? Default 1. --- Translations: = English. = Brazilian Portuguese. = French. Big thanks to Messiah93 and Zirconium and MarechalSummers. (Missing MVP translation and the Bomb Pickup and Drop, Deaths and ResetMyOwnRank translations) = German. Big thanks to Dr. Greg House and Lord_Rofl. (outdated) = Polish. Big thanks to SilvErr and sajmon83. (Missing the Deaths and ResetMyOwnRank translations) = Russian. Big thanks to ShufflexDD and Lord Canistra. (Missing MVP translation and the Bomb Pickup and Drop, Deaths and ResetMyOwnRank translations)) = Netherlands. Big thanks to Monkeys. (outdated) = Spanish. Big thanks to Franc1sco. (outdated) = Lithuanian. Big thanks to hleV. (outdated) = Korean. Big thanks to Blowst. (Missing the Deaths and ResetMyOwnRank translations) = Norwegian. Big thanks to hasjduden. (outdated) --- For using as MySQL: First of all, at database.cfg, on your sourcemod/configs folder, set the configs for the database at a connection called "rankme". Example: Code:
"rankme" --- Natives: A sample of using Natives is on scripting/include folder. Code:
/********************************************************* Code:
/********************************************************************* = Commands: = = Features: = Activity = Auto-reset rank = Points given based on weapon --- Known Bugs: = It has been reported to me that sometimes, running Eventscripts (problem an addon/plugin of it) will make chat triggers from RankMe be called twice. I'm looking at it but i have almost no knowledge about ES. --- Installation: Simply extract the rankme.zip at your addons/sourcemod folder. --- Plugins using RankMe: = [CS:S] RankMe Connect Announcer --- Credits: = lok1 (me) -> Making the plugin. = AlliedModders Staff/SourceMod Staff -> Providing information and SourceMod. = XTREME TEAM SURF SERVER -> Allowing me to use the plugin there while making it. = Black Candle (XTREME SERVER OWNER) -> Bothering me about the bugs to fix. (I'm really lazy to make things). = SMLib -> Taken 1 function. = exvel -> [INC] Colors. = Antithasys -> Helping me with the say triggers. = Translation Project -> Translating the plugin = All the guys that report bugs, suggest features and criticise it. -> It make me want to continue with the plugin and make it better. --- Donate: I'm a student. I'm at school all day and afternoon and can develop only by night that is my free time. So, if you like the plugin, feel free to send me a game on steam. (vinifred01) --- Web Interface: I'm posting too, my simple web interface. For using it if running into SQLite, set the cvar rankme_dump_db to 1. Note that, as it needs to make a dump, if you have thousands of players, it may cause lag spikes at round end. (when the dump is made) Just upload to your WebServer with PHP and MySQL the files and edit config.php setting the data (DB, on the web server, and FTP, of the game server. If you are using the plugin at MySQL, change $sqlite_server to false). It is really ugly. The data is updated every 3 minutes for avoiding traffic. (in case of sqlite). If you want to change the interval, change the line: Code:
if(intval($lastback)+180 < mktime()){ Code:
if(intval($lastback)+N < mktime()){ The up folder should be CHMOD 777. If you want to check it out click here. Another example of (custom) design is here and here. --- Reporting issues/support: When you need help with the plugin, please tell me the info below: - Ranking by Name or Steam or IP? - Ranking by Points or KDR? - Running with SQLite or MySQL? - Plugin Version === If you need any other feature, please, don't edit it. Ask me and I will make it and release a new version with the feature since it may be what others people want. === If you make a better design and code for the Web Interface, please post it and I will put it on this post. (at least, post the URL to it so it can be used as example). === Please, post bugs, suggestions and critics. === If possible, translate/update the translation for your language and post the translation. === Please, rate the thread. === I'm brazilian, so, my english probably sucks. === If you want to post it in other forum, please, give the credits. === The source code is avaliable in the zip file and also at the SVN --- Changelog (MM/DD/YY): Code:
= V.0.9.0 (04/24/11): To see servers using it, click here. => When you download the plugin, first time or not, if possible, give me a feedback about how it is working and what you think about it so then i can use that to improve it. => You won't lose any data when updating the plugin. |
Re: [CS:S] RankMe
hi lok1, hitboxme command not work here any infos about it please ?
edit: !hitboxme work pls fix trigger same as other |
Re: [CS:S] RankMe
Just testing this on my test server
Code:
L 04/25/2011 - 13:45:46: [SM] Native "ClientCommand" reported: Client index 0 is invalid |
Re: [CS:S] RankMe
Fixing...
Thanks for reporting EDIT: Fixed. The fixed version is on the first post. |
Re: [CS:S] RankMe
lokizito, when hostage Rescued, the chat write bomb defuse :cry:
|
[CS:S] RankMe
Quote:
EDIT: Already fixed, but, wouldn't be enough just Replace the ' with nothing as i was doing? Quote:
Fixing... EDIT: Fixed. The fixed version is on the first post. |
Re: [CS:S] RankMe
Hey back lokizito, when we type "top" or "topknife" i haven't name player in list, i have 1 2 3 4 :shock:
|
Re: [CS:S] RankMe
Quote:
I think it is because is needed to re-enter in the database the names again (when the players connect). But anyway, i'll be checking it. Thanks. EDIT: Fixed it. It was really bugged. Fixed version on the first post. ( added also a new command, see changelog ) |
Re: [CS:S] RankMe
New version posted.
|
Re: [CS:S] RankMe
New version posted.
|
Re: [CS:S] RankMe
there is no exit menu on hitboxme and on session.
is there a way to let those menus dissapear after x seconds ? I played on my testserver with 10 bots, but "say rank" shows only 5 players (me and 4 bots xD ) |
Re: [CS:S] RankMe
Quote:
Lo, lokizito is possible to add rankme.cfg for: - enable/disable plugin - disable bot in stats - disable flood chat (mode silent) Thanks for this plugin and regular update - Now i wait about translation =) |
Re: [CS:S] RankMe
Quote:
EDIT: The CVars are done, just testing now. Soon will be released. |
Re: [CS:S] RankMe
New version posted.
|
Re: [CS:S] RankMe
I have forgotten of uploading the files. Sorry. Now it's uploaded. See first post.
|
Re: [CS:S] RankMe
i'll test thanks :shock:
|
Re: [CS:S] RankMe
New version posted.
See the first post for changelog and download. |
Re: [CS:S] RankMe (Version 1.3.2 - 02 May 11)
L 05/03/2011 - 09:49:40: [SM] Native "GetClientName" reported: Client 1 is not connected
L 05/03/2011 - 09:49:40: [SM] Displaying call stack trace for plugin "rankme.smx": L 05/03/2011 - 09:49:40: [SM] [0] Line 640, rankme.sp::SQL_LoadPlayerCallback() |
Re: [CS:S] RankMe (Version 1.3.2 - 02 May 11)
Quote:
EDIT: Already fixed. Thanks. |
Re: [CS:S] RankMe (Version 1.3.3 - 03 May 11)
New version posted. See first post for changelog.
|
Re: [CS:S] RankMe (Version 1.3.3 - 03 May 11)
thanks for the plugin!
i think you should make the number "1" as the "close" button for the rank menus. also i think the command rank should be shown on a menu not in chat |
Re: [CS:S] RankMe (Version 1.3.3 - 03 May 11)
Working very well
Good job What is Silent triggers? 1 = true 0 = false Does that mean only the client sees the menu when prompted? |
Re: [CS:S] RankMe (Version 1.3.3 - 03 May 11)
Quote:
Quote:
|
Re: [CS:S] RankMe (Version 1.3.3 - 03 May 11)
thanks for the information
I am getting a bit of lag after each kill, but no more error messages |
Re: [CS:S] RankMe (Version 1.3.3 - 03 May 11)
I spoke too soon
L 05/04/2011 - 14:08:21: [SM] Plugin encountered error 15: Array index is out of bounds L 05/04/2011 - 14:08:21: [SM] Displaying call stack trace for plugin "rankme.smx": L 05/04/2011 - 14:08:21: [SM] [0] Line 525, rankme.sp::EventPlayerDeath() L 05/04/2011 - 14:38:30: Error log file session closed. and this... L 05/04/2011 - 15:14:06: [SM] [0] Line 548, rankme.sp::EventPlayerHurt() L 05/04/2011 - 15:14:06: [SM] Native "IsFakeClient" reported: Client index 0 is invalid L 05/04/2011 - 15:14:06: [SM] Displaying call stack trace for plugin "rankme.smx": L 05/04/2011 - 15:14:06: [SM] [0] Line 479, rankme.sp::EventPlayerDeath() L 05/04/2011 - 15:16:12: Error log file session closed. |
Re: [CS:S] RankMe (Version 1.3.3 - 03 May 11)
Quote:
The second error is fixed. New version posted. See first post for changelog. |
Re: [CS:S] RankMe (Version 1.3.4 - 04 May 11)
Hi there.
I want to install web interface but it doesn't work, i don't know what i must write in restore.php, here : $ftpDIR = "/games/halflife_source/orangebox/cstrike"; // CSTRIKE FOLDER ON FTP I just copy/past the adress of my cstrike folder and it doesn't work. Thanks for help me |
Re: [CS:S] RankMe (Version 1.3.4 - 04 May 11)
Quote:
It was my fault. The code was wrong. Please, download the fixed version from the first post. Thanks for reporting. Also, if you want to, post the URL from your rank, so i can use it as another example of the Web Interface. |
Re: [CS:S] RankMe (Version 1.3.4 - 04 May 11)
|
Re: [CS:S] RankMe (Version 1.3.4 - 04 May 11)
So far so good
Thanks |
Re: [CS:S] RankMe (Version 1.3.4 - 04 May 11)
Thanks.
|
Re: [CS:S] RankMe (Version 1.3.4 - 04 May 11)
New version posted. Added translations and Auto-purge.
See first post for changelog. |
Re: [CS:S] RankMe (Version 1.4.1 - 07 May 11)
New version posted.
See first post for changelog. |
Re: [CS:S] RankMe (Version 1.4.1 - 07 May 11)
Quote:
--- Installation: Copy rankme.smx to plugins folder. Copy rankme.phrases.txt to translations folder. |
Re: [CS:S] RankMe (Version 1.4.2 - 07 May 11)
New version posted. (Fix)
See first post for changelog. |
Re: [CS:S] RankMe (Version 1.5.0 - 08 May 11)
New version posted. Feature and Fix.
See first post for changelog. |
Re: [CS:S] RankMe (Version 1.5.0 - 08 May 11)
Will be very nice if u can put a Start points needed to start rankin like, player needs to got 50 or 100 (with a cvar for him) points before apear in the rank.
[EDIT]I forgot, and some Cvars for point losing like player and team loses.... because with this i can config for only klling get points and when u die do not lose point...[/EDIT] |
Re: [CS:S] RankMe (Version 1.5.0 - 08 May 11)
Every time i load this plugin my chat dont work, people can write rank and that but you can`t see any message type in the chat and its for both team and say ....
|
Re: [CS:S] RankMe (Version 1.5.0 - 08 May 11)
Quote:
1 -> don't show in the chat. 0 -> show in the chat. Your's probably are set to 1. Check it at rankme.cfg. |
Re: [CS:S] RankMe (Version 1.5.0 - 08 May 11)
Quote:
Minimal points or minimal kills for start ranking? Quote:
|
All times are GMT -4. The time now is 15:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.