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[L4D & L4D2] GameTime Announcer <fork> v2.0 [8-February-2023]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
about
  • a commision from my friend LindaFelicia, he request fix from source code, but i rewrited it
  • must get a steam dev key from https://steamcommunity.com/dev
  • must install extension "REST in Pawn", plugin can compile online but need that to work
  • already tested on l4d1 and l4d2


Credits
ConVar
PHP Code:

// admin flag to access sm_gametime command and receives query results,
// a=reserved slots, empty=everyone, see more in /configs/admin_levels.cfg
gametime_access ""

// important: valve dev key to query, get on https://steamcommunity.com/dev
gametime_devkey ""

// print messages when gametime fetch failed 1=console 2=public chat 3=both
gametime_failure "3"

// which query is prefer, if got once then dont announce another, 1=steam profile 2=achievement stats 0=display every
gametime_prefer "2"

// which gametime data sources to be query 1=steam profile 2=stats of achievement 3=both
gametime_queries "3" 

changelog
  • v2.0 (Start at 26-January-2023, Released at 8-February-2023)
    - all translation support
    - completely rewrite
    - validate response http status and validate response JSON
    - support lateload mode
    - merge Profile and Stats features on single plugin
    - fix player disconnected during requesting
    - remove color.inc requirement, but not {red} support anymore
    - solve memory leaks for handles
    - prefer mode
    - command access permission
    - support L4D1
    - dynamic wait dev key inputs
    - show all player GameTime when message receive available
    - sm_gametime [override *_prefer] display all of players gametime
    - command support console view all data
    - optional request failure actions

todo
  • maybe retry when request timeout or send fail


Installation
  • put l4d_gametime.smx on /plugins/
  • put l4d_gametime.phrases.txt on /translations/

Attached Files
File Type: sp Get Plugin or Get Source (l4d_gametime.sp - 18.2 KB)
File Type: txt l4d_gametime.phrases.txt (921 Bytes)

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ę...