KLGA
|
  |
| Joined: 19 Apr 2014 |
| Total Posts: 2571 |
|
|
| 03 Oct 2015 12:57 AM |
| I'm making a custom chat and I'm trying to figure out word censoring. I was thinking just use string.find for the words to be censored, but what if someone was to type a word containing a censored word, with a totally different meaning, for example "Assassin" (If you know what i'm saying). How would I be able to tell the difference between a word and part of a word? I was considering using spaces in the words, but that wouldn't work. Too many scenarios could happen causing that method to fail. Any ideas? |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2015 12:58 AM |
| Or just use ROBLOX's filtering: http://wiki.roblox.com/index.php?title=API:Class/Chat/FilterStringForPlayerAsync |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Oct 2015 12:59 AM |
| You don't censor it since it will always be possible to say what you want by tricking it. |
|
|
| Report Abuse |
|
|
Xsitsu
|
  |
| Joined: 28 Jul 2009 |
| Total Posts: 2921 |
|
|
| 03 Oct 2015 01:00 AM |
| There's some way to send strings through the official Roblox word filter, but I can't remember how to do that right now. Try searching on the wiki for it. Or maybe someone will just know and post how to. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Oct 2015 01:00 AM |
| Doesn't setting the Text property of TextLabel's auto-censor using that? |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2015 01:02 AM |
@cnt
The TextLabel normally just ends up defaulting to "Label" when someone posts something containing profanity. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 03 Oct 2015 01:05 AM |
I don't know for sure.
I do know for sure ROBLOX typically doesn't like it when you don't use their chat filter, berezaa's new game got taken down until he added that at least. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Oct 2015 01:06 AM |
"I do know for sure ROBLOX typically doesn't like it when you don't use their chat filter" LOL no, that method wouldn't exist or would be locked if that were some reason the case. |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2015 01:08 AM |
| Well not using FilterStringForPlayerAsync in a custom chat was enough to get a ROBLOX-featured game taken down and under review for a bit under a day. I don't know what to tell you. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Oct 2015 01:09 AM |
| I highly doubt that was the reason, considering many games that I know of use it anyways. |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2015 01:10 AM |
| berezaa or how you even spell that name did say on his twitter he was contacted to fix the chat filtering |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Oct 2015 01:11 AM |
| he/she is doing something wrong then |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2015 01:13 AM |
wouldn't be the first time
but im sure hes happy with his devex money ^:) |
|
|
| Report Abuse |
|
|
llogical
|
  |
| Joined: 10 Sep 2015 |
| Total Posts: 193 |
|
|
| 03 Oct 2015 01:46 AM |
i don't know there is google for it. gggggg
lololololll, i just want to forum! |
|
|
| Report Abuse |
|
|