PlaneShift

Support => Server Status => Topic started by: Xillix Queen of Fools on January 17, 2009, 04:05:59 am

Title: Leet chatfilters?
Post by: Xillix Queen of Fools on January 17, 2009, 04:05:59 am
Can someone modify the chat filters to make the 200 most common sight words into leetspeak?
Title: Re: Leet chatfilters?
Post by: Illysia on January 17, 2009, 06:07:34 am
You mean the reverse of what the filters normally do leetspeak? How about changing it to lolcat instead?  \\o//
Title: Re: Leet chatfilters?
Post by: Xillix Queen of Fools on January 17, 2009, 07:12:58 am
lolcats too!
Title: Re: Leet chatfilters?
Post by: One and only tanner on January 17, 2009, 03:17:50 pm
Xillix im on it
Title: Re: Leet chatfilters?
Post by: Mythryndel on January 17, 2009, 06:54:11 pm
Save us from boring normal speech... sponsor a lolcat in your community...
Title: Re: Leet chatfilters?
Post by: Prolix on January 17, 2009, 07:25:20 pm
hey we need a klingon filter
Title: Re: Leet chatfilters?
Post by: One and only tanner on January 19, 2009, 12:16:01 am
i edited the chat.xml to make the world a 133t3r place but i don't work

also if you look in it is says <replace bad="1337" good="elite">

but if you type 1337 ingame it changes it to great

so if chat.xml is not doing this what is?
Title: Re: Leet chatfilters?
Post by: Xillix Queen of Fools on January 19, 2009, 12:21:34 am
This may require Caarrie!
Title: Re: Leet chatfilters?
Post by: Caarrie on January 19, 2009, 12:27:34 am
Code: [Select]
<replace bad="1337" good="great"/> is already in chat_def.xml in data/options
Title: Re: Leet chatfilters?
Post by: One and only tanner on January 19, 2009, 01:28:09 am
before i edited my it did not say that after i edited it still does not say that and anything i add does not take effect

i edited the chat.xml to make the world a 133t3r place but i don't work

also if you look in it is says <replace bad="1337" good="elite">

but if you type 1337 ingame it changes it to great

so if chat.xml is not doing this what is?

and i ment chat_def.xml sorry.
Title: Re: Leet chatfilters?
Post by: Caarrie on January 19, 2009, 01:36:36 am
can you paste all of the file you have edited? or pm it to me?

also i think what xillix wants is to convert from normal chat to leet so that would be the reverse of what you are doing.
Title: Re: Leet chatfilters?
Post by: miadon on January 19, 2009, 01:47:11 am
It has suddenly occurred to me that putting 1337 in xml files is a long and messy process due to the fact your going to be inserting characters that the xml wont want at the point in time.

edit: sorry to say this Tanner but your 1337 translation page will be broken and will not work.
Title: Re: Leet chatfilters?
Post by: One and only tanner on January 19, 2009, 02:36:39 am
It has suddenly occurred to me that putting 1337 in xml files is a long and messy process due to the fact your going to be inserting characters that the xml wont want at the point in time.

edit: sorry to say this Tanner but your 1337 translation page will be broken and will not work.

yes good point >.<

i had the same prob when i made the edited chat_def.xml but i removed all the ">" "<" and so on and replace it with somthing that would not conflict so the one i made should work but ps seems to be using somthing else to filter rather than this file since even though i removed all the previous replacements it is still replacing words but with orther words that was in the unedited chat_def.xml file originally 
Title: Re: Leet chatfilters?
Post by: One and only tanner on January 19, 2009, 02:40:22 am
It has suddenly occurred to me that putting 1337 in xml files is a long and messy process due to the fact your going to be inserting characters that the xml wont want at the point in time.

edit: sorry to say this Tanner but your 1337 translation page will be broken and will not work.

yes good point >.<

i had the same prob when i made the edited chat_def.xml but i removed all the ">" "<" and so on and replace it with somthing that would not conflict so the one i made should work but ps seems to be using somthing else to filter rather than this file since even though i removed all the previous replacements it is still replacing words but with orther words that was in the unedited chat_def.xml file originally 


"original"
Code: [Select]
<chat>
    <chatoptions>
        <selecttabstyle value="2" />
        <echoscreeninsystem value="1" />
        <mainbrackets value="1" />
        <yourcolormix value="1" />
        <loose value="0" />
        <logAllChat value="1" />
        <logSystemChat value="0" />
    </chatoptions>
    <maintabincludes>
        <npc value="no" />
        <tell value="no" />
        <guild value="no" />
        <group value="no" />
        <auction value="no" />
        <system value="no" />
        <systembase value="yes" />
        <help value="no" />
    </maintabincludes>
    <flashingoptions>
        <main value="yes" />
        <npc value="yes" />
        <tell value="yes" />
        <guild value="yes" />
        <group value="yes" />
        <auction value="yes" />
        <system value="yes" />
        <help value="yes" />
    </flashingoptions>
<flashingoncharoptions>
        <main value="yes" />
        <npc value="yes" />
        <tell value="yes" />
        <guild value="yes" />
        <group value="yes" />
        <auction value="yes" />
        <system value="yes" />
        <help value="yes" />
    </flashingoncharoptions>

<chatcolors>
        <systemtext     r="0"   g="255" b="0" />
        <admintext      r="255" g="0"   b="0" />
        <playernametext r="157" g="187" b="255" />
        <chattext       r="255" g="255" b="255" />
        <telltext       r="255" g="255" b="0" />
        <npctext        r="255" g="0" b="255" />
        <shouttext      r="255" g="0"   b="255" />
        <guildtext      r="200" g="200" b="200" />
        <yourtext       r="255" g="255" b="255" />
        <grouptext      r="255" g="180" b="0" />
        <auctiontext    r="255" g="0"   b="0" />
        <helptext       r="190" g="190" b="190" />
        <gmtext         r="200" g="200" b="200" />
    </chatcolors>
    <filters>
    <badwords incoming="yes" outgoing="yes">
            <!-- starting with George Carlin's Seven Dirty Words -->
            shit piss fuck cunt cocksucker motherfucker tits
            <!-- and tune to your liking -->
            damn bastard bitch fuk asshole whore dickhead cybersex fag wanker fucking
            <!-- you can specify a replacement word using a semicolon -->
            h4x0r;hacker
            <!-- or you can use this xml syntax -->
        <replace bad="l33t" good="elite"/>
        <replace bad="d00d" good="Sir"/>
        <replace bad="1337" good="great"/>
        <replace bad="l33tsp34k" good="RS talk"/>
        <replace bad="ph34r" good="fear"/>
        <replace bad="j0" good="hail"/>
        <replace bad="j00" good="you"/>
        <replace bad="r0x0rz" good="rocks"/>
        <replace bad="pwnd" good="owned"/>
        <replace bad="n00b" good="newbie"/>
        <replace bad="omg" good="by the gods"/>
        <replace bad="wtf" good="what the heck"/>
        <replace bad="h8" good="hate"/>
        <replace bad="w8" good="wait"/>
        <replace bad="l8r" good="later"/>
        <replace bad="some1" good="someone"/>
        <replace bad="ne1" good="anyone"/>
        <replace bad="hax0r" good="expert"/>
        <replace bad="l4m3r" good="yokel"/>
        <replace bad="sux0r" good="suck"/>
        <replace bad="sux0rs" good="sucks"/>
        <replace bad="sux0rz" good="sucks"/>
        <replace bad="r0x0r" good="rock"/>
        <replace bad="r0x0rs" good="rocks"/>
        <replace bad="r0x0rz" good="rocks"/>
        <replace bad="sk1||z" good="skills"/>
        <replace bad="sk1llz" good="skills"/>
        <replace bad="13wt" good="loot"/>
        <replace bad="ub3r" good="great"/>
        <replace bad="m4d" good="mad"/>
        <replace bad="pr0n" good="nudity"/>
        <replace bad="w00t" good="woohoo"/>
        <replace bad="stfu" good="please be quiet"/>
        <replace bad="teh" good="the"/>
        <replace bad="r0xx0r" good="great"/>
        <replace bad="@$$" good="backside"/>
        <replace bad="g4y" good="gay"/>
        <replace bad="u" good="you"/>
        <replace bad="ur" good="your"/>
        <replace bad="t3h" good="the"/>
        <replace bad="n00blit" good="young newbie"/>
        <replace bad="wh4ck0rs" good="weird"/>
        <replace bad="ex0t|c" good="exotic"/>
        <replace bad="wassup" good="how fare thee"/>
        <replace bad="sup" good="how farest thou"/>
        <replace bad="u2" good="you too"/>
        <replace bad="cu" good="see you later"/>
        <replace bad="cya" good="see you later"/>
        <replace bad="ty" good="thank you"/>
        <replace bad="yw" good="you're welcome"/>
        <replace bad="dunno" good="don't know"/>
    </badwords>
    </filters>
    <msgfilters>
        <me type="SUC" value="true" />
        <vicinity type="SUC" value="true" />
        <me type="BLO" value="true" />
        <vicinity type="BLO" value="true" />
        <me type="DOD" value="true" />
        <vicinity type="DOD" value="true" />
        <me type="MIS" value="true" />
        <vicinity type="MIS" value="true" />
        <me type="FAI" value="true" />
        <vicinity type="FAI" value="true" />
        <me type="STA" value="true" />
        <vicinity type="STA" value="true" />
    </msgfilters>
</chat>



"my edited one"
Code: [Select]
<chat>
    <chatoptions>
        <selecttabstyle value="2" />
        <echoscreeninsystem value="1" />
        <mainbrackets value="1" />
        <yourcolormix value="1" />
        <loose value="0" />
        <logAllChat value="1" />
        <logSystemChat value="0" />
    </chatoptions>
    <maintabincludes>
        <npc value="no" />
        <tell value="no" />
        <guild value="no" />
        <group value="no" />
        <auction value="no" />
        <system value="no" />
        <systembase value="yes" />
        <help value="no" />
    </maintabincludes>
    <flashingoptions>
        <main value="yes" />
        <npc value="yes" />
        <tell value="yes" />
        <guild value="yes" />
        <group value="yes" />
        <auction value="yes" />
        <system value="yes" />
        <help value="yes" />
    </flashingoptions>
<flashingoncharoptions>
        <main value="yes" />
        <npc value="yes" />
        <tell value="yes" />
        <guild value="yes" />
        <group value="yes" />
        <auction value="yes" />
        <system value="yes" />
        <help value="yes" />
    </flashingoncharoptions>

<chatcolors>
        <systemtext     r="0"   g="255" b="0" />
        <admintext      r="255" g="0"   b="0" />
        <playernametext r="157" g="187" b="255" />
        <chattext       r="255" g="255" b="255" />
        <telltext       r="255" g="255" b="0" />
        <npctext        r="255" g="0" b="255" />
        <shouttext      r="255" g="0"   b="255" />
        <guildtext      r="200" g="200" b="200" />
        <yourtext       r="255" g="255" b="255" />
        <grouptext      r="255" g="180" b="0" />
        <auctiontext    r="255" g="0"   b="0" />
        <helptext       r="190" g="190" b="190" />
        <gmtext         r="200" g="200" b="200" />
    </chatcolors>
    <filters>
    <badwords incoming="yes" outgoing="yes">
            <!-- starting with George Carlin's Seven Dirty Words -->
            shit piss fuck cunt cocksucker motherfucker tits
            <!-- and tune to your liking -->
            damn bastard bitch fuk asshole whore dickhead cybersex fag wanker fucking
            <!-- you can specify a replacement word using a semicolon -->
            h4x0r;hacker
            <!-- or you can use this xml syntax -->
        <replace bad="a" good="4"/>
        <replace bad="b" good="|8"/>
        <replace bad="c" good="("/>
        <replace bad="d" good="|)"/>
        <replace bad="e" good="3"/>
        <replace bad="g" good="9"/>
        <replace bad="h" good="|-|"/>
        <replace bad="i" good="!"/>
        <replace bad="k" good="|{"/>
        <replace bad="l" good="1"/>
        <replace bad="n" good="|\|"/>
        <replace bad="m" good="|v|"/>
        <replace bad="o" good="0"/>
        <replace bad="p" good="|o"/>
        <replace bad="t" good="7"/>
        <replace bad="u" good="|_|"/>
        <replace bad="v" good="\/"/>
        <replace bad="w" good="\/\/"/>
        <replace bad="x" good="}{"/>
        <replace bad="y" good="`|"/>
        <replace bad="z" good="2"/>
    </badwords>
    </filters>
    <msgfilters>
        <me type="SUC" value="true" />
        <vicinity type="SUC" value="true" />
        <me type="BLO" value="true" />
        <vicinity type="BLO" value="true" />
        <me type="DOD" value="true" />
        <vicinity type="DOD" value="true" />
        <me type="MIS" value="true" />
        <vicinity type="MIS" value="true" />
        <me type="FAI" value="true" />
        <vicinity type="FAI" value="true" />
        <me type="STA" value="true" />
        <vicinity type="STA" value="true" />
    </msgfilters>
</chat>


and i want to say just one last time to make it clear
there is nothing wrong with my chat_def.xml file
the prob is the client is using something else for its filter not chat_def.xm witch seems to be completely ignored by the client
Title: Re: Leet chatfilters?
Post by: miadon on January 19, 2009, 02:54:10 am
well just tested that myself and it works fine, but will only work if you type letters separately
 (although some letters wont work)
Title: Re: Leet chatfilters?
Post by: One and only tanner on January 19, 2009, 02:56:25 am
well just tested that myself and it works fine, but will only work if you type letters seperately


you used my edited filter and it worked ingame?

thats annoying
Title: Re: Leet chatfilters?
Post by: miadon on January 19, 2009, 02:56:44 am
yes
Title: Re: Leet chatfilters?
Post by: One and only tanner on January 19, 2009, 02:57:45 am
Sorted

i'll work on one with words in enless anyone knows how to code it to use each letter inwords also
Title: Re: Leet chatfilters?
Post by: Arerano on January 19, 2009, 07:04:40 pm
Sorted

i'll work on one with words in enless anyone knows how to code it to use each letter inwords also
You can't. The chat filter is pretty limited.
right now the chat filter replaces "whole" words only.