MegaAntiCheat / client-backend

GNU General Public License v3.0
117 stars 24 forks source link

Blacklisted words scensor and un-sensor when UI refreshes names #128

Open nijahplays opened 5 months ago

nijahplays commented 5 months ago

Title

The bug happening https://youtu.be/kObSmLNBz-8

Bash-09 commented 5 months ago

Huh interesting. My guess is that one of status and g15 reports the name censored while the other does not.

Bash-09 commented 5 months ago

This probably also means if the player is recorded (is marked as something other than player or has some custom data like an alias or note), then the censored version probably also shows up in their recorded names lol.

megascatterbomb commented 5 months ago

To account for this and any other situations where g15 and status disagree, it would be nice if for any given piece of data we could set a preferred source.

This case is particularly difficult though as we'd set the preferred source to uncensored for consistency in writing to the backend, but a user may prefer to have it censored in the UI, even if only to match what they see in game.