Veteran Member
Join Date: Jun 2015
Location: de_dust2
|
11-04-2016
, 16:38
[CS:GO] RankMe Kento Edition (3.0.3.Kento.33.2 | 2020-11-11)
|
#1
|
IF YOU WANT TO UPDATE YOUR RANKME TO MINE,
YOU HAVE TO DELETE YOUR OLD RANKME DATABASE
RUN THIS SQL COMMAND BEFORE YOU UPDATE TO THIS .31.5
OR PLAYER NAMES WILL FUCKED UP IN GAME MENUS LIKE TOP PLAYERS...ETC
PHP Code:
UPDATE `rankme` set name = convert(cast(convert(name using latin1) as binary) using utf8)
Description
An improved Rankme for CSGO servers, edited from benscobie's rankme
Changes
- Add Colors. (Edited csgocolors.inc)
- Add CSGO Weapons. (Revolver, USP-S, M4A1-S, CZ75-A...etc)
- Fix knife_falchion, knife_push and knife_survival_bowie will not count bug.
- Fix Molotov & Inc Grenade bug. (They should count in "Inferno")
- Include RankMe Connect Announcer.
- Add Kill Assist Support And Assist Stats. (Part of code from pracc's rankme, You will get point if you assist kill enemy.).
- Add MVP stats.
- Add Damage stats and DPR.
- Add KPR in statsme.
- Add New Commnad "topassists", "topmvp", "topdamage" & "toptk".
- Remove command "topnade", "topknife" and "toptaser". (Useless, you can check them in "topweapon")
- "statsme2" is open for everyone now.
- Make more phrases translatable.
- Match stats.
- No scope stats.
- And more...
Install- Upload smx and translation files to your server.
- Plugin will auto crate config file "cfg/sourcemod/kento_rankme.cfg".
- If you want to use mysql, change "rankme_mysql" to 1, and add this in your databases.cfg
Code:
"rankme"
{
"driver" "mysql"
"host" "your_host"
"database" "your_database"
"user" "your_user"
"pass" "your_pw"
//"timeout" "0"
"port" "3306"
}
- If mysql is not working for you, please check your sql connection, and linux user should also make sure sourcemod extention "dbi.mysql.ext" is running.
Cvars
Spoiler
PHP Code:
rankme_enabled "1" //Is RankMe enabled? 1 = true 0 = false"
rankme_rankbots "0" //Rank bots? 1 = true 0 = false"
rankme_autopurge "0" //Auto-Purge inactive players? X = Days 0 = Off"
rankme_points_bomb_defused_team "2" //How many points CTs got for defusing the C4?"
rankme_points_bomb_defused_player "2" //How many points the CT who defused got additional?"
rankme_points_bomb_planted_team "2" //How many points TRs got for planting the C4?"
rankme_points_bomb_planted_player "2" //How many points the TR who planted got additional?
rankme_points_bomb_exploded_team "2" //How many points TRs got for exploding the C4?
rankme_points_bomb_exploded_player "2" //How many points the TR who planted got additional?
rankme_points_hostage_rescued_team "2" //How many points CTs got for rescuing the hostage?
rankme_points_hostage_rescued_player "2" //How many points the CT who rescued got additional?
rankme_points_hs "1" //How many additional points a player got for a HeadShot?
rankme_points_kill_ct "2" //How many points a CT got for killing?
rankme_points_kill_tr "2" //How many points a TR got for killing?
rankme_points_kill_bonus_ct "1" //How many points a CT got for killing additional by the diffrence of points?
rankme_points_kill_bonus_tr "1" //How many points a TR got for killing additional by the diffrence of points?
rankme_points_kill_bonus_dif_ct "100" //How many points of diffrence is needed for a CT to got the bonus?
rankme_points_kill_bonus_dif_tr "100" //How many points of diffrence is needed for a TR to got the bonus?
rankme_points_ct_round_win "0" //How many points CT got for winning the round?
rankme_points_tr_round_win "0" //How many points TR got for winning the round?
rankme_points_ct_round_lose "0" //How many points CT lost for losing the round?
rankme_points_tr_round_lose "0" //How many points TR lost for losing the round?
rankme_points_knife_multiplier "2.0" //Multiplier of points by knife
rankme_points_taser_multiplier "2.0" //Multiplier of points by taser
rankme_points_start "1000" //Starting points
rankme_minimal_kills "0" //Minimal kills for entering the rank
rankme_percent_points_lose "1.0" //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
rankme_points_lose_round_ceil "1" //If the points is f1oat, round it to next the highest or lowest? 1 = highest 0 = lowest
rankme_changes_chat "1" //Show points changes on chat? 1 = true 0 = false
rankme_show_rank_all "0" //When rank command is used, show for all the rank of the player? 1 = true 0 = false
rankme_rank_all_timer "30.0" //Cooldown timer to prevent rank command spam. 0.0 = disabled
rankme_show_bots_on_rank "0" //Show bots on rank/top/etc? 1 = true 0 = false
rankme_resetownrank "0" //Allow player to reset his own rank? 1 = true 0 = false
rankme_minimumplayers "2" //Minimum players to start giving points
rankme_vip_enabled "0" //Show AS_ maps statiscs (VIP mod) on statsme and session?
rankme_points_vip_escaped_team "2" //How many points CTs got helping the VIP to escaping?
rankme_points_vip_escaped_player "2" //How many points the VIP got for escaping?
rankme_points_vip_killed_team "2" //How many points TRs got for killing the VIP?
rankme_points_vip_killed_player "2" //How many points the TR who killed the VIP got additional?
rankme_points_lose_tk "0" //How many points a player lose for Team Killing?
rankme_points_lose_suicide "0" //How many points a player lose for Suiciding?
rankme_rank_by "0" //Rank players by? 0 = STEAM:ID 1 = Name 2 = IP
rankme_ffa "0" //Free-For-All (FFA) mode? 1 = true 0 = false
rankme_mysql "0" //Using MySQL? 1 = true 0 = false (SQLite)
rankme_dump_db "0" //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
rankme_gather_stats "1" //Gather Statistics (a.k.a count points)? (turning this off won't disallow to see the stats already gathered) 1 = true 0 = false
rankme_days_to_not_show_on_rank "0" //Days inactive to not be shown on rank? X = days 0 = off
rankme_rank_mode "1" //Rank by what? 1 = by points 2 = by KDR
rankme_sql_table "rankme" //The name of the table that will be used. (Max: 100)
rankme_chat_triggers "1" //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
rankme_points_mvp_ct "1" //How many points a CT got for being the MVP?
rankme_points_mvp_tr "1" //How many points a TR got for being the MVP?
rankme_points_bomb_pickup "0" //How many points a player gets for picking up the bomb?
rankme_points_bomb_dropped "0" //How many points a player loess for dropping the bomb?
rankme_points_assiist_kill "1" //How many points a player gets for assist kill?
ankme_points_match_win "2" //How many points a player win for winning the match?
rankme_points_match_lose "2" //How many points a player loess for losing the match?
rankme_points_match_draw "0" //How many points a player win when match draw?"
rankme_announcer_player_connect "1" //Announce when a player connect with position and points?
rankme_announcer_player_connect_chat "1" //Announce when a player connect at chat?
rankme_announcer_player_connect_hint "0" //Announce when a player connect at hintbox?
rankme_announcer_player_disconnect "1" //Announce when a player disconnect with position and points?
rankme_announcer_top_player_connect "1" //Announce when a top player connect?
rankme_announcer_top_pos_player_connect "10" //Max position to announce that a top player connect?
rankme_announcer_top_player_connect_chat "1" //Announce when a top player connect at chat?
rankme_announcer_top_player_connect_hint "0" //Announce when a top player connect at hintbox?
rankme_gather_stats_warmup "1" //Gather Statistics In Warmup?
rankme_points_min_enabled "1" // Is minimum points enabled? 1 = true 0 = false
rankme_points_min "0" // Minimum points
rankme_rank_cache "1" //Get player rank via cache, auto build cache on every OnMapStart.
rankme_points_ns "1" //How many additional points a player got for a no scope kill?
rankme_points_ns_allsnipers "0" //0: ssg08 and awp only, 1: ssg08, awp, g3sg1, scar20
rankme_points_fb "1" //How many additional points a player got for a First Blood?
rankme_points_blind "1" // How many additional points a player got for a flashed kill?
rankme_points_smoke "1" // How many additional points a player got for killing through smoke?
rankme_points_lose_atk "1" // How many points a player lose for Assist Team Killing?
rankme_points_assiist_flash "1" // How many points a player gets for assist flash kill?
rankme_points_lose_atf "1" // How many points a lose for team assist flash kill?
rankme_points_wall "1" // How many additional points a player got for wallbang?
Commands
Spoiler
PHP Code:
//Admin Commands
sm_resetrank //RankMe: Resets the rank of a player
sm_rankme_remove_duplicate //RankMe: Removes the duplicated rows on the database
sm_rankpurge //RankMe: Purges from the rank players that didn't connected for X days
sm_resetrank_all //RankMe: Resets the rank of all players
//Player Commands
sm_session //RankMe: Shows the stats of your current session
sm_rank //RankMe: Shows your rank
sm_top //RankMe: Shows the TOP
sm_topweapon //RankMe: Shows the TOP ordered by kills with a specific weapon
sm_topacc //RankMe: Shows the TOP ordered by accuracy
sm_tophs //RankMe: Shows the TOP ordered by HeadShots
sm_toptime //RankMe: Shows the TOP ordered by Connected Time
sm_topkills //RankMe: Shows the TOP ordered by kills
sm_topdeaths //RankMe: Shows the TOP ordered by deaths
sm_hitboxme //RankMe: Shows the HitBox stats
sm_weaponme //RankMe: Shows the kills with each weapon
sm_resetmyrank //RankMe: Resets your own rank
sm_statsme //RankMe: Shows your stats
sm_next //RankMe: Shows the next 9 players above you on the TOP
sm_statsme2 //RankMe: Shows the stats from a player
sm_rankme //RankMe: Shows a menu with the basic commands
sm_topassists //RankMe: Shows the TOP ordered by Assists
sm_toptk //RankMe: Shows the TOP ordered by TKs
sm_topmvp //RankMe: Shows the TOP ordered by MVPs
sm_topdamage //RankMe: Shows the TOP ordered by damage
sm_rankmechat //Disable rankme chat messages
sm_topkdr // RankMe: Shows the TOP ordered by kdr
sm_toppoints // RankMe: Shows the TOP ordered by points
sm_topfb // RankMe: Shows the TOP ordered by first bloods
sm_topns // RankMe: Shows the TOP ordered by no scopes
sm_topnsd // RankMe: Shows the TOP ordered by no scope distance
sm_topfk // RankMe: Shows the TOP ordered by flashed kills
sm_topthrusmoke // RankMe: Shows the TOP ordered by killing through smokes
sm_topwall // RankMe: Shows the TOP ordered by wallbangs
Pictures Preview
Changelog
Spoiler
3.0.3.Kento.1 - Release.
- Add CSGO Weapons (Revolver, USP-S, M4A1-S, CZ75-A...etc)
- Add Colors (Edited csgocolors.inc)
- Fix knife_falchion, knife_push and knife_survival_bowie will not count bug.
- Fix Molotov & Inc Grenade Bug (They should count in "Inferno")
- Weapon Stats Update For Old Rankme Webinterface.
3.0.3.Kento.2 - Add Kill Assist Support (Code edited from pracc's rankme)
- New cvar "rankme_points_assiist_kill", def "1"
- Add connect announce hint for zho phrases (I forgot to add them in version Kento.1 lol)
3.0.3.Kento.3 - Add Assist Stats To Database
- Add new commnad "topassists" & "toptk"
- Remove command "topnade", "topknife" and "toptaser" (Useless, you can check them in topweapon)
- "statsme2" is open for everyone now
- Make more phrases translatable
- Delete your database before update to this version
3.0.3.Kento.4 - Add country into connect and disconnect announce
3.0.3.Kento.5 - Remove disconnect announce contry, I forgot this won't work
3.0.3.Kento.6 - Fix some stats will not count bug. (Looks like strings' size are too small so it's time to make them larger.)
- Remove points and rank change message in disconnect announce. (They are useless, how can player see these when he or she disconnect?)
3.0.3.Kento.7
3.0.3.Kento.8 - Fix toptk showing assists bug.
3.0.3.Kento.9 - GOTV bot will not add to database now.
- Add disconnect reason to disconnect announce.
3.0.3.Kento.10 - Add MVP to database
- New Command "topmvp"
- Delete your database before update to this version
3.0.3.Kento.11 - Add damage to database.
- Show damage in statsme & session.
- Show DPR(Damage Per Round) in statsme & session.
- Show KPR(Kill Per Round) in statsme & session.
- New command "topdamage".
- Add topmvp & topdamage to !rankme menu.
- Change round played count from player spawn to round start. (warmup have autorespawn)
- Delete your database before update to this version
3.0.3.Kento.12 - Fix Client is not connected bug.
3.0.3.Kento.13
3.0.3.Kento.14
3.0.3.Kento.15
3.0.3.Kento.16 - Fix round_ct and round_t will not count bug.
3.0.3.Kento.17 - Add new cvar "rankme_gather_stats_warmup" to disable stats and points in warmup.
3.0.3.Kento.18
3.0.3.Kento.19 - Fix "Client is not connected" bug.
3.0.3.Kento.20 - New cvar "rankme_points_min_enabled"
- New cvar "rankme_points_min"
3.0.3.Kento.21 - Now database will be created in "utf8mb4_general_ci"
- Try to fix bugs.
3.0.3.Kento.22 - Fix kdr in !rank will only change after changing map bug.
- Fix some translation phrases.
3.0.3.Kento.23 - Fix cmd "Invalid client index 0" bug.
3.0.3.Kento.24
3.0.3.Kento.25[LIST][*]New cvar "rankme_rank_cache"[*]Add 3 array to store rank cache.[*]Auto rebuild cache on map start.[*]On get client rank use cache instead of query sql.[*]Thanks Kxnrl.
3.0.3.Kento.26 - New console command "sm_rankmechat" to disable chat messages.
- Merge pul request from CrazyHackGUT.
3.0.3.Kento.27 - Add match stats and points.
- Fix statsme2 blank chat message.
3.0.3.Kento.28 - Rewrited in new syntax.
- Merged all forks on github.
- Fixed Array index out-of-bounds.
- Added new cvar "rankme_rank_all_timer".
- Added new knives in Horizon Case.
- Fixed match end stats counting and points.
- Deleted unnecessary web interface update in git repo.
3.0.3.Kento.29
3.0.3.Kento.29.1
3.0.3.Kento.29.2 - Weapon fire will not count knife and grenades now.
- Rewrite knife stats, it should support every knife now.
3.0.3.Kento.30 - Add first blood and no scope stats.
- Add new weapon "Breach Charges"
- weapon_melee, weapon_axe, weapon_hammer, weapon_spanner and weapon_fists are count as knife.
- Fix bayonet not counting in knife stats
- Add round lose points cvars for both teams.
- Now all players in team will get/lost round win/lose points.
3.0.3.Kento.31 - Add a cvar to disable connect/disconnect announce of admin. (#96)
- Add "topkdr" and "toppoints" commands
- Change statsme and session menu to 2 items per page. (#95)
- Move some code to new include files.
- Added native RankMe_IsPlayerLoaded.
- Fix KDR SQL query. (#100, #97)
- Fix reset rank doesn't reset some stats.
- Fix weaponme command.(Looks like I break this when I'm testing snowball.)
- Fix hitboxme(#106)
- Try to fix duplicates player in database.(#45)
- Add chat prefix to translation files.(#105)
3.0.3.Kento.31.1 - Fix sqlite unique index query.
- Fix topweapon command.
3.0.3.Kento.31.2 - Fix Invalid handle error on server start
- Fix check unique failed message.
- Try to fix #109.
3.0.3.Kento.31.3 - Fix memory leak.
- Fix minimal points.
3.0.3.Kento.31.4 - Transitional syntax for enum structs.
- Fix assist stats in ffa mode.
- Fix some translations. #130
3.0.3.Kento.31.5 - Fix SQL encoding
- Added French translation by Sarrus1
- Fixed simplified Chinese translation by blakebill
3.0.3.Kento.32 - Add new kill stats, kill through smoke, flashed kill, assist flash and assist team flash.
- Add new stats assist team kill.
- Add more top stats in !rankme menu.
- Exclude spectator when checking current players.
- Some optimize.
- Fix MVP count in top MVP.
3.0.3.Kento.32.1 - Fix get stats and get session native.
3.0.3.Kento.33 - Fix not loading new stats added in .32
- Add wallbang stat.
3.0.3.Kento.33.1 - Fix assist kill and assist flash stats counting.
3.0.3.Kento.33.2
3.0.3.Kento.33.3 - Fix showing wrong points in wallbang message.
Known Bugs
Web Interface
Discord
Third party plugins
To Do- Add new commnad "topkpr"
- Add new commnad "topdpr"
- Remove vip stats? Will CSGO official add vip gamemode in the future?
WARNING
"zho" and "en" phrases are always up to date, if you're using other language, please help me translate the plugin, thanks.
Credits- lok1 - Developed the original RankMe plugin that this plugin is based on.
- benscobie - This plugin is improved from his version.
- pracc - Part of kill assist code is edited from his rankme.
- TR1D - Thanks for his Russian translation.
- shanapu - Thanks for his German translation.
- 2389736818 - Thanks for his Simplified Chinese translation.
- Kxnrl - Thanks for his rankme cache.
- anyoneljv - Thanks for his Romanian translation.
- Elitcky - Thanks for his Spainish translation.
- CrazyHackGUT - Thanks for his optimization.
- awyxx - Thanks for his Portuguese translation.
Donate
If you apreciate my work, you can donate me via steam trade offer or paypal.
Git Repo
Download
__________________
Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.
GitHub | Discord:Kento#2118
Last edited by rogeraabbccdd; 04-26-2022 at 04:02.
|
|