generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Chat Filter

Previous Thread :: Next Thread 
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 08:04 AM
Can anyone explain why the ROBLOX chat filters are broken? They are broken even on the example place for the official wiki. Link below to wiki and place.
http://wiki.roblox.com/index.php?title=Custom_chat_GUI
https://www.roblox.com/games/188814899/Custom-Chat-GUI-Example
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 10:43 AM
Bump...
Report Abuse
Cyrakohl is not online. Cyrakohl
Joined: 09 Nov 2014
Total Posts: 3197
09 Jul 2017 10:55 AM

for _,v in next,game.Players:GetChildren() do
game:GetService("Chat"):FilterStringForBroadcast(TextPath, v)

end


I got all the children in players so it filters for all players pretty simple really.


Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 03:12 PM
Still is not filtering my custom chat messages. I'm playing it online. Need to know as soon as possible before it is moderated.
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 03:18 PM
Please, I need to solve this problem fast!
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 03:24 PM
Bump...
Report Abuse
Nomadn is not online. Nomadn
Joined: 09 Nov 2010
Total Posts: 2705
09 Jul 2017 03:46 PM
http://wiki.roblox.com/index.php?title=Text_Filtering

I used this to learn text filtering.


Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 04:04 PM
I have been tried both of those and neither work. :/
Report Abuse
EmeraldSlash is not online. EmeraldSlash
Joined: 24 Jun 2011
Total Posts: 229
09 Jul 2017 04:05 PM
What exactly doesn't work?

We can't fix your problem if we don't know it


Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 04:09 PM
It's the filter. (FilterStringASync / FilterStringForBroadcast; I keep trying both)
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 04:11 PM
I'm using FilteringEnabled if that makes any difference. So far from my tests, it is making no difference and no errors are occuring.
Report Abuse
EmeraldSlash is not online. EmeraldSlash
Joined: 24 Jun 2011
Total Posts: 229
09 Jul 2017 04:12 PM
Sure, the filter doesn't work, but what exactly doesn't worK?

Does it return anything at all?
Is it taking forever to filter?


Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 04:14 PM
It literally posts an uncensored message and I need to fix the issue before the place is moderated.
Report Abuse
BaiYuni is not online. BaiYuni
Joined: 09 Oct 2009
Total Posts: 2861
09 Jul 2017 04:19 PM
I believe chat filtering doesn't work while in Studio.
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
09 Jul 2017 04:20 PM
I'm not in studio. I'm testing it online. It says on the wiki that it doesn't work in studio.
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
10 Jul 2017 01:44 PM
Bump...
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
10 Jul 2017 01:58 PM
Need to know as soon as possible!
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
10 Jul 2017 02:18 PM
Bump...
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
10 Jul 2017 02:50 PM
Bump...
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
10 Jul 2017 03:14 PM
Has anyone got any ideas?!?
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
11 Jul 2017 03:30 AM
Bump...
Report Abuse
LetterSlayer is online. LetterSlayer
Joined: 02 Aug 2010
Total Posts: 946
11 Jul 2017 03:38 AM
It works for me
function filter (player, message)
return game("GetService", "Chat"):FilterStringAsync(message, player, player)
end

FilteringEnabled won't affect this to the best of my knowledge. You can also, for testing purposes, use RunService to tell when you're in studio and just bypass the filter.


Report Abuse
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
11 Jul 2017 06:35 AM
Maybe the messages get filtered for other players; Are you filtering the message in client's UI?


Okie dokie, send me artichoke!
Report Abuse
Spiik3yViinH is online. Spiik3yViinH
Joined: 11 Oct 2014
Total Posts: 557
11 Jul 2017 06:42 AM
Use this
local player = game.Players.LocalPlayer
local message = game:GetService("Chat"):FilterStringAsync(message,player , player)
if it's not local or fe and your using a script not a localscript use
local sender = player -- however you want to find the surface gui.
local message = game:GetService("Chat"):FilterStringAsync(message, sender, sender)


Professional script forum reviewer.
Report Abuse
Ghost_Developer is not online. Ghost_Developer
Joined: 17 Jun 2017
Total Posts: 32
12 Jul 2017 03:31 PM
Thank you so much! It has fixed my problem and is way more optimised than what I was doing.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image