Re: [UBEREMU] Wordfilter 90%
What is the other 10%?
EDIT : Nice :)
Re: [UBEREMU] Wordfilter 90%
It looks nice, but what's the other 10%? xD
Re: [UBEREMU] Wordfilter 90%
Quote:
Originally Posted by
PEjump2
It looks nice, but what's the other 10%? xD
I think the other 10% is the words in the database, so you don't have to put them there by yourselve.. Maybe ..
Re: [UBEREMU] Wordfilter 90%
Re: [UBEREMU] Wordfilter 90%
Error
Fehler 1 } erwartet HabboHotel\Rooms\RoomUser.cs 274 10
:?:
Re: [UBEREMU] Wordfilter 90%
Got this error.
Code:
Error 1 The type or namespace name 'DataTable' could not be found (are you missing a using directive or an assembly reference?) C:\Users\keven\Desktop\YabMeer Emulator\HabboHotel\Rooms\RoomUser.cs 215 13 uberEmu
EDIT: I fixed the problem. Nice code btw.
Re: [UBEREMU] Wordfilter 90%
I Think the code isn't perfect. Without the emu work perfect and when i insert it it a litte of bugging.
Dutch Srry.
Re: [UBEREMU] Wordfilter 90%
So you're saying that if the rude word was "fuck", and I typed in "you stupid fuck head" it would replace the whole sentence as "bobba"?
Re: [UBEREMU] Wordfilter 90%
Quote:
Originally Posted by
Ubercheese
So you're saying that if the rude word was "fuck", and I typed in "you stupid fuck head" it would replace the whole sentence as "bobba"?
Probally, or It would just get the word's from the Table, 'fuck' and replace it with 'bobba'.
Good release anyway more to come from you. :ott1::thumbup:
Re: [UBEREMU] Wordfilter 90%
Shout and say replace the word to bobba but whisper needs to be done.
Also if the word "fuck" was in the wordfilter a user could bypass it by just typeing "Fuck" with a capital f.
Re: [UBEREMU] Wordfilter 90%
Quote:
Originally Posted by
Ubercheese
Also if the word "fuck" was in the wordfilter a user could bypass it by just typeing "Fuck" with a capital f.
That is why you would put "fuck" "Fuck" "FUck" "FUCk" "fUck" fuCk" "fucK" and any other ways to spell "fuck" in the list of words to filter..
Re: [UBEREMU] Wordfilter 90%
Quote:
Originally Posted by
Hejula
That is why you would put "fuck" "Fuck" "FUck" "FUCk" "fUck" fuCk" "fucK" and any other ways to spell "fuck" in the list of words to filter..
Well then, it would turn in to a list of hundreds which won't be good if each time you talk, it selects if the texts contains the word in the database. Better off caching it on server start.
Re: [UBEREMU] Wordfilter 90%
Quote:
Originally Posted by
Hejula
That is why you would put "fuck" "Fuck" "FUck" "FUCk" "fUck" fuCk" "fucK" and any other ways to spell "fuck" in the list of words to filter..
Yea and that is gay! :laugh:
Re: [UBEREMU] Wordfilter 90%
DataTable Data2 = null;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
Data2 = dbClient.ReadDataTable("SELECT SQL_NO_CACHE * FROM wordfilter");
if (Data2 != null)
foreach (DataRow Row2 in Data2.Rows)
Message = Message.Replace(Row2["word"].ToString().ToLower(), "bobba");