View Bug Report
double notification / black text
Bug #: 7675
File: MikScrollingBattleText
Date: 04-28-12 08:26 AM
By: Billtopia
Status: Not a Bug
I have noticed (and so have others reported to me) that when my addon (nick alert) calls on MSBT to add a notification text that the color of the text is sometimes black, and sometimes it double posts the text to the notification frame (in 2 different colors). I at first thought that this may be caused by my addon so I turned on the debugging I had already built in and found that when it double posts I am only calling it once.

are there colors that MSBT just doesn't like? lol

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Mikord - 07-20-12 02:36 PM
If you're seeing black text, it is likely you are calling it with unexpected color values which are being modified to 0 to prevent errors. My first guess is you are calling it with percentage style colors (e.g 0.33) instead of values in the range of 0-255. If you look at the included API, the expected color values are in that range. If this is indeed the case, you can convert it by simply multiplying your percentage color values by 255.