obscene?

04/22/2019 18:39 vovan681#1
Hello to all
How to make obscene language discarded from the game or automatically banned.
I apologize for the English.
04/22/2019 18:45 elitonfarol9#2
In the game folder, within the data, you have a file named Filter.txt, edit it with the words you want to block.
04/22/2019 19:37 Velocity.#3
pretty sure the only way is to manually block the words. you would have to do this server side as i believe filter.txt only checks for charname.
04/22/2019 20:36 vovan681#4
Quote:
Originally Posted by Velocity. View Post
pretty sure the only way is to manually block the words. you would have to do this server side as i believe filter.txt only checks for charname.
tell me how to configure the server side?
04/22/2019 22:43 Velocity.#5
Quote:
Originally Posted by vovan681 View Post
tell me how to configure the server side?
just add a check for the chat procedure, char check, etc. it's pretty simple
first lets make a database table for our filter.
then we can check if newly characters created contain a word in our filter.

do something like this:
[Only registered and activated users can see links. Click Here To Register...]

then our query will be something like:
[Only registered and activated users can see links. Click Here To Register...]

I believe Alex (JujiPoli) even made a script on elite for the chat log which is pretty simple.

[Only registered and activated users can see links. Click Here To Register...]
Take a look.

Same thing with chat log, do something like if word in chatdata, then we can do whatever we want with it.
04/23/2019 03:31 ShaiyaIwanttolearn#6
Quote:
Originally Posted by vovan681 View Post
Hello to all
How to make obscene language discarded from the game or automatically banned.
I apologize for the English.
I played a server a long time, which had a .dll that prohibited offensive words in the game chat, so this is more pleasant than ban players per offense, it would be more useful now that it prohibits all offensive words from being displayed in the game chat , I'm studying c ++ if one day I learn, I promise I'll publish here for free.
or someone with knowledge can help you do this, I know it is possible.