sapphonie / StAC-tf2

steph's anticheat (StAC). a built-from-scratch sourcemod based solution to cheating in Team Fortress 2.
https://sappho.io
GNU General Public License v3.0
118 stars 21 forks source link

Add missing translations for newlineBanMsg #129

Closed kjsmita6 closed 2 years ago

kjsmita6 commented 2 years ago
L 08/25/2022 - 19:16:02: [SM] Exception reported: Language phrase "newlineBanMsg" not found (arg 5)
L 08/25/2022 - 19:16:02: [SM] Blaming: stac.smx
L 08/25/2022 - 19:16:02: [SM] Call stack trace:
L 08/25/2022 - 19:16:02: [SM]   [0] Format
L 08/25/2022 - 19:16:02: [SM]   [1] Line 26, stac/stac_misc_checks.sp::OnClientSayCommand

This getting spammed in my error logs and turns out there's no translation for it. I only know Spanish in addition to English so that's all I could do.

Also, illegalCharacterInName was using the wrong translation for printing to allchat so that probably would've had an error as well.

sapphonie commented 2 years ago

Uhhh, did you get a ban triggered by newlines? That theoretically shouldn't be possible in current TF2, unless this is for OF/TF2C

kjsmita6 commented 2 years ago

I must've because this translation lookup was triggered many times (it gets spammed a lot). Normal tf2.

sapphonie commented 2 years ago

Wacky! Alright, lgtm