WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Rachelle at 11/17/2005 3:48:41 PM PST
Subject: Unregistering Events, help please,
   I am trying to get my UI mod to unregister whispers to all the default Chat Frames (1-7), and I have written the code as follows.

Q u o t e:
for i=1, 7 do
getglobal("ChatFrame"..i):UnregisterEvent("CHAT_MSG_WHISPER");
getglobal("ChatFrame"..i):UnregisterEvent("CHAT_MSG_WHISPER_INFORM");
end


However, When the :UnregisterEvent() lines are included in the code, my UI tends to crash into a critical Error. (roughly 20% of the time)

When I comment out the two Unregister Events, I have yet to have WoW crash (tried 25+ times), but the chatframes retain the ability to catch Whispers.

Has anyone had similar issues? or alternatives for me?

You can download my UI mod Here:
http://clubweb.interbaun.com/kbwiens/WoWUI/ForgottenChat.rar
to examine the context I use it it in.

Are Buffer Overflows possible in the WoW environment?
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=266206&p=#post266206
 
Poster: slouken at 11/17/2005 4:45:43 PM PST
Subject: Re: Unregistering Events, help please,
   Can you post a link to a minimal addon which shows this crash?

Thanks!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=266206&p=#post266242
Poster: slouken at 11/18/2005 9:32:59 AM PST
Subject: Re: Unregistering Events, help please,
   Can you zip up the entire addon and provide steps?

Thanks!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=266206&p=#post266641

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?