Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [share] autocensor/stopsay (https://postpacific.mmorpg-game.online/showthread.php?t=5977)

astrid 09.10.2006 09:21

[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 байт

TuMBLer 09.10.2006 09:37

astrid, thanks!
will test it!

hater 09.10.2006 10:53

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?

Xari0n 09.10.2006 11:01

Wow спасибо Астрид :)

hel 09.10.2006 17:14

Thanks astrid.
Maybe my, from now, players will stop insulting other players on server. :)

hater 09.10.2006 18:23

//ru
Кто-нибудь добился нормальной работы? :(
У меня не реагирует на мат никак.. Коннектов к CacheD'у нет.
ХЗ, в чем дело может быть..

Dmytro 09.10.2006 19:14

Quote:

Originally Posted by hater (Post 69742)
//ru
Кто-нибудь добился нормальной работы? :(
У меня не реагирует на мат никак.. Коннектов к CacheD'у нет.
ХЗ, в чем дело может быть..

На сколько я понял она по логам рубит, а вот не у всех в логах пишет наверняка по русски (одни вопросики). =)

m4rk 09.10.2006 19:18

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

hater 09.10.2006 19:24

Все, допер =)
Забыл про директорию с логами, думал что не те логи.
Все, работает супер.
Автору респект.

FidoW 09.10.2006 20:13

Quote:

Originally Posted by m4rk (Post 69745)
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

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!

Shawnmb 09.10.2006 20:40

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.

hex0id 10.10.2006 06:02

Quote:

Originally Posted by Shawnmb (Post 69760)
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,


Charis 10.10.2006 06:56

Quote:

Originally Posted by hex0id (Post 69786)
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

Stazis 10.10.2006 07:54

that's why i was not angry when you shared those geos =)
respect for this work
keep up!

astrid 10.10.2006 08:09

Quote:

Originally Posted by Stazis (Post 69797)
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

Stazis 10.10.2006 09:09

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.=)

hater 10.10.2006 10:38

//rus
хотелось бы также, поддержку не только регекспов, но и отдельных слов.
Например, как-нибудь чтобы можно было выделить слово отдельное, например, поставив # перед словом.
пример: б*я
также были бы полезны маски, к примеру: х**сос

hel 10.10.2006 12:12

hater:
//ru
Слово "потреблять", "сабля"? :P

hater 10.10.2006 15:39

hel:
//ru
Можно было бы указать, что фильтровать только те слова, которые начинаются на "б*я".

Zuko 10.10.2006 15:50

Really problem in russian language :)

seraphii 10.10.2006 18:10

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?

Stazis 10.10.2006 18:54

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

since he have a space in folder name

TheOrder 10.10.2006 19:21

Great Share bro ! Will come in handy ;)

Stazis get on MSN pl0x :D !

Charis 10.10.2006 19:34

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

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

Русский шрифт установлен на машине... а вот толку... :(

TuMBLer 10.10.2006 19:41

Quote:

Originally Posted by Charis (Post 69878)
//rus
Повторю вопрос.

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

Русский шрифт установлен на машине... а вот толку... :(

/rus/
collation должен быть cirllic в mssql
меняется в свойствах


All times are GMT. The time now is 21:52.