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

[NMRiH] Win Rates


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
WINRATES - NMRiH

Description
  • Records and display winrate stats for every map played in a NMRiH server, inspired by Dayonn_dayonn, uses SQL threaded queries in order to avoid crashes and solves lots of bugs from before.

Admin Commands (ROOT FLAG)
  1. sm_delete_winrates --> Deletes all rows from database
  2. sm_delete_player_winrates <STEAM_1:0:0000000> --> Deletes a player using STEAMID
  3. sm_delete_map_winrates <map_name> --> Deletes a map by entering exact name

CVARS (.../cfg/sourcemod/nmrih_winrates.cfg)
  1. sm_nmrih_winrates_enabled --> Enable or disable NMRiH Winrates
  2. sm_nmrih_winrates_debug --> Will spam messages in console and log about any SQL action
  3. sm_nmrih_winrates_database --> Name of database keyvalue stored in sourcemod/configs/databases.cfg
  4. sm_nmrih_winrates_table --> Name of table used by database previously defined

Features
  • Will count a map clear after player getting extracted or after message "All players have been extracted"
  • Works even in maps without nmrih_extract_point entities
  • SQL Database to store at least 256 different maps, can be changed to more if it were very necessary
  • Full menu display with !winrates command
  • Translations available in english and spanish
  • A lose can only be stored if a player respawned at least once, otherwise that player never actually "played" the map, only was a spectator until reaching map change

Changelog
  • 1.0.0 - (13/08/2020)
    First release

Requirements
- autoexecconfig.inc (compile)

Install
  • Simply copy and merge /addons folder with the one in your game directory
  • Edit configs/databases.cfg --> Insert a new keyvalue set like the following example:
Quote:

"nmrih_winrates"
{
"driver" "sqlite"
"database" "nmrih_winrates"
}
Future plans
  • To do

Credits to Dayonn_dayonn: https://forums.alliedmods.net/showthread.php?p=2578250

DOWNLOAD

Attached Files
File Type: zip nmrih_winrates.zip (29.1 KB)

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

×
×
  • Dodaj nową pozycję...