statistics
People Online: 12
Today's Visitors: 201
Total Visitors: 3,792,910
May 22, 2012, 06:24:02 AM
Shoutbox
   
 
[DevTeam] [Zeke]: I love that I get emailed when someone reports spam on the boards, but I can't do anything about it.
[DevTeam] [Nachonut]: lol i got you
[DevTeam] [Astaldo]: How about "hide email address from public checked" and it's still visible in all my posts...
[DevTeam] [Astaldo]: I'd delete my account on this site, but by the time I realized the problem half the spambots on the planet had it already
[Developer] [Pazza]: Astaldo if you log out and view your profile with a refresh you'll see that your email is hidden.
[Developer] [Pazza]: Your user level on the forums permit you to see emails even though they are marked hidden.
[DevTeam] [Astaldo]: Ah.. thanks for the clarification and apologies for "crying wolf" in that case :
[DevTeam] [Kaidenn]: PAZZA! i miss you.
[DevTeam] [Nachonut]: Lol, it's funny how it takes spam message reports to get me to come back
[DevTeam] [sylvanaar]: Check out the beta tester forum. Need alpha testers and feedback so I can come up with a maintenance plan.
[Developer] [Pazza]: loaded some new spam prevention modules... lets see if this stops the bastards.
[DevTeam] [Maziel]: Thought I'd check in and say Howdy Doody from Australia
[DevTeam] [Maziel]: Yeah the spam from shoes salesmen was becoming insane
[Guest] [Delakando]: What ever happened to the ability to track friend's location by wim? Other then just showing their general zone location.
Zeke pokes his head around the corner.
[DevTeam] [Zeke]: Anybody home?
[Guest] [Theillur]: I would like to know if it is just me.
[Guest] [Theillur]: http://www.wimaddon.com/forums/index.php/topic,1796.0.html
[Guest] [Nev]: I'm here
[Guest] [Nev]: I don't think anyone else is though
[Guest] [tomasio]: great site [url=http://freeonlinemusicvideos.net].[/url] [url=http://freepeopleclothing.org].[/url]
[Guest] [Theillur]: Nev it is not working for Zeke as well.
[DevTeam] [lothaer]: im here
[DevTeam] [lothaer]: ...
lothaer yawns sleepily.
[DevTeam] [lothaer]: sooooooooooooooooo
[Guest] [j3ff]: Hello. It is very quiet. I would love a response to my thread directly below your "Been very quiet" thread!
[DevTeam] [lothaer]: Check out my new post in the Skins forum
[DevTeam] [lothaer]: Posted a new download in the skins forum check it out
[DevTeam] [lothaer]: Zeke, Maziel, Pazza, Nachonut, sylvanaar, Kaidenn, Astaldo where are you?
[DevTeam] [lothaer]: It would be a real shame if WIM was left to die.
[DevTeam] [lothaer]: i think these forums are dead, Sylvanaar dosnt post on them as he only bug fixes when possible. WIMs future isnt very bright
[Guest] [justgiz]: Yea, its rather sad.
[Guest] [silvercola]: I wish it had skype
[DevTeam] [lothaer]: noy possible for a addon to do.
[DevTeam] [lothaer]: ...........
[Guest] [elzershark]: where is the download file?
lothaer beckons everyone over to you.
[DevTeam] [lothaer]: has anyone been able to take WIM to the beta yet?
[DevTeam] [lothaer]: PTR*
[DevTeam] [Maziel]: *sticks head up and looks around*
lothaer cries.
[DevTeam] [lothaer]: who the hell flagged my post as spam?
[Guest] [primalforce]: Hey guys
[DevTeam] [lothaer]: hello Primalforce.
[DevTeam] [lothaer]: PAZZA COME BACK!!!
[DevTeam] [Nachonut]: Ahhh memories
[Guest] [Ignis]: wtb update
[DevTeam] [lothaer]: soooo.....
Pazza starts to complain... Kinda reminds you of Sloans dont it?
 
   
   
News: World of Warcraft v4.0.1
 
Pages: [1]
Print
Author Topic: Explaination on WIM and it's Event Handling  (Read 2067 times)
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« on: April 26, 2007, 10:07:59 PM »

WIM reacts to 2 event sources. The first is from the ChatMessageFrame and the other is from its own internal events. The reason behind this is, the default chat frame registers events based off of chat tabs. Example: Chat, Combat, Userdefined... If whispers are shown on more than one tab, each time a whisper is sent or received, each tab triggers the event. This causes duplicate messages to be caught by WIM. On the flip side, if whispers are hidden (therefore unregistered) on all tabs, WIM will no longer receive whispers when depending solely on the chat frame itself. That being said, the ChatFrame is not a dependable source of whispers.

The reason WIM still listens to events even though they aren't dependable. Simply so that it can supress the messages themselves from the chat frame.

If you want your addon to hook into WIM, do NOT hook its message handler. Instead you would want to hook the function that creates and registers the actual conversation windows. Further documentation on how to do so can be found under the WIM API section that I created on this website.

http://www.wimaddon.com/wiki/WIM:API

If you have any questions, please feel free to ask them in this thread.

Logged

My hobbies consume way too much time :-).
canidae
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
« Reply #1 on: April 26, 2007, 11:50:33 PM »

this explanation is fair and i see why this is done like this, but i still disagree with the solution.
while you may claim that the chatframe is not a dependable source of whispers, i'd say that's the most dependable source of them all, since this is where the user actually set which messages should be shown and which shouldn't. if the user uncheck whispers from all the chatframes i'd say that's a pretty good sign that the user don't want any whispers at all.
duplicate messages can be countered to prevent them from showing up twice or more.
but it's quite obvious that we disagree here and won't get anywhere, so i'll just see about creating another addon that hack in support for wim in stfu.
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #2 on: April 27, 2007, 07:39:22 AM »

This event handling is new to WIM 2.0 and was the final change I made that seems to have corrected everyone's issues with receiving whispers. For that reason alone, I want to keep it until there is something better.

If you want an example on how to get your addon to work with WIM, it is to my knowledge that SpamSentry has made itself compatible with WIM. The author has confirmed this with me. You should check it out.
Logged

My hobbies consume way too much time :-).
Pages: [1]
Print
Jump to:  

You must be logged in to send a message to the shout box.
     
  test stamp