Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 09.10.2006, 09:21   #1
astrid
Архивный участник
 
Join Date: May 2006
Posts: 55
Default [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 is offline  
Old 09.10.2006, 09:37   #2
TuMBLer
Архивный участник
 
Join Date: Apr 2005
Posts: 127
Default

astrid, thanks!
will test it!
TuMBLer is offline  
Old 09.10.2006, 10:53   #3
hater
Архивный участник
 
Join Date: Aug 2006
Posts: 28
Default

astrid, thnx for sharing.
Mm, I run it, but nothing happened
May be because
Quote:
.NET required
?
But I already have Microsoft .NET Framework(x64)..
May be it doesnt work because my server is already running?
hater is offline  
Old 09.10.2006, 11:01   #4
Xari0n
Архивный участник
 
Join Date: Jul 2006
Posts: 119
Default

Wow спасибо Астрид
Xari0n is offline  
Old 09.10.2006, 17:14   #5
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Thanks astrid.
Maybe my, from now, players will stop insulting other players on server.
hel is offline  
Old 09.10.2006, 18:23   #6
hater
Архивный участник
 
Join Date: Aug 2006
Posts: 28
Default

//ru
Кто-нибудь добился нормальной работы?
У меня не реагирует на мат никак.. Коннектов к CacheD'у нет.
ХЗ, в чем дело может быть..
hater is offline  
Old 09.10.2006, 19:14   #7
Dmytro
Архивный участник
 
Join Date: Nov 2005
Posts: 215
Default

Quote:
Originally Posted by hater View Post
//ru
Кто-нибудь добился нормальной работы?
У меня не реагирует на мат никак.. Коннектов к CacheD'у нет.
ХЗ, в чем дело может быть..
На сколько я понял она по логам рубит, а вот не у всех в логах пишет наверняка по русски (одни вопросики). =)
Dmytro is offline  
Old 09.10.2006, 19:18   #8
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Thx a lot, I'll test

PS: mmmh ¿could you add a feature to freeze the character? Would be helpful for some idiots saying really haaard insults XD
m4rk is offline  
Old 09.10.2006, 19:24   #9
hater
Архивный участник
 
Join Date: Aug 2006
Posts: 28
Default

Все, допер =)
Забыл про директорию с логами, думал что не те логи.
Все, работает супер.
Автору респект.
hater is offline  
Old 09.10.2006, 20:13   #10
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by m4rk View Post
Thx a lot, I'll test

PS: mmmh ¿could you add a feature to freeze the character? Would be helpful for some idiots saying really haaard insults XD
Would be interesting can add owns cached functions... like teleport (to jail) .. etc... what packet are u using to mute character ? maybe #18 PunishCharPacket("ddd") ¿???

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!
FidoW is offline  
Old 09.10.2006, 20:40   #11
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

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.
Shawnmb is offline  
Old 10.10.2006, 06:02   #12
hex0id
Архивный участник
 
Join Date: Aug 2006
Posts: 21
Default

Quote:
Originally Posted by Shawnmb View Post
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.
It can be done with AmpeDx64 though.

2astrid, your antimat looking mats in nicknames also! I think that such check is not needed

Code:
user: 3336->xer
10/10/2006 13:11:xx.xx0, 1,3336,0,-42654,159208,1360,я бы сходил на рейда,XEROX,
hex0id is offline  
Old 10.10.2006, 06:56   #13
Charis
Архивный участник
 
Join Date: Feb 2006
Posts: 39
Default

Quote:
Originally Posted by hex0id View Post
Code:
user: 3336->xer
10/10/2006 13:11:xx.xx0, 1,3336,0,-42654,159208,1360,я бы сходил на рейда,XEROX,
//ru
Можно вопрос- как ты добился что в логи ложаться нормально русские буквы? у меня там ??????


//eng
Question - how to make log russian letters correctly, not with "?" signs?

Thanks
Charis is offline  
Old 10.10.2006, 07:54   #14
Stazis
Архивный участник
 
Join Date: Feb 2005
Posts: 200
Default

that's why i was not angry when you shared those geos =)
respect for this work
keep up!
Stazis is offline  
Old 10.10.2006, 08:09   #15
astrid
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

Quote:
Originally Posted by Stazis View Post
that's why i was not angry when you shared those geos =)
respect for this work
keep up!
Glad to hear it thank you Stazis
astrid is offline  
Old 10.10.2006, 09:09   #16
Stazis
Архивный участник
 
Join Date: Feb 2005
Posts: 200
Default

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.=)
Stazis is offline  
Old 10.10.2006, 10:38   #17
hater
Архивный участник
 
Join Date: Aug 2006
Posts: 28
Default

//rus
хотелось бы также, поддержку не только регекспов, но и отдельных слов.
Например, как-нибудь чтобы можно было выделить слово отдельное, например, поставив # перед словом.
пример: б*я
также были бы полезны маски, к примеру: х**сос
hater is offline  
Old 10.10.2006, 12:12   #18
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

hater:
//ru
Слово "потреблять", "сабля"? :P
hel is offline  
Old 10.10.2006, 15:39   #19
hater
Архивный участник
 
Join Date: Aug 2006
Posts: 28
Default

hel:
//ru
Можно было бы указать, что фильтровать только те слова, которые начинаются на "б*я".
hater is offline  
Old 10.10.2006, 15:50   #20
Zuko
Архивный участник
 
Join Date: Sep 2006
Posts: 81
Default

Really problem in russian language
Zuko is offline  
Old 10.10.2006, 18:10   #21
seraphii
Архивный участник
 
Join Date: Jun 2006
Posts: 126
Default

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?
seraphii is offline  
Old 10.10.2006, 18:54   #22
Stazis
Архивный участник
 
Join Date: Feb 2005
Posts: 200
Default

think he need a
chat_log_dir="D:\Server C4\CacheD\log\chat\"

since he have a space in folder name
Stazis is offline  
Old 10.10.2006, 19:21   #23
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Great Share bro ! Will come in handy

Stazis get on MSN pl0x !
TheOrder is offline  
Old 10.10.2006, 19:34   #24
Charis
Архивный участник
 
Join Date: Feb 2006
Posts: 39
Default

//rus
Повторю вопрос.

Помогите пожалуста заставить сервер ложить в логи русские буквы вместо вопросиков...
Я так и не поняла, как это сделать

Русский шрифт установлен на машине... а вот толку...
Charis is offline  
Old 10.10.2006, 19:41   #25
TuMBLer
Архивный участник
 
Join Date: Apr 2005
Posts: 127
Default

Quote:
Originally Posted by Charis View Post
//rus
Повторю вопрос.

Помогите пожалуста заставить сервер ложить в логи русские буквы вместо вопросиков...
Я так и не поняла, как это сделать

Русский шрифт установлен на машине... а вот толку...
/rus/
collation должен быть cirllic в mssql
меняется в свойствах
TuMBLer is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:07.