Raised This Month: $12 Target: $400
 3% 

[L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pan0s
Senior Member
Join Date: Nov 2017
Plugin ID:
7697
Plugin Version:
2.5
Plugin Category:
Statistical
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-23-2021 , 02:33   [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]
    Reply With Quote #1

    Description:
    A powerful statistic and Ranking System, which uses sqlite database, that allows you setting/getting score from almost all l4d2 events.
    figure 1:
    Name:  srs_p1.jpg
Views: 8384
Size:  89.7 KB
    figure 2:
    Name:  srs_p3.jpg
Views: 8241
Size:  69.4 KB
    figure 3:
    Name:  1.jpg
Views: 8175
Size:  82.7 KB
    figure 4:
    Name:  2.jpg
Views: 8198
Size:  96.8 KB
    figure 5:
    Name:  3.jpg
Views: 8262
Size:  74.4 KB
    figure 6:
    Name:  4.jpg
Views: 8158
Size:  57.6 KB

    Spoiler

    Features:
    • Real-time update SRS panel data.
    • Combo score system
    • Uses SQLite Database
    • Records over 100+ records in the game.
    • Notification(Text/Sound) for player joining the game
    • Country ([--]) and Rank tag for players in the chat (can be turned off in the config file)
    • Supports showing rank when clients chat or join the game.
    • Supports viewing other player info.
    • Supports game mode score multiply.
    • Supports difficulty score multiply.
    • Supports weapons (gun/melee/throwable) score multiply.
    • Supports headshot (common/special) score multiply.
    • Supports kill (common/special) score multiply.
    • Supports native functions call.
    • etc.

    How to use?
    • Type !srs in the game to open SRS menu.
    • Type !top10 in the game to open SRS Top10 menu.
    • Type !mvp in the game to open SRS mvp menu.
    • Type !eff in the game to turn on/off combo effect.
    • Type !sound in the game to turn on/off combo sound.

    When will save data?
    To avoid making the server lag, I just added two triggers for it.
    • Round end
    • Player disconnected

    Native functions:
    Spoiler


    ConVars:
    Spoiler


    Pre-Installation:


    Recommend:
    To have the best performance, I suggest you installing scripted hud to display the score anytime (figure 2)


    Installation:
    Just unzip it to the sourcemod directory.

    Translations:
    • en - pan0s
    • zho - pan0s
    • chi - pan0s

    MySQL version #62 (Thank kochifish)
    HUB: #47
    GeoIP:#73
    Attached Files
    File Type: zip l4d2_srs_v2.5.zip (475.9 KB, 1588 views)
    __________________

    Last edited by pan0s; 06-29-2023 at 17:23.
    pan0s is offline
    VladimirTk
    Senior Member
    Join Date: Apr 2021
    Location: Perú - Latino América
    Old 06-23-2021 , 10:18   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #2

    Finally a new plugin on server statistics �� is it possible to install it on a local server? to use Listenserver? if i could add local server support it would be prefect
    VladimirTk is offline
    marki89
    Senior Member
    Join Date: Jun 2020
    Location: Argentina
    Old 06-23-2021 , 10:33   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #3

    It would also be good if it works for the local sv ;)
    marki89 is offline
    VladimirTk
    Senior Member
    Join Date: Apr 2021
    Location: Perú - Latino América
    Old 07-06-2021 , 11:27   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #4

    The plugin works fine for Windows Listenserver it was my mistake to assume it wouldn't
    Could you add a function or cvar so that the panel doesn't open automatically every time someone joins? they don't always know how to close it
    I do not know English in case it is not understood

    Last edited by VladimirTk; 07-06-2021 at 11:27.
    VladimirTk is offline
    pan0s
    Senior Member
    Join Date: Nov 2017
    Old 07-06-2021 , 20:56   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #5

    Quote:
    Originally Posted by VladimirTk View Post
    The plugin works fine for Windows Listenserver it was my mistake to assume it wouldn't
    Could you add a function or cvar so that the panel doesn't open automatically every time someone joins? they don't always know how to close it
    I do not know English in case it is not understood
    find
    Code:
    Format(longQuery, sizeof(longQuery), "%s,Auto_Open INTEGER DEFAULT 1", longQuery);
    g_players[client].bAutoOpen = true;
    replace to:
    Code:
    Format(longQuery, sizeof(longQuery), "%s,Auto_Open INTEGER DEFAULT 0", longQuery);
    g_players[client].bAutoOpen = false;

    Last edited by pan0s; 07-06-2021 at 21:14.
    pan0s is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 07-07-2021 , 23:07   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #6

    Very impressive!
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Wolfyy
    Junior Member
    Join Date: Nov 2020
    Old 07-29-2021 , 19:18   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #7

    Hello, thanks for this great plugin. At first I did not get displayed. Then I got the tip to add this chat processor, since then it works wonderfully. https://forums.alliedmods.net/showthread.php?p=2448733

    Can someone tell me how to completely hide the combos, which are shown in the middle of the screen as hint text?

    Last edited by Wolfyy; 07-29-2021 at 23:01.
    Wolfyy is offline
    Wolfyy
    Junior Member
    Join Date: Nov 2020
    Old 08-08-2021 , 20:59   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #8

    Quote:
    Originally Posted by pan0s View Post
    find
    Code:
    Format(longQuery, sizeof(longQuery), "%s,Auto_Open INTEGER DEFAULT 1", longQuery);
    g_players[client].bAutoOpen = true;
    replace to:
    Code:
    Format(longQuery, sizeof(longQuery), "%s,Auto_Open INTEGER DEFAULT 0", longQuery);
    g_players[client].bAutoOpen = false;
    We have the same problem that many players cannot close the menu and therefore no other important menus (classes / perks) are displayed. I exchanged the lines in scripting / l4d2_srs.sp but that didn't change anything.
    Wolfyy is offline
    pan0s
    Senior Member
    Join Date: Nov 2017
    Old 08-11-2021 , 20:28   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #9

    Quote:
    Originally Posted by Wolfyy View Post
    We have the same problem that many players cannot close the menu and therefore no other important menus (classes / perks) are displayed. I exchanged the lines in scripting / l4d2_srs.sp but that didn't change anything.
    The change which is like I said is just edits the default setting, and will not affect players who have already have their own record. It means players who join the game first time, that will not show SRS menu automatically, only if they turn the '4.Options -5.Auto Open SRS' on.
    Check your Options setting on the SRS menu (figure.4, the second figure).
    The Options setting will be saved to the db, so if you have already a record which has set the auto open SRS to true by default there,
    you need to turn the
    '4.Options -5.Auto Open SRS' off first by pressing '4' and '5' on the first page of the SRS menu.

    Last edited by pan0s; 08-11-2021 at 20:57.
    pan0s is offline
    Wolfyy
    Junior Member
    Join Date: Nov 2020
    Old 08-20-2021 , 14:28   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
    Reply With Quote #10

    Quote:
    Originally Posted by pan0s View Post
    The change which is like I said is just edits the default setting, and will not affect players who have already have their own record. It means players who join the game first time, that will not show SRS menu automatically
    Sadly it doesnt work.
    I put it ready with changed lines in l4d2_srs.sp on a other server and still everyone has it open.
    Wolfyy is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 05:41.


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