From cc908d683e354e69abd3f036f0259f2b60ae0906 Mon Sep 17 00:00:00 2001 From: Error430 Date: Sun, 21 Jul 2024 20:19:20 -0400 Subject: [PATCH 1/3] L420's updated regex. PR#329 --- server/src/utils/usernameFilter.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/server/src/utils/usernameFilter.ts b/server/src/utils/usernameFilter.ts index 61b216854..e0e2e2686 100644 --- a/server/src/utils/usernameFilter.ts +++ b/server/src/utils/usernameFilter.ts @@ -2,14 +2,13 @@ import { GameConstants } from "@common/constants"; import { Config } from "../config"; const badWordRegexes: RegExp[] = [ - /n[i1l!|\\/(){}[\]]+[g693]+[e3]*[ra@]*/i, // N word - /f[a@4]+[g9]+[s$5z2]+[ao0]+[t+]*/i, // F slur - /n[a@4]+z[i1]+[s$5z2]*/i, // Nazi references - /a[d]+[o0]+[/|l1]+[f]+(\s|\W|_)*h[/|!i1]+[t]+[/|!l1]+[e3]+[r]+/i, // Hitler - /(?=.*k[i1]+[l1]+[l1]*)(?=.*j[e3]+[w]+[s$5z2]*)/i // Antisemitist stuff - // FIXME too broad, matches "rap" - // sounds like that * at the end should be a + then - /// (?=.*m[o0]+[l1]+[e3]+[s$5z2]+[t+]*)|(?=.*r[a@4]+[p]+[e3]*)/i // Molest and rape + /([nNhH]|[\|Il!\(\)\[\]]*[\\\/]+[\|Il!\(\)\[\]]*|[\|Il!\(\)\[\]]*[vV]+[\|Il!\(\)\[\]]*)+[iI!1\|\\\/?\*jeE€3£]+[kKgG369&£]+[eE€£3]*[rRaA@4]+/, // N word + /f[a@4]+[g9]+[s$5z2]+[ao0]+[t+]*/i, // F slur + /n[a@4]+z[i1]+[s$5z2]*/i, // Nazi references + /a[d]+[o0]+[/|l1]+[f]+(\s|\W|_)*h[/|!i1]+[t]+[/|!l1]+[e3]+[r]+/i, // Hitler + /(?=.*k[i1]+[l1]+[l1]*)(?=.*j[e3]+[w]+[s$5z2]*)/i, // Antisemitist stuff + // likely fixed now, please check and remove the following line if still broken + /(?=.*m[o0]+[l1]+[e3]+[s$5z2]+[t+]*)|(?=.*r[a@4]+[p]+[e3]+[\s\S]*r[a@4]+[p]+[e3])/i // Molest and rape lets the name rap go ]; export function cleanUsername(name?: string | null): string { From 22e3df63c9c23e04b5537e72e70426862a66829e Mon Sep 17 00:00:00 2001 From: Katloo <132523318+Katloo24@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:27:08 -0400 Subject: [PATCH 2/3] increase barrett spawn ammo count --- common/src/definitions/guns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/definitions/guns.ts b/common/src/definitions/guns.ts index f620db72b..95f008ed0 100644 --- a/common/src/definitions/guns.ts +++ b/common/src/definitions/guns.ts @@ -682,7 +682,7 @@ export const Guns = ObjectDefinitions.create()( idString: "barrett", name: "Barrett M95", ammoType: "127mm", - ammoSpawnAmount: 20, + ammoSpawnAmount: 25, capacity: 5, reloadTime: 3.4, fireDelay: 1400, From ab74570d95bdec4cf9da5c54f8272537f2766110 Mon Sep 17 00:00:00 2001 From: zedaes <147769903+zedaes@users.noreply.github.com> Date: Wed, 4 Sep 2024 21:51:42 -0400 Subject: [PATCH 3/3] change surian to suroian --- client/src/scripts/news/newsPosts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/scripts/news/newsPosts.ts b/client/src/scripts/news/newsPosts.ts index b19c14a1e..63ebca3db 100644 --- a/client/src/scripts/news/newsPosts.ts +++ b/client/src/scripts/news/newsPosts.ts @@ -420,7 +420,7 @@ Special thanks to Leia and platonthek. This update wouldn't have been possible w There are also two new Austrian arrivals to the island. Like the Micro Uzi but want something that packs more of a punch? The Steyr AUG might be for you. If you prefer a challenge, grab the all-new full auto pistol, the CZ-75A.

-Surians can now customize their skins, and express themselves with emotes too! Everything is unlocked until accounts are added.`, +Suroians can now customize their skins, and express themselves with emotes too! Everything is unlocked until accounts are added.`, longContent: `

Suroi v0.9.0

New features & changes