-
Account Upgraded | Title Enabled!
illegal ASCII Code
is there a way that i can stop my player from using some ascii code as their char name such as šnow?
-
-
Re: illegal ASCII Code
Not any easy way as the databases are set up to allow chinese characters, ASCII will certainly get through.
The only thing i can think of would be to add all fo the ASCII characters to the "bad words" table in the DB. That _may_ stop it but i'm not sure as i'm guessing.
-
Account Upgraded | Title Enabled!
-
Valued Member
Re: illegal ASCII Code
What name has the table in database, ive been looking for it for a while. All i have found is cabal_badwoard but that table is empty. I want to delete the words blocked by default, because almost every second Estonian word has something in it that will be showed as XX and its annoying :)
I am afraid it is in enc files, but i am still hoping that its hidden somewhere in db XD
-
Re: illegal ASCII Code
The swear filter is in the enc files (klog.enc specifically) and if it is annoying you try replacing with one from another language. The one below is Lost-Spirit's and it is only 530bytes and very little gets blocked.
http://mrmagoo.psiblade.net/klog.enc
The badwoard (heh) table is checked when creating chars and if the char contains something in the table it stops you creating the char. The chat filter will check for anything containing the text rather than full words (i.e. putting "a" in it blocks anything containing "a") so it will probably work for blocking ASCII.
-
Valued Member
Re: illegal ASCII Code
thx for the klog.enc file, i can finally type correct Estonian XD