So basically the decision is to make a pointless change that only hurts accessibility?
Here you can verify the Hardware Protected function SetCurrentTitle:
/run C_Timer.After(0.1, function () SetCurrentTitle(0) end)
[ADDON_ACTION_BLOCKED] AddOn '*** ForceTaint_Strong ***' tried to call the protected function 'SetCurrentTitle()'.
This code inside any addon will nullify the hardware protection as all it requires is a random key press to use the hardware protected function. If there’s anything that can be automated by multiboxers or bots, it’s sending key presses to the client.
How to use this script: have someone say title in /say and then press a random key on your keyboard.
local titles = {}
for title = 1, GetNumTitles() -1, 1 do
if IsTitleKnown(title) then table.insert(titles, title) end
end;
local receivedTitleCommand = false
local listener = CreateFrame('Frame', nil, UIParent)
listener:SetPropagateKeyboardInput(true)
listener:HookScript('OnKeyDown', function ()
if not receivedTitleCommand then return end
SetCurrentTitle(titles[random(1, #titles)])
receivedTitleCommand = false
end)
listener:RegisterEvent('CHAT_MSG_SAY')
listener:SetScript('OnEvent', function (_, event, text)
if event ~= 'CHAT_MSG_SAY' or text ~= 'title' then return end
receivedTitleCommand = true
end)
This change is pointless and should not be made.