This is were they also teach reading comprehension, I guess?
Printable View
If I could just filter "DJ" that would knock out most of the messages I don't want to see.
Even then they'd just start using unicode or whatever characters to replace the D or the J to avoid the term filter because they're irritatingly insistent that you show up to their venue that 90% of the playerbase don't care about other than the fact that their shout ad is littering the chat.
I explained, how its usually done in normal games. I can also write u some lua code as example, since FFXIV UI is powered by LUA:
the only problem here, that :lower() does not support extended UTF-8 characters, but since it ignores it, its not a big deal, but u can write own :lower() on C/C++ for that.Code:local termlist = {
"ababa", "discord", "venue", "msq", "twitch"
} -- termlist example, preprocessed, prenormalized.
local function term_pass(str, termlist)
str = tostring(str):lower(); -- normalize
if #str < 3 or type(termlist) ~= "table" then -- ignore short message
return true;
end
print(str);
for i = 1, #termlist do
if str:find(termlist[i]) then
return false;
end
end
return true;
end
I made this concept in 7 minutes, I think there are like even better one.
The problem with that is that you cannot put it in as a regex. So you'd match all instances of "dj", and hence you could no longer adjust to someone being adjacent to you during the wadjet mechanic, etc etc.
If you could at least put in "\s[dj|DJ]\s" or something, that'd work of course.