LARGE_NUMBER_SEPERATOR and taint
Hello. Today i noticed when using my personal ui fix addon that i got some taint when trying to use a minor glyph.
So after fiddling with the code a bit, i noticed that LARGE_NUMBER_SEPERATOR = "'" caused the taint. I went ahead and even tested it with /run LARGE_NUMBER_SEPERATOR = "'" which resulted in the same taint error. So is there any way to change that large number seperator without it causing taint? Or maybe is there a way to just reverse the change when opening up the glyph window and when closing it put in the change again? |
Don't know if keeping a backup of the original would work, but I would recommend just hooking the UI instead. I ended up doing that to change the clearly incorrect 'K' thousands indicator into lower case!
|
It's for the floating combat text mainly. I think there's no way of hooking it :/
|
Maybe you can replace the function CombatText_AddMessage, this will taint Blizzard_CombatText.lua but hopefully there is no secure stuff involved. This also assumes you can identify the separator in the message parameter of this function. I mean
Code:
CombatText_AddMessage_old = CombatText_AddMessage |
All times are GMT -6. The time now is 03:33 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI