TornDotSpace / Torn-Issues

The official issue tracker for torn.space!
0 stars 0 forks source link

Fix chat mute dodging / abuse #34

Closed DamienVesper closed 5 years ago

DamienVesper commented 5 years ago

Currently, the chat can be easily bypassed by (i.e.: replacing the g's with a 6 and spamming in all caps to show the N word). This package (https://www.npmjs.com/package/bad-words/) is a better one, at least, to replace the current chat filter. Please change the filter so it covers more words.

DamienVesper commented 5 years ago

In addition to that, private messages can be spammed without any punishment, and mutes do not apply to PMs. And even if a user IS muted, they can leave the game and rejoin, therefore being unmuted.

Also, the automute system sometimes is triggered too early, consider making the algorithm less intensive, such as requiring a bit more time (.179 of a second maybe?) before muting.

chrisj1 commented 5 years ago

@DamienVesper We are currently using that package. No matter what people will find ways to bypass the filter.

We could try allowing user's mute to be persistent.

chrisj1 commented 5 years ago

We also want to make sure the filter is not too prone to false positives. For instance, if they were are talking about their favorite proper subset continuously differentiable functions and when they say I love Lipschitz continuous and the chat flags that that as profanity.

johnnyapol commented 5 years ago

As Eigenvector said, that is currently our filter. The filter will always be an uphill battle. The chat muting stuff will need to be fixed, so that will become the topic of this issue

johnnyapol commented 5 years ago

This has been fixed in the current master branch and will be apart of the next deployment.