Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[FPS] Fire Players Stats


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy

68747470733a2f2f686c6d6f642e6e65742f6174
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

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...