Главная | Регистрация | Вход Приветствую Вас Гость | RSS
Меню сайта
Категории каталога
Патчи [6]
Звуки [5]
Серверное [10]
Готовые сервера [3]
Моды [6]
Прицелы [0]
Мини-чат
200
Наш опрос
За кого вы предпочитаете играть?
Всего ответов: 108
Главная » Файлы » Серверное

Запись чата лог
[ Скачать с сервера (13.1 Kb) ] 21.03.2008, 19:29
Chat Logger v2.1a

Description:
Сохраняет лог чата:
say, say_team, amx_say, amx_chat, amx_psay, amx_csay, amx_tsay
say @(@@|@@@)
say_team @
to the amxxdir\logs\filename.htm

Cvar:
cl_logmode 0 | 1 по умолчанию 1
0 : Сохраняет все в один файл ChatLog, и все сообщения в один html файл.
1 :имя файла - XXXX.XX.XX, Xs по дате, создает каждый день новый html файл.

Install:
Закидываем chat_logger.amxx в amxmodx/plugins
Закидываем chat_logger.sma в amxmodx/scripting
Вписываем строчку в amxmodx/configs/plugins.ini - chat_logger.amxx.
Обязательно над adminchat.amxx! (если такой установлен).
Цитата:
; Chat / Messages
chat_logger.amxx ; log chat messages by jim
adminchat.amxx ; console chat commands

antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
Пример логов (exactly):
Цитата:
22:55:46 <STEAM_0:1:23456789><000.000.000.000> *DEAD*.:|:. : hello
22:55:51 <STEAM_0:1:23456789><000.000.000.000> .:|:. : hello
22:55:54 <STEAM_0:1:23456789><000.000.000.000> (Terrorist) .:|:. : hello
22:55:59 <STEAM_0:1:23456789><000.000.000.000> .:|:. : hello
22:56:01 <STEAM_0:1:23456789><000.000.000.000> (Counter-Terrorist) .:|:. : hello
22:56:13 <STEAM_0:1:23456789><000.000.000.000> *SPEC*.:|:. : hello
22:56:21 <STEAM_0:1:23456789><000.000.000.000> *DEAD*(Terrorist) .:|:. : hello
22:56:23 <STEAM_0:1:23456789><000.000.000.000> *DEAD*.:|:. : hello
22:56:30 <STEAM_0:1:23456789><000.000.000.000> (Good Luck!) .:|:. : hello
22:56:46 <STEAM_0:1:23456789><000.000.000.000> (HUDCHAT) .:|:. : hello
22:56:50 <STEAM_0:1:23456789><000.000.000.000> (HUDCENTER) .:|:. : hello
22:56:55 <STEAM_0:1:23456789><000.000.000.000> (HUDBOTTOM) .:|:. : hello
22:57:04 <STEAM_0:1:23456789><000.000.000.000> (ALL) .:|:. : hello
22:57:11 <STEAM_0:1:23456789><000.000.000.000> (ADMINS) .:|:. : hello
22:57:17 <STEAM_0:1:23456789><000.000.000.000> (ADMIN) .:|:. : hello
16:17:20 <STEAM_0:1:23456789><000.000.000.000> (PLAYER) .:|:. : hello
Пример логов (cutline):
Цитата:
*DEAD*.:|:. unsigned team cmd: say
*SPEC*.:|:. spectator cmd: say or say_team
.:|:. terrorist alive cmd: say
(Terrorist) .:|:. terrorist alive cmd: say_team
(Good Luck!) .:|:. admin cmd: amx_psay "Good Luck!" is the listener.
(HUDCHAT) .:|:. admin cmd: amx_tsay or say @
(HUDCENTER) .:|:. admin cmd: amx_csay or say @@
(HUDBOTTOM) .:|:. admin cmd: say @@@
(ALL) .:|:. admin cmd: amx_say
(ADMINS) .:|:. admin cmd: amx_chat
(ADMIN) .:|:. player(is admin) cmd: say_team @
(PLAYER) .:|:. player cmd: say_team @
change log:
Цитата:
1.0 [2006-10-24]
- simple say, say_team log
1.1 [2006-10-25]
- add amx_say, amx_chat, amx_psay, amx_tsay, amx_csay log
- add say @(@@|@@@), say_team @ log
- htm page title change to "Chat Logger - XXXX.XX.XX" X is the date
- fix spelling error
1.2 [2006-10-28]
- add ip address log, format is
XX:XX:XX <steamid><ip> (team or user attribute) name : chat messages
1.3 [2006-10-29]
- add cvar cl_logmode, if set to 0, htm page title is "Chat Logger", format is
XXXX.XX.XX - XX:XX:XX <steamid><ip> (team or user attribute) name : chat messages
1.4 [2006-10-31]
- remove '@' symbol
- fix amx_psay concept error
1.5 [2006-11-01]
- fix a small bug when the say text contain html statement.
1.6 [2006-11-03]
- fix a bug when player's name contain html statement.
- not log chat messages of bots
- add simple instruction in the source code
1.7 [2006-11-06]
- tiny improvement on CheckPlayerName()
- change color code to color name
- add a title in the page
1.8 [2006-11-07]
- clean some code
1.9 [2006-11-08]
- fix bugs and optimize.
2.0 [2006-11-12]
- use function cs_get_user_team instead of get_user_team
- set font "Verdana" size 2
- optimize
2.1 [2006-11-20]
- fix a bug that if adminchat is not running , it still logs.
- fix a bug that "say_team @" command didn't check if the speaker is admin.
- fix the "say @" command log to make it same as adminchat ways.
2.1a [2006-12-01]
- add check if user is connected, fix run time error 10 ?
Категория: Серверное | Добавил: exciteds
Просмотров: 2457 | Загрузок: 90 | Комментарии: 1 | Рейтинг: 0.0/0 |
Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Форма входа
Поиск
Друзья сайта

          X Team
              

  
Статистика

Онлайн всего: 1
Шпионы: 1
Пользователей: 0
Copyright MyCorp © 2024
Сайт создан в системе uCoz