View Single Post
09-22-05, 11:01 AM   #4
gix
A Deviate Faerie Dragon
 
gix's Avatar
Join Date: Sep 2005
Posts: 13
Or maybe there is a better method to accomplish what I want?
Basically it's a notifier. It looks for messages with a specific prefix and prints those messages together with a sound in the middle of the screen. But the hooked ChatFrame_OnEvent function is called twice and I test there whether a message has the required prefix or not and then call another function that adds the message to a scrollframe. So because of that the message is also added twice to my scrollframe.
I fixed it for now with a table that saves all noticed messages with the time of the last occurence and only processes them further on after a small timeout of 0.1 seconds.
But this is definitely a weird behavior and worked fine with all older versions of wow.
  Reply With Quote