![]() |
[share] autocensor/stopsay
monitor basic, trade and shout channels.
punishment: chatblock to user cached_ip - IP of your cached dictonary - "bad words" dictonary, 1 word (regular expression pattern) per line chat_log_dir - path to server chat logs, it monitor log files by last access time punish - on|off you can test new dictonary with this punish_time - time to block, minutes be careful with dictonary, matches is simple regexp on whole string. tested on 200 online average, .NET required. hope it will help :) Вложения из исходного сообщения (сами файлы в копии отсутствуют): antimatbyastrid.rar — 5126 байт |
astrid, thanks!
will test it! |
astrid, thnx for sharing.
Mm, I run it, but nothing happened :( May be because Quote:
But I already have Microsoft .NET Framework(x64).. May be it doesnt work because my server is already running? |
Wow спасибо Астрид :)
|
Thanks astrid.
Maybe my, from now, players will stop insulting other players on server. :) |
//ru
Кто-нибудь добился нормальной работы? :( У меня не реагирует на мат никак.. Коннектов к CacheD'у нет. ХЗ, в чем дело может быть.. |
Quote:
|
Thx a lot, I'll test :D
PS: mmmh ¿could you add a feature to freeze the character? Would be helpful for some idiots saying really haaard insults XD |
Все, допер =)
Забыл про директорию с логами, думал что не те логи. Все, работает супер. Автору респект. |
Quote:
I have a good CP write in PHP ... to teleport... ban... make announces... but this tool is definitive the best... not more bad words ingame hahaha, i have your tool running right now and works very well. Thx a lot! |
A useful feature suggestion would be to prevent spamming (ie people that sign in on walker and spam channels) using this method. Just a suggestion, maybe it could be implimented.
|
Quote:
2astrid, your antimat looking mats in nicknames also! I think that such check is not needed ;) Code:
user: 3336->xer |
Quote:
Можно вопрос- как ты добился что в логи ложаться нормально русские буквы? у меня там ?????? :( //eng Question - how to make log russian letters correctly, not with "?" signs? Thanks |
that's why i was not angry when you shared those geos =)
respect for this work keep up! |
Quote:
|
ok - have some suggestions
whould be great and think not difficult to include in .ini option like [Channel] Shout=true General=true Private=false Trade=true Clan=false Ally=false Hero=true mentioned option on [Punishment] chatban=true teleport=true bantime=60 tel_coordX= tel_coordY= tel_coordZ= another possible option - lets say - GM should have possibility to Add words to dictionary - e.g. if GM says in TradeChannel +++fuck word is being added to dictionary.txt [GMList] List=HeadGM;AntiMatGM indeed this is greate idea about total access to administering through chat-commands =) 1 thing is dangerous - exploits we can make with it.=) |
//rus
хотелось бы также, поддержку не только регекспов, но и отдельных слов. Например, как-нибудь чтобы можно было выделить слово отдельное, например, поставив # перед словом. пример: б*я также были бы полезны маски, к примеру: х**сос |
hater:
//ru Слово "потреблять", "сабля"? :P |
hel:
//ru Можно было бы указать, что фильтровать только те слова, которые начинаются на "б*я". |
Really problem in russian language :)
|
I test and does´nt work my ini is:
[config] cached_ip=127.0.0.1 dictonary=dictonary.txt chat_log_dir=D:\Server C4\CacheD\log\chat punish=on punish_time=10 I Try this: [config] cached_ip=127.0.0.1 dictonary=dictonary.txt chat_log_dir=D:\Server C4\CacheD\log\chat punish=true punish_time=10 Log in the game writte the forbiden word, say it e nothing happen anybody help? |
think he need a
chat_log_dir="D:\Server C4\CacheD\log\chat\" since he have a space in folder name |
Great Share bro ! Will come in handy ;)
Stazis get on MSN pl0x :D ! |
//rus
Повторю вопрос. Помогите пожалуста заставить сервер ложить в логи русские буквы вместо вопросиков... Я так и не поняла, как это сделать :( Русский шрифт установлен на машине... а вот толку... :( |
Quote:
collation должен быть cirllic в mssql меняется в свойствах |
Спасибо Астрид
у меня есть идея добавить в опции, возможность замены мата на другое слово, символ а так же, добавить словать исключений |
I thought this was the english part of the forums?
|
I run all sugestions and dont work why...
chat_log_dir="D:\Server C4\CacheD\log\chat\" this show me error chat_log_dir=D:\Server C4\CacheD\log\chat\ this not show nothing what is wrong... |
could easily be the space in your folder name.
|
Quote:
chat_log_dir=D:\Server C4\..(your_log_name)..\log\chat\ |
also i just realized somethin - point it towards your L2Server folder not cached that worked fine for me.
|
Quote:
В логах пишет все равно вопросами.... /ENG not work for me . :( Change collation to CYRILLIC_CI_AS for all databases ... only ??? in the log... |
text logs contain right symbols?
|
mssql collation has nothing to do with text logfiles
try to make this changes in registry Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Nls\CodePage] "ACP"="1251" "OEMCP"="1251" and don't forget to restert windows after that another place is chat_data.fmt file in LogD folder 8.0 10 1 SQLCHAR 0 50 "," 1 act_time "" 2 SQLCHAR 0 50 "," 2 log_id "" 3 SQLCHAR 0 50 "," 3 actor "" 4 SQLCHAR 0 50 "," 4 target "" 5 SQLCHAR 0 50 "," 5 location_x "" 6 SQLCHAR 0 50 "," 6 location_y "" 7 SQLCHAR 0 50 "," 7 location_z "" 8 SQLCHAR 0 50 "," 8 say SQL_Latin1_General_CP1251_CI_AS 9 SQLCHAR 0 50 "," 9 STR_actor SQL_Latin1_General_CP1251_CI_AS 10 SQLCHAR 0 50 "\r\n" 10 STR_target SQL_Latin1_General_CP1251_CI_AS |
Quote:
|
Quote:
Quote:
http://msdn2.microsoft.com/en-us/library/aa337558.aspx http://msdn2.microsoft.com/en-us/library/ms191516.aspx another real place for codepage in sql is CODEPAGE option for BULK INSERT statement http://msdn2.microsoft.com/en-us/library/ms188365.aspx (look @ lin_BulkInsert) |
great tool! works great! big thanks.
if possible, more options to configure like was suggested in 1 page.. |
Quote:
|
Quote:
Now all work fine ! |
Russian badword "бля", those letters must be first, not middle or last! (because it's letters can be used in "good" words)
How I can do it? |
| All times are GMT. The time now is 16:24. |