See Github for most up to date info: https://github.com/walliski/myranks-for-gokz
An attempt to bring Local ranks into GOKZ. The ranking system that this plugin uses is very similar to the one that KZTimer has, but also has some differences. The KZTimer ranking system spams the SQL server with a massive amounts of queries to calculate the player rank, which makes it very slow for players that have completed a lot of maps. This plugin instead utilizes Stored Procedures in the SQL server, so that we can make a few queries, but still large calculations in the SQL server itself.
This unfortunately means that SQLite databases are not supported!
The score calculation has also been changed. KZTimer takes points from finished maps, LJ stats, challenges, and amount of map completions. In this plugin, the rank is calculated based on map finishes only. Biggest part of the points comes from which rank you get on the map itself, with a bonus if you are in the top 20, and a small participation award for first time completions.
The skillgroups (TRAINEE, REGULAR, SEMIPRO, etc.) are based on a percentage (set in config) of the average score of the top 5 players in each mode. This means that it will jump quite a bit in the beginning, but will smooth out over time. It is after all a ranking, and not a progression system, so the player that has the most score will always have the best rank, be it 100 score or 100 000.
The plugin requires GOKZ Localranks to be in use, and that maps that you want to calculate rank based on should be in the
cfg/sourcemod/gokz/gokz-localranks-mappool.cfg file, and you run
!updatemappool to mark them as ranked maps. Note that this marks them in the DB, so if you have multiple servers on the same DB, they will share the same pool and you only have to do this on one server.
Plugins & Commands
This plugin consists of three main plugins.
This is the main plugin that handles calculating score for players, parsing of skillgroups etc. With this plugin you will get access to the following commands:
- sm_rank <player> - Opens a menu that shows the rank of a player on the server, or yourself if no player specified.
- sm_ranks - Shows the "skillgroups", and how many points you need for them, in your current mode.
- sm_ranktop - Opens a menu for you to browse the top ranked players in each mode.
- sm_recalculate_top - Recalculates Top 100 ranks in each mode.
This is a copy of the GOKZ Chat processing plugin. It takes care of adding your current mode and skillgroup in front of your name in the chat. When using this, do not use gokz-chat.smx at the same time. Configuration happens the same way as for GOKZ-Chat plugin.
This is a copy of the GOKZ Clantags plugin. It changes the clantag of players in the scoreboard to contain their current selected mode, and the skillgroup for that mode. When using this, do not use gokz-clantags.smx at the same time.