AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Fraglimit Advanced v1.1 [UPDATED 07.11.2010] (https://forums.alliedmods.net/showthread.php?t=141601)

Sho0ter 10-26-2010 08:38

Fraglimit Advanced v1.1 [UPDATED 07.11.2010]
 
Fraglimit Advanced
v1.1 by Sho0ter

Information:

When somebody made <fl_limit> frags, shows win motd and map changed.
* Plugin included own stats.


Credits:

shine771 - for original plugin
KORD_12.7 - for ranking code
Avalanche - for some win codes


Modules:

Amx Mod X
Cstrike


Admin commands:

fl_stats_reset - reset all stats (admin flag "l")

Say commands:

/top15 - show best 15 players (motd)
/rank - Show rank position
/rankstats - Show rank information (motd)

Settings:
See fraglimit.cfg
Code:

// Fraglimit Advanced v1.1 by Sho0ter

// [RU] Режим работы плагина
// [RU] 0 - Выключен
// [RU] 1 - Включен

// [EN] Enable / disable plugin
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_enable "1"

// [RU] Лимит фрагов
// [EN] Frag limit
fl_limit "100"

// [RU] Худ информер под радаром
// [RU] 0 - Выключен
// [RU] 1 - Включен

// [EN] HUD Informer
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_informer "1"

// [RU] Компоненты информера
// [RU] a - Время
// [RU] b - Осталось времени
// [RU] c - Очки
// [RU] d - Следующая карта
// [RU] e - Лидер
// [RU] f - Фрагов осталось
// [RU] g - Всего игроков

// [EN] Informer componets
// [EN] a - Time
// [EN] b - Timeleft
// [EN] c - Score
// [EN] d - Nextmap
// [EN] e - Leader
// [EN] f - Frags left
// [EN] g - Players
fl_informer_mode "abcdefg"

// [RU] Ведение статистики
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] Stats
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_stats "1"

// [RU] Рассчет ранга по
// [RU] 1 - Очкам
// [RU] 2 - Победам

// [EN] Ranking by
// [EN] 1 - Score
// [EN] 2 - Wins
fl_stats_type "1"

// [RU] Режим статистики
// [RU] 1 - По нику
// [RU] 2 - По IP
// [RU] 3 - По Steam ID

// [EN] Stats mode
// [EN] 1 - by nick
// [EN] 2 - by IP
// [EN] 3 - by SteamI D
fl_stats_by "1"

// [RU] Команда top15
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] Say top15
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_stats_top15 "1"

// [RU] Команда rank
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] Say rank
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_stats_rank "1"

// [RU] Команда rankstats
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] Say rankstats motd
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_stats_rankstats "1"

// [RU] Время уделения не активных
// [RU] игроков (в днях, 0 - выключить)

// [EN] Time to delete inactive
// [EN] players (days, 0 to disable)
fl_stats_prune "30"

// [RU] Показывать окно при победе
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] Show winner motd
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_winner_motd "1"

// [RU] Музыка когда ктото выиграл
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] Music when somebody win
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_music "1"

// [RU] Файл списка карт
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] Maplist file
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_maplist "maps.ini"

// [RU] Цикл карт
// [RU] 1 - Случайно
// [RU] 2 - По очереди

// [EN] Cycle mode
// [EN] 1 - Random
// [EN] 2 - Next
fl_cycle "1"

// [RU] Поддержка FFA
// [RU] 0 - Выключено
// [RU] 1 - Включено

// [EN] FFA Support
// [EN] 0 - Disabled
// [EN] 1 - Enabled
fl_ffa "0"

Changelog:

Code:

1.1:
        [+] Added cvar fl_informer_mode
        [+] Added score to informer
        [-] Removed RANKED from stats array
        [*] Fixed nextmap loader
        [*] Fixed reset temp stats
        [*] Fixed score calculation

 1.0:
        [!] First release


Vechta 10-26-2010 08:42

Re: Fraglimit Advanced v1.0
 
Looks nice^^

just75100 10-26-2010 10:05

Re: Fraglimit Advanced v1.0
 
nice test

Jacob 10-29-2010 20:51

Re: Fraglimit Advanced v1.0
 
i'll test ,thank you.

Jacob 10-29-2010 21:22

Re: Fraglimit Advanced v1.0
 
shooter,rank can not be updated real time in game.

Sho0ter 10-30-2010 07:07

Re: Fraglimit Advanced v1.0
 
Quote:

Originally Posted by Jacob (Post 1336990)
shooter,rank can not be updated real time in game.

Rank update when stats loading (in map start)

Jacob 10-30-2010 08:14

Re: Fraglimit Advanced v1.0
 
Quote:

Originally Posted by Sho0ter (Post 1337193)
Rank update when stats loading (in map start)

is it better to update stats every a certain amount of time or at the end of round(like csstats.DAT) ?do you think so.

Sho0ter 10-30-2010 08:36

Re: Fraglimit Advanced v1.0
 
Quote:

Originally Posted by Jacob (Post 1337242)
is it better to update stats every a certain amount of time or at the end of round(like csstats.DAT) ?do you think so.

no, for example csdm dont have rounds

Jacob 11-01-2010 04:04

Re: Fraglimit Advanced v1.0
 
Maybe you just want to use fraglimitaition function, but I think stats in your plugin is more useful,you use .DAT file to save data which is like csstats.DAT.if you modify your code,we will have a new rank system.

naven 11-01-2010 04:59

Re: Fraglimit Advanced v1.0
 
Remove .amxx file from .zip
btw. Polish translation
Code:

[pl]
FL_NICK = Nazwa gracza
FL_IP = IP
FL_STEAMID = Steam ID
FL_WINS = Zwyciestw
FL_SCORE = Wynik
FL_KILLS = Zabic
FL_DEATHS = Smierci
FL_RANK_IS = Twoja pozycja to %d z %d
FL_NO_RANK = !tNie !yklasyfikowany
FL_RANK_1 = Twoja pozycja to !t%d !yz !t%d!y, twoj wynik to !t%d !yoraz !t%d !yzwyciestw
FL_RANK_2 = Twoja pozycja to !t%d !yz !t%d!y, masz !t%d !yzwyciestw , a twoj wynik to !t%d
FL_3_LEFT = %s pozostalo 3 fragi
FL_2_LEFT = %s pozostalo 2 fragi
FL_1_LEFT = %s pozostal 1 frag
FL_WINNER = !t%s !yzwyciezyl!!!
FL_LINE_1 = %s <font color=white>Zwyciezca!</font>
FL_LINE_2 = Gracz<font color=green>%s</font> jako pierwszy zdobyl <font color=yellow>%d</font> fragow i zwycieza.
FL_LINE_3 = Zyskal <font color=yellow>%d</font> punktow, <font color=yellow>%d</font> za wynik oraz <font color=yellow>%d</font> za zwyciestwa!
FL_LINE_4 = Ostatnim fragiem byl <font color=red>%s</font>!
FL_LINE_5 = Zyskales <font color=yellow>%d</font> punktow, <font color=yellow>%d</font> punktow za wynik oraz <font color=yellow>%d</font> punktow za zwyciestwa!
FL_LINE_6 = Nastepna mapa: <font color=^"#0025FF^">%s</font>.
FL_TIME = Obecny czas
FL_TIMELEFT = Pozostaly czas
FL_LAST_ROUND = Bez limitu
FL_NEXTMAP = Nastepna mapa
FL_LEADER = Prowadzacy
FL_NONE = Brak
FL_WINNER_2 = Zwyciezca
FL_YOU_NEED = Potrzebujesz
FL_FRAGS = fragow
FL_PLAYERS = Wszyscy gracze



All times are GMT -4. The time now is 07:08.

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