#Any message related command is bugged if using roblox's new textchatservice

1 messages · Page 1 of 1 (latest)

lean tendon
#

EX. commands like SM, Chatlogs.

#

also effects :n

limber wraith
#

wtf

warm grove
#

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
#

odd

#

I'll try to check tomorrow and make a bug report if it is Roblox

lean tendon
#

@limber wraith @warm grove any updates?

celest harness
#

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

warm grove
#

manually changing the chat version on my end didnt cause these issues

#

it had to be roblox auto migrating it

modest barn
warm grove
#

its irreversible from what I heard

still rain
# warm grove no as like I said before this is mainly a roblox issue

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

still rain
warm grove
#

no wonder why this issue only affected games that were force migrated

still rain
limber wraith
#

would be awesome if i had that migration in one of my games so i could easily test it

still rain
limber wraith
#

I'll check later

#

i will probably make a plugin if i do fix it

#

as a temporary solution

still rain
warm grove
#

Lets you do whatever with adonis without having to fork it

still rain
warm grove
#

He said hes gonna try making a plugin to fix the issue

still rain
#

Is there a way to override a function in Adonis?

warm grove
#

Yeah

still rain
#

Using the plugin feature?

warm grove
still rain
#

God, I’m actually so in-need of that

wraith tree
wraith tree
wraith tree
#

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

wraith tree
#

for the broadcastfilter function?

still rain
#

GetNonChatStringForUserAsync() works very well

#

i can show you

wraith tree
#

i thought that function was meant for specific players whilst TextService::GetNonChatStringForUserAsync was meant for filtering text for everyone

still rain
#

it meant that it'd be suitable for all users

#

even the slightest words would censor the text

#

like kill

#

etc..

#

that's broadcastasync

wraith tree
#

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

wraith tree
still rain
#

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.

limber wraith
still rain
limber wraith
#

same as chat has and not the one that filters every single word

#

ok awesome

still rain
#

because it makes the message suitable for all ages

limber wraith
#

true

still rain
wraith tree
#

probably going to be expensive in calls and i'm pretty sure roblox ratelimit filtering quite alot

limber wraith
#

do you know if client uses Filter at all

wraith tree
#

i think the client can filter but i dont recall anything in the client calling it though

limber wraith
#

just in case kept both

wraith tree
#

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

limber wraith
#

ok nvm the person is offline rn so i could just do a pr

wraith tree
#

yeah you can do a PR

limber wraith
#

would be awesome if i could test it but none of my games have that change

wraith tree
#

yeah same

limber wraith
pearl geyser
#

interesting

limber wraith
still rain
#

@limber wraith Awesome!

limber wraith
#

wow

still rain
#

wonderful fix, thanks dusk

wraith tree
#

@pearl geyser tbh i think cherrypicking that specific commit to release would be a good idea

limber wraith
#

yep

#

bit of a issue if text is blank in games isnt it

pearl geyser
limber wraith
#

saw

#

@lean tendon let us know if you still continue to experience this issue

#

And if it fixed it