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)

Xari0n 11.10.2006 00:07

Спасибо Астрид
у меня есть идея
добавить в опции, возможность замены мата на другое слово, символ
а так же, добавить словать исключений

paul 11.10.2006 00:45

I thought this was the english part of the forums?

seraphii 11.10.2006 00:53

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

paul 11.10.2006 00:56

could easily be the space in your folder name.

s00r_ 11.10.2006 01:50

Quote:

Originally Posted by seraphii (Post 69897)
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...

try
chat_log_dir=D:\Server C4\..(your_log_name)..\log\chat\

paul 11.10.2006 02:26

also i just realized somethin - point it towards your L2Server folder not cached that worked fine for me.

forsage 11.10.2006 08:37

Quote:

Originally Posted by TuMBLer (Post 69880)
/rus/
collation должен быть cirllic в mssql
меняется в свойствах

Не работает ... :( Проставил на всех базах CYRILLIC_CI_AS -
В логах пишет все равно вопросами....

/ENG
not work for me . :( Change collation to CYRILLIC_CI_AS for all
databases ... only ??? in the log...

hr 11.10.2006 10:33

text logs contain right symbols?

Stazis 11.10.2006 13:36

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

Stazis 11.10.2006 13:41

Quote:

Originally Posted by s00r_ (Post 69900)
try
chat_log_dir=D:\Server C4\..(your_log_name)..\log\chat\

yep just wondering why are you using CacheD logs instead of LogD - or if you are not running one - then L2Server\log\chat\

hr 11.10.2006 17:20

Quote:

try to make this changes in registry
or simply Control Panel->Regional Settings->Advanced

Quote:

another place is chat_data.fmt file in LogD folder
actually not - there difined collations for columns, not codepages, it's simple format file ;) btw seems it is not used by logD

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)

mastery 11.10.2006 20:14

great tool! works great! big thanks.
if possible, more options to configure like was suggested in 1 page..

astrid 11.10.2006 21:02

Quote:

Originally Posted by mastery (Post 69996)
great tool! works great! big thanks.
if possible, more options to configure like was suggested in 1 page..

thank you. i will make update when i got more free time.

forsage 12.10.2006 02:23

Quote:

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

Tnank you :)
Now all work fine !

hel 12.10.2006 03:50

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?

Xari0n 12.10.2006 06:35

Quote:

Originally Posted by hel (Post 70019)
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?

try 2 use space :)

hel 12.10.2006 09:13

If that word is first, then space don't help with...

astrid 12.10.2006 20:54

currently , (comma) indicate start and end fo chat string.

use this in dictonary:
бля
,бля
бля,
,бля,

hel 13.10.2006 07:55

astrid:
"String"?
Maybe you mean "word"? ;)
Very good chat monitor. Respect!

FidoW 13.10.2006 08:30

Quote:

Originally Posted by hel (Post 70116)
astrid:
"String"?
Maybe you mean "word"? ;)
Very good chat monitor. Respect!

a word can be a string... but basically.. .a string is any finite sequence of characters (i.e., letters, numerals, symbols and punctuation marks)

srh 13.10.2006 14:21

astrid, thanks!

//rus
Ещо бы кто словарик расшарил нормальный с матами =)

serjr 13.10.2006 16:56

/rus

http://yusuppresents.narod.ru/rus.htm например :)
а вообще вот бы такой двигло кто реализовал http://www.tcen.ru/antimat/ (там кнопка попробовать есть, например вот такой текс отлично детектится Сабля упала на грабля и отрубила X y Й ) (x и y латиница).

/eng
here is thery good word filter on perl http://www.tcen.ru/antimat/ and here you can test it http://www.tcen.ru/antimat/action.html

s00r_ 13.10.2006 22:05

Quote:

Originally Posted by serjr (Post 70142)
/rus

http://yusuppresents.narod.ru/rus.htm например :)
а вообще вот бы такой двигло кто реализовал http://www.tcen.ru/antimat/ (там кнопка попробовать есть, например вот такой текс отлично детектится Сабля упала на грабля и отрубила X y Й ) (x и y латиница).

/eng
here is thery good word filter on perl http://www.tcen.ru/antimat/ and here you can test it http://www.tcen.ru/antimat/action.html

/rus аха, чтобы сразу в чат лило _бип_ ;) , и спикер пикал тоже,
звиняйте за оффтоп...

/eng this not translation

ALECS 14.10.2006 13:29

//ru
Спасибо astrid

kin 19.10.2006 16:59

Quote:

Originally Posted by astrid (Post 70092)
currently , (comma) indicate start and end fo chat string.

use this in dictonary:
бля
,бля
бля,
,бля,

There is the problem with it. When you use
,бля,
it won't stop the phrase like that "Я бля ща тебя.." and when you use
бля (without spaces)
it stops every word including this! In other case we have to insert 1 word 4 times, as you shown.
Is there any chanse to fix it?


All times are GMT. The time now is 16:14.