GithubHelp home page GithubHelp logo

kento-rankme's Introduction

RankMe Kento Edition

Rankme plugin for CSGO servers, improved from benscobie's rankme.

IF YOU WANT TO UPDATE YOUR RANKME TO MINE, YOU HAVE TO BACKUP YOUR OLD DATABSE, LOAD THIS PLUGIN AND THEN IMPORT YOUR OLD DATABSE.

Forum Thread

For more info please go here

https://forums.alliedmods.net/showthread.php?p=2467665

Credits

  • lok1 - Developed the original RankMe plugin that this plugin is based on;
  • benscobie - This plugin is improved from his version;
  • pracc - Code of kill assist 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;
  • CrazyHackGUT - Thanks for his optimization;
  • paulocrash - Thanks for his Português-BR translation;
  • awyxx - Thanks for his Portuguese translation

Donate

If you apreciate my work, you can donate me via steam trade offer

kento-rankme's People

Contributors

2389736818 avatar abnerfs avatar anyoneljv avatar blakebill avatar borzaka avatar crazyhackgut avatar danielsartor avatar e54385991 avatar elitcky avatar eyal282 avatar ezspot avatar kxnrl avatar piotrekkrol7 avatar robingroppe avatar roby2014 avatar rogeraabbccdd avatar sarrus1 avatar shanapu avatar snakeren avatar sneak-it avatar solohk525 avatar szogi1910 avatar tr1d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kento-rankme's Issues

!top !session

!top and !session and another command don't work only !rank work on plugin

Server VAR related

I notice server VAR spike a little when player get kills and spike up harder when a player join or disconnect from server.
My server running 32 slots / 128 tickrate

Can we reduce this ?

  • Anyway to write a round stats into cache , then plugin only write stats into mysql at the end of rounds ?
  • Anyway to disable checking ranks on player join and disconnect ?

Change teams

I found two small problems with the plug, when we change the team after 15 rounds, something on a principle meathmetchingu.

  • After adding teams change, the plugin does not correctly count match_win
  • Same with the point for the winning / losing match. The player has no added or subtracted points

Dobbel Reg

Sometimes players get's double registered. Any reason why? Same Steamid and nick.

help integrating data

Hi, I've been using your plugin for more than a week and now have data for more than 5 thousand players.
I did not realise that I did not turn mysql on in cfg file.

I did now, and set up connection to the database.
Though i'm afraid that the database is still empty. Would the plugin upload the existing data to the db?
I have dumped sq3 file just in case I lose that data, but i really want that info to be showing on webpage.
I used the same script by nguyenbaodanh

What are my next steps to integrate the existing data and the one that will be gathered later in time?
Should I somehow manually change sqlite databse into mysql one and upload it to webhost?

I got really confused. Any help or advice will be appreciated. Thanks

Adding to !rank string

I have a quick question.

I am customizing the translations file in order to display the text I want when a person views their own rank by typing !rank.

I would like to know, is there is a command (ex. KDR of {8}) that lists the total headshots a person has?

I am trying to add to the string when a person types !rank to also say "you have {X} total headshots".

Does this exist?

Invalid query Handle c29c80e2 (error: 4)

Logs:

L 03/28/2018 - 17:49:32: [SM] Exception reported: Invalid query Handle c29c80e2 (error: 4)
L 03/28/2018 - 17:49:32: [SM] Blaming: kento_rankme.smx
L 03/28/2018 - 17:49:32: [SM] Call stack trace:
L 03/28/2018 - 17:49:32: [SM] [0] SQL_FetchString
L 03/28/2018 - 17:49:32: [SM] [1] Line 1401, C:\Users\LIB\Downloads\aaa\sourcemod-1.8.0-git6027-windows\addons\sourcemod\scripting\include\kento_rankme/cmds.inc::SQL_RankCallback

(Driver "mysql" not found)

Error:
http://pastebin.com/r8wxvntE

Database.cfg
"rankme"
{
"driver" "mysql"
"host" "213.**"
"database" "games"
"user" "games_user"
"pass" "****"
}

(1.8.0.5970) by AlliedModders LLC
"RankMe" (3.0.3.Kento.20) by lok1, Scooby, pracc, Kento'
Ubuntu Server 16.04

Help

How I can install that to my server ?
I put the .smk in the sourcemod/Plugin restart server and nothing happend

Active players getting deleted out of database??

I have the cfgs on this plugin set to not delete any points yet after about 2 weeks of usage out of this rank setup I have been experiencing players ranks getting deleted out of the setup out of no where when they are super active and I have the option to reset ranks disabled for everyone.

This is really weird as its basically been resetting rank #1 spot and making them grind back up. Lots of points randomly go missing.

Also I know there is a command for this but I have SEVERAL players where they are double ranked. This gets quite tedious to keep deleting all the doubled one by one with their steam ID. What is causing them to double up? Ideally these couple issues should be first addressed before adding anymore enhancements to this plugin as they are kind of make or break using the plugin.

Hopefully there's something I can do to fix the players ranks getting randomly deleted as I think that is the biggest issue I have seen so far. If not I understand and I'll just have to re-setup HLStats CE again which is a huge pain to set back up. I liked how easy this plugin was to setup and I use to use the original for CS:Source in my setup so its very familiar for me.

Strange Hit Stats

In my statistics there are strange numbers...
Here's an example:

shots":"1210",
"hits":"452"

"head":"653",
"chest":"856",
"stomach":"255",
"left_arm":"31",
"right_arm":"139",
"left_leg":"68",
"right_leg":"71"

[{"id":"9045","steam":"STEAM_1:0:***","name":"","lastip":"***","score":"438","kills":"164","deaths":"31","assists":"0","suicides":"0","tk":"0","shots":"1210","hits":"452","headshots":"147","connected":"6505","rounds_tr":"65","rounds_ct":"144","lastconnect":"1491500764","knife":"1","glock":"0","hkp2000":"0","usp_silencer":"0","p250":"0","deagle":"0","elite":"0","fiveseven":"0","tec9":"0","cz75a":"0","revolver":"0","nova":"0","xm1014":"0","mag7":"0","sawedoff":"0","bizon":"0","mac10":"0","mp9":"0","mp7":"0","ump45":"0","p90":"0","galilar":"0","ak47":"159","scar20":"0","famas":"0","m4a1":"0","m4a1_silencer":"3","aug":"0","ssg08":"1","sg556":"0","awp":"0","g3sg1":"0","m249":"0","negev":"0","hegrenade":"0","flashbang":"0","smokegrenade":"0","inferno":"0","decoy":"0","taser":"0","head":"653","chest":"856","stomach":"255","left_arm":"31","right_arm":"139","left_leg":"68","right_leg":"71","c4_planted":"0","c4_exploded":"0","c4_defused":"0","ct_win":"1","tr_win":"61","hostages_rescued":"0","vip_killed":"0","vip_escaped":"0","vip_played":"0","mvp":"30","damage":"122170"}]

http://SSMaker.ru/58d99c13/

How could this happen ?

Idea/Improvement

Have an admin command that can toggle via admin menu that gives Double Points for kills only (not lose any points for dying)- This would be used for Double point weekends / holidays etc.

KentoCoins

Maybe you could add something like coins, that can be used?
Kinda like Faceit Points, but insted you get KentoCoins for playing on a server.

  • 1 KentoCoin(KC) for 2minutes of play on a server.

database information

Where does these rank get saved. I mean in which database and how can i see ranks from host machine.

sm_statsme2

sm_statsme2 don't work, only one line in chat: [RankMe]

!rank !top not working

About 2 months ago, i put this plugin on my server and it was working but now it randomly stopped working, i got the updated plugin and it still didnt work. i dont know what i could be doing wrong but i would appreciate it if someone could help me resolve this issue.

HLTV rating

Advantages of Rating
Rating disregards the amount of rounds played in a match, as it considers average values, so it is very useful for comparing performances. It has a limited range, as it can go from 0 to 3 (although rarely over 2, which is then an amazing performance). It also has a well spread range of values that should reflect properly on how many average, good and great performances there are.

So here is how Rating is calculated in detail:

(KillRating + 0.7*SurvivalRating + RoundsWithMultipleKillsRating)/2.7

KillRating = Kills/Rounds/AverageKPR
SurvivalRating = (Rounds-Deaths)/Rounds/AverageSPR
RoundsWithMultipleKillsRating = (1K + 42K + 93K + 164K + 255K)/Rounds/AverageRMK

AverageKPR = 0.679 (average kills per round)
AverageSPR = 0.317 (average survived rounds per round)
AverageRMK = 1.277 (average value calculated from rounds with multiple kills: (1K + 42K + 93K + 164K + 255K)/Rounds)

1K = Number of rounds with 1 kill
2K = Number of rounds with 2 kill
3K = Number of rounds with 3 kill
4K = Number of rounds with 4 kill
5K = Number of rounds with 5 kill

Functions request

Hi I like to request for some functions settings:

  • first blood , first kill points
  • multi-kills points (double kills = x2 points, tripple kills = x3 points, ect...)
  • headshot victims points losing = points earn by killer
  • Team lose point lost for all players in the team

Error Log

Hello.
L 02/03/2018 - 14:57:29: [SM] Exception reported: Stack went below stack boundary
L 02/03/2018 - 14:57:29: [SM] Blaming: kento_rankme.smx
L 02/03/2018 - 14:57:29: [SM] Call stack trace:
L 02/03/2018 - 14:57:29: [SM] [1] Line 1215,
C:\Users\inded\OneDrive\addons\sourcemod\scripting\kento_rankme.sp::GetCurrentPlayers
L 02/03/2018 - 14:57:29: [SM] [2] Line 1898, C:\Users\inded\OneDrive\addons\sourcemod\scripting\kento_rankme.sp::EventWeaponFire

please help to fix

Array Issue

Getting the following error on the server and also have issues after performing Rank Reset of the whole Server.

[SM] Exception reported: Array index is out of bounds
L 07/07/2018 - 19:15:58: [SM] Blaming: kento_rankme.smx
L 07/07/2018 - 19:15:58: [SM] Call stack trace:
L 07/07/2018 - 19:15:58: [SM] [1] Line 2006, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::EventPlayerHurt
L 07/07/2018 - 19:18:47: [SM] Exception reported: Array index is out of bounds
L 07/07/2018 - 19:18:47: [SM] Blaming: kento_rankme.smx
L 07/07/2018 - 19:18:47: [SM] Call stack trace:
L 07/07/2018 - 19:18:47: [SM] [1] Line 2006, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::EventPlayerHurt
L 07/07/2018 - 19:19:43: [SM] Exception reported: Array index is out of bounds
L 07/07/2018 - 19:19:43: [SM] Blaming: kento_rankme.smx
L 07/07/2018 - 19:19:43: [SM] Call stack trace:

[Feature Request] New rankme_rank_mode

I saw that the plugin currently has two ways to rank players in rank, by Points and KDR.

rankme_rank_mode "1" //Rank by what? 1 = by points 2 = by KDR

You could put beyond these modes the option to calculate the player rank by Points and KDR together, and all actions that the players make within the game.

Let's say it would be the third mode 3 = Points + KDR

The translation of the plugin you could put on this site: http://translator.mitchdempsey.com/

So users could update the plugin translations there.

It would be possible @rogeraabbccdd?

Add config file

Add a config file so it's possible to adjust settings like name of table that is created.
Very useful when you are running multiple servers on the same database.

Counting noscope

It is quite useful for an awp server to count this, just for information.
If possible, also the distancing of the shot.

Wrong Names

Hi,
i got the problem that the names got shown wrong in the Database and with that in the Webstats.

I tried everything fixing it in mysql alone but it doesnt change. What could i do to fix this im really out of ideas and dont know much about plugins or mysql.

Configs not executing

I'm only having this issue since I updated the server as well as updating Sourcemod and Metamod.

To solve this I've tried executing the config manually in my server.cfg however it did not work.
If I set them using rcon then it works... any ideas?

It's worth noting that they are currently set to the defaults, however, I need MySQL and some of my other changes to the configs.

My Sourcemod error log is empty.

problem error

L 12/17/2016 - 11:15:26: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:15:26: [SM] Call stack trace: L 12/17/2016 - 11:15:26: [SM] [0] IsFakeClient L 12/17/2016 - 11:15:26: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart L 12/17/2016 - 11:16:09: [SM] Exception reported: Client 7 is not connected L 12/17/2016 - 11:16:09: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:16:09: [SM] Call stack trace: L 12/17/2016 - 11:16:09: [SM] [0] IsFakeClient L 12/17/2016 - 11:16:09: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart L 12/17/2016 - 11:16:47: [SM] Exception reported: Client 7 is not connected L 12/17/2016 - 11:16:47: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:16:47: [SM] Call stack trace: L 12/17/2016 - 11:16:47: [SM] [0] IsFakeClient L 12/17/2016 - 11:16:47: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart L 12/17/2016 - 11:17:25: [SM] Exception reported: Client 7 is not connected L 12/17/2016 - 11:17:25: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:17:25: [SM] Call stack trace: L 12/17/2016 - 11:17:25: [SM] [0] IsFakeClient L 12/17/2016 - 11:17:25: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart L 12/17/2016 - 11:18:00: [SM] Exception reported: Client 10 is not connected L 12/17/2016 - 11:18:00: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:18:00: [SM] Call stack trace: L 12/17/2016 - 11:18:00: [SM] [0] IsFakeClient L 12/17/2016 - 11:18:00: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart L 12/17/2016 - 11:18:48: [SM] Exception reported: Client 10 is not connected L 12/17/2016 - 11:18:48: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:18:48: [SM] Call stack trace: L 12/17/2016 - 11:18:48: [SM] [0] IsFakeClient L 12/17/2016 - 11:18:48: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart L 12/17/2016 - 11:19:23: [SM] Exception reported: Client 12 is not connected L 12/17/2016 - 11:19:23: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:19:23: [SM] Call stack trace: L 12/17/2016 - 11:19:23: [SM] [0] IsFakeClient L 12/17/2016 - 11:19:23: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart L 12/17/2016 - 11:20:06: [SM] Exception reported: Client 12 is not connected L 12/17/2016 - 11:20:06: [SM] Blaming: kento_rankme.smx L 12/17/2016 - 11:20:06: [SM] Call stack trace: L 12/17/2016 - 11:20:06: [SM] [0] IsFakeClient L 12/17/2016 - 11:20:06: [SM] [1] Line 1384, D:\CSGODS\CSGO\csgo\addons\sourcemod\scripting\kento_rankme.sp::Event_RoundStart

Doubts with a RankME kento Version

I wonder if you're still updating this rank?

I would also like to know if it has MySQL support, so I can create a website containing all the information of the players, a WebInterface.

Welcome message chineese ?

Hello,
I downgraded to 1.8 to be able to use your plugin with mysql !
I finally achieved my goal. But I just wanted to be able why the welcome message prints in chineese or strange symbols ? Can I repair it ?

Thanks

broken

this plugin is broken for me, i would like to reinstall, can someone please tell me all the files and databases that this plugin creates so that i can delete them, thank you.

Server isn't starting with h3bu's DeathMatch plugin.

Hi,
So i've a problem :
When i'm using your plugin with the H3bu's DM, sqlite local mode, there is no problem, all is fine. (except an errorlog about a message that i commented in the dm plugin config file).

But, when i'm trying to switch into the mysql mode, the server can't start, and the logs are saying this :
L 04/18/2017 - 08:00:04: SourceMod log file session started (file "L20170418.log") (Version "1.8.0.5947")
L 04/18/2017 - 08:00:04: -------- Mapchange to de_dust2 --------
L 04/18/2017 - 08:00:04: [GEOIP] GeoIP database info: GEO-106FREE 20161004 Build 1 Copyright (c) 2016 MaxMind
L 04/18/2017 - 08:00:04: [deathmatch.smx] Dynamic Hooks not found! Resuming without Dhooks features
L 04/18/2017 - 08:00:34: SourceMod log file session started (file "L20170418.log") (Version "1.8.0.5947")
L 04/18/2017 - 08:00:34: -------- Mapchange to de_dust2 --------
L 04/18/2017 - 08:00:34: [GEOIP] GeoIP database info: GEO-106FREE 20161004 Build 1 Copyright (c) 2016 MaxMind
L 04/18/2017 - 08:00:34: [deathmatch.smx] Dynamic Hooks not found! Resuming without Dhooks features

H3bus Plugin link : https://forums.alliedmods.net/showthread.php?t=233685
Thanks !
(steam : popof59)

Match Win

Hello
I have a small problem, namely after changing the teams in tournament mode when they win the terrorists adds to the match as a loser

Error logs

Hello,

These errors have been spamming my logs like crazy. It lags the server.

L 02/17/2017 - 19:04:37: [SM] Exception reported: Stack went below stack boundary
L 02/17/2017 - 19:04:37: [SM] Blaming: kento_rankme.smx
L 02/17/2017 - 19:04:37: [SM] Call stack trace:
L 02/17/2017 - 19:04:37: [SM]   [1] Line 1174, C:\Users\Yousef\Desktop\right\SM 1.8 28\addons\sourcemod\scripting\kento_rankme.sp::GetCurrentPlayers
L 02/17/2017 - 19:04:37: [SM]   [2] Line 1635, C:\Users\Yousef\Desktop\right\SM 1.8 28\addons\sourcemod\scripting\kento_rankme.sp::EventPlayerDeath
L 02/17/2017 - 19:06:13: [SM] Exception reported: Stack went below stack boundary
L 02/17/2017 - 19:06:13: [SM] Blaming: kento_rankme.smx
L 02/17/2017 - 19:06:13: [SM] Call stack trace:
L 02/17/2017 - 19:06:13: [SM]   [1] Line 1174, C:\Users\Yousef\Desktop\right\SM 1.8 28\addons\sourcemod\scripting\kento_rankme.sp::GetCurrentPlayers
L 02/17/2017 - 19:06:13: [SM]   [2] Line 1868, C:\Users\Yousef\Desktop\right\SM 1.8 28\addons\sourcemod\scripting\kento_rankme.sp::SalvarPlayer
L 02/17/2017 - 19:06:13: [SM]   [3] Line 2147, C:\Users\Yousef\Desktop\right\SM 1.8 28\addons\sourcemod\scripting\kento_rankme.sp::OnClientDisconnect

I had kento15 before updating today and it was working great with no errors.

I also noticed this error, but not a lot

L 02/17/2017 - 19:04:37: [SM] Exception reported: Invalid memory access
L 02/17/2017 - 19:04:37: [SM] Blaming: kento_rankme.smx
L 02/17/2017 - 19:04:37: [SM] Call stack trace:
L 02/17/2017 - 19:04:37: [SM]   [1] Line 496, C:\Users\Yousef\Desktop\right\SM 1.8 28\addons\sourcemod\scripting\include\string.inc::ExplodeString
L 02/17/2017 - 19:04:37: [SM]   [2] Line 995, C:\Users\Yousef\Desktop\right\SM 1.8 28\addons\sourcemod\scripting\kento_rankme.sp::OnSayText

Blank name

So I have one of my players who's name comes in blank on the webpage of this plugin. Do you guys have any idea what could be causing that? He happens to be rank 1 in our database and I want to be sure his name is visible for everyone to see.

https://imgur.com/a/Zjq2j

everyone is top 1 [solved]

when someone joins my server he is instantly top 1 player, i deleted old database and restarted the server, still problem
using sqlite

SM1.9 Fix ?

Hello !
I saw you didn't support SM 1.9.
Do you think to release a fix soon ?

Thank you so much

Tournament mode

Hello
Are you able to do fixa rankme for tournament mode for the win / lose match section
#58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.