#Any message related command is bugged if using roblox's new textchatservice
1 messages · Page 1 of 1 (latest)
wtf
didnt I hear this was a roblox issue?
because of them automatically converting games to TextChatService
?
manually changing the chat version works normally so its likely a roblox issue
@limber wraith @warm grove any updates?
i have the same issue, chatlogs or logs do display any text
must be roblox's forced migration causing it, since everything works like intended in a exact copy of my game published under a different ID
no as like I said before this is mainly a roblox issue
manually changing the chat version on my end didnt cause these issues
it had to be roblox auto migrating it
so like. is dere a way to do this now. even if they automigrate it
no
its irreversible from what I heard
Not really. The issue lies in your current method of filtering text. As of April 30th, Roblox will deprecate the use of TextFilterResult:GetChatForUserAsync(), as it does not comply with Roblox's updated policy. Therefore, any game that is forced to adopt the new TextChatService, now or in the future, will have that method deprecated, which will result in blank messages.
This was mentioned in a post by an admin:
https://devforum.roblox.com/t/textchatservice-forced-on/3571297/10
Hello! Sorry to hear you are having issues. Last year we shared with the community in forum posts and emails that experiences will be required to start a migration to our new TCS service in 2025. You can find information about this here: https://devforum.roblox.com/t/migrate-to-textchatservice-removing-support-for-legacy-chat-and-custom-chat-sy...
oh adonis uses that?
Yep.
oh
no wonder why this issue only affected games that were force migrated
Can Adonis’s filter system be updated to replace :GetChatForUserAsync() with GetNonChatStringForUserAsync()?
That method made the filter work as intended without returning blank strings.
would be awesome if i had that migration in one of my games so i could easily test it
It’d seem only group games have been migrated
I'll check later
i will probably make a plugin if i do fix it
as a temporary solution
Plugin?
Adonis Server Plugin
Lets you do whatever with adonis without having to fork it
Oh? That’s awesome!
He said hes gonna try making a plugin to fix the issue
Is there a way to override a function in Adonis?
Yeah
Using the plugin feature?
✅
God, I’m actually so in-need of that
honestly love that plugins exist for this because keeping adonis on a version which may be vulnerable is going to be a pain for whoever decides to fork adonis
what's weird is adonis uses GetNonChatStringForUserAsync for the :n command and that's also affected and makes the string empty (must've got mistaken on some function)
I’m sure NOT!
Oh nevermind
yeah my bad must've been my clipboard acting up but what i find odd is that someone was testing the :n command and it would still return a blank string even though it uses :GetNonChatStringForBroadcastAsync(), video: #1356023870498537663 message
Thats not the right function
for the broadcastfilter function?
yeah it's not the right one
GetNonChatStringForUserAsync() works very well
i can show you
i thought that function was meant for specific players whilst TextService::GetNonChatStringForUserAsync was meant for filtering text for everyone
you've misunderstood what it meant
it meant that it'd be suitable for all users
even the slightest words would censor the text
like kill
etc..
that's broadcastasync
yeah isn't that its intended purpose since some people could have a restrictive filter (i.e: <13 players) and :sm, etc account for that
atleast for :sm, :n and the other commands they all use that function to filter
You can fix the blank string by modifying line 598 in Service, located in Server/Shared to this:
return service.TextService:FilterStringAsync(lines[i], from.UserId):GetNonChatStringForUserAsync(to.UserId)
and things would work perfectly
I know there's an easier way than forking the MainModule and editing the line manually, but I'm not very familiar with Adonis.
and this is the normal filter right
yep
broadcastasync is the one that does that
because it makes the message suitable for all ages
true
you could always run the filter for each client
probably going to be expensive in calls and i'm pretty sure roblox ratelimit filtering quite alot
do you know if client uses Filter at all
^ also anyone else is free to do a PR to change the function adonis currently has to that one
i think the client can filter but i dont recall anything in the client calling it though
apparently PM had code which would've filtered on the client but its gone now so
and anyways it would just mirror a server call to get the filter result so you would be fine
ok nvm the person is offline rn so i could just do a pr
yeah you can do a PR
no ratelimits for filtering
would be awesome if i could test it but none of my games have that change
@pearl geyser should definitely like merge it when you do it
yeah same
i do, let me test
put these in the plugins folder
interesting
wow
@pearl geyser tbh i think cherrypicking that specific commit to release would be a good idea
maybe
i've published