AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022] (https://forums.alliedmods.net/showthread.php?t=333162)

pan0s 06-23-2021 02:33

[L4D2] Statistic and Ranking System (SRS) [v2.5 | 17 March 2022]
 
8 Attachment(s)
Description:
A powerful statistic and Ranking System, which uses sqlite database, that allows you setting/getting score from almost all l4d2 events.
figure 1:
Attachment 189963
figure 2:
Attachment 189965
figure 3:
Attachment 190020
figure 4:
Attachment 189968
figure 5:
Attachment 189969
figure 6:
Attachment 189970

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

VladimirTk 06-23-2021 10:18

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
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 :(

marki89 06-23-2021 10:33

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
It would also be good if it works for the local sv ;)

VladimirTk 07-06-2021 11:27

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
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 :(

pan0s 07-06-2021 20:56

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
Quote:

Originally Posted by VladimirTk (Post 2752008)
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;


Dragokas 07-07-2021 23:07

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
Very impressive!

Wolfyy 07-29-2021 19:18

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
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?

Wolfyy 08-08-2021 20:59

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
Quote:

Originally Posted by pan0s (Post 2752056)
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.

pan0s 08-11-2021 20:28

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
Quote:

Originally Posted by Wolfyy (Post 2754808)
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.

Wolfyy 08-20-2021 14:28

Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
 
Quote:

Originally Posted by pan0s (Post 2755091)
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.


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

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