AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [FPS] Fire Players Stats (https://forums.alliedmods.net/showthread.php?t=342039)

OkyHp 03-04-2023 05:09

[FPS] Fire Players Stats
 

https://hlmod.net/attachments/fps_bi...ack-png.95524/
Modern system for collecting player statistics

✳✳✳​

Statistics Information:
  • Support only CS:GO.
  • Statistics work based on ELO Levels Ranks formula. Its essence is that you get 1000 experience points and after calibration average rank. Depending on how well you play, your rank depends.
  • Statistics only works with MySQL.
  • Ranks number of is not limited. Setup is done through the command sm_fps_create_default_ranks or manually by sending an SQL query.
  • Statistics is trying to fix the superiority of new players over old ones when calculating points.
  • KillStrick: Additional points are credited within 10 seconds after the kill, after which there is a reset.
  • It is possible to set time limit to reset statistics for user.
  • Information message on gained/lost points is displayed only at the end of the round or player die.
  • Plugin supports bonus for killing with particular weapon taking into account map (You can specify different for different maps).


It's important to understand that statistics on functionality are very similar to LR, because it was taken as a basis, but plugin was written completely from scratch! He is deprived of possible problems of LR, but may have new ones!

✳✳✳​

List of modules for statistics

Thanks for the implementation ideas: Someone, Wend4r, M0st1ce.

Plugin Commands:

For players:
  • sm_pos, sm_position - Player position on server.
  • sm_stats, sm_rank, sm_fps, sm_lvl - Statistics main menu.
  • sm_top - List of available tops. Using the points, kdr, time, clutch arguments opens the corresponding top.​

For admin:
  • sm_fps_create_default_ranks - Creating default rank preset.
    ⋅ 0 - Default CS:GO Competitive ranks (18 lvl)
    ⋅ 1 - Danger Zone Ranks (15 lvl)
    ⋅ 2 - Facet ranks (10 lvl)
  • sm_fps_reset_all_stats - Reset all server statistics.

Requirements:
  • MySQL 5.7+ / MariaDB 10.4+
  • SteamWorks (Optional)

Installation:
  1. Download current version from repository.
  2. Place contents of archive in desired directories on server.
  3. Add a section with your database settings to addons/sourcemod/configs/databases.cfg:
    HTML Code:

    "fire_players_stats"
    {
            "driver"                        "mysql"
            "host"                                ""
            "database"                        ""
            "user"                                ""
            "pass"                                ""
            "port"                                "3306"
    }

  4. Start server so that plugin creates necessary tables in database.
  5. Enter the sm_fps_create_default_ranks <arg: ranks type set> command to use default ranks preset.

    Or load rank settings manually by sending an SQL query to database, having previously adjusted it to your needs:
    PHP Code:

    INSERT INTO `fps_ranks` (`rank_id`, `rank_name`, `points`) 
    VALUES 
        
    ('1''Silver I',                    '0'),
        (
    '1''Silver II',                    '700'), 
        (
    '1''Silver III',                    '800'), 
        (
    '1''Silver IV',                    '850'), 
        (
    '1''Silver Elite',                '900'), 
        (
    '1''Silver Elite Master',            '925'), 
        (
    '1''Gold Nova I',                '950'), 
        (
    '1''Gold Nova II',                '975'), 
        (
    '1''Gold Nova III',                '1000'), 
        (
    '1''Gold Nova Master',            '1100'), 
        (
    '1''Master Guardian I',            '1250'), 
        (
    '1''Master Guardian II',            '1400'), 
        (
    '1''Master Guardian Elite',        '1600'), 
        (
    '1''Distinguished Master Guardian',    '1800'), 
        (
    '1''Legendary Eagle',            '2100'), 
        (
    '1''Legendary Eagle Master',        '2400'), 
        (
    '1''Supreme Master First Class',    '3000'), 
        (
    '1''The Global Elite',            '4000'); 


Download: Last version | Sources

freak.exe_uLow 03-04-2023 11:07

Re: [FPS] Fire Players Stats
 
welcome OkyHp and use it myself for a longer time, good job you have done that and is so said a rebuild of level ranks only better :3

foxsay 03-04-2023 18:25

Re: [FPS] Fire Players Stats
 
I highly suggest this plugin, IT still needs some work on some new features, like not deleting player hours after rank reset as an option for example :) also, I find it quite a buggy process to reset statistics for this plugin, for example, u choose desired rank method but u wrote sm_fps_create_default_ranks command 2 times by accident it will add the same ranks 2 times and you will need to reset all the ranks again. If you could make auto restart option that would be perfect.

And there is a lack of translations in many different languages. If someone is reading my comment please add your language as well!

Wizzardoff 04-01-2023 17:16

Re: [FPS] Fire Players Stats
 
Any info how !rank shows in chat?

EDIT: i got it. Its changed to !pos. Maybe would be easier for all to use RANK and TOP like others but players will get used to if not possible.


All times are GMT -4. The time now is 17:33.

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