View Bug Report
Some buffs display bad characters
Bug #: 306
File: ZAM BuffDisplay
Date: 04/21/14 09:26 PM
By: Blackstorm
Status: Flagged for Future Version
Hello ^^

Thanks for the Forum, Wiki, some threads that help me and your work on many plugins and libs ^^

In the Zam Buffdisplay plugin, is it possible to correct that problem please :

"On my french client, i have some display names issue (with "buffname[COLOR="rgb(139, 0, 0)"]^m[/color]", "buffname^f" or others..)"

Can you add this function or something like that :

Lua Code:
  1. local cleanbuffName = ""
  2.         if (buffName ~= nil or buffName ~= '') then
  3.             cleanbuffName = buffName:match("([^\^]+)")
  4.         else
  5.             cleanbuffName = buffName
  6.         end
  7.        
  8.         myBuff.name:SetText(cleanbuffName)

in your "updateBuffs" function please ?

Thanks a lot