statistics
People Online: 15
Today's Visitors: 436
Total Visitors: 3,727,946
February 07, 2012, 05:36:56 PM
Shoutbox
   
 
[Guest] [joshmiller83]: Can we get an Astrolabe fix please? Or has WIM stopped being developed?
[DevTeam] [Astaldo]: You can disable wim2wim for now or visit the forum thread where you originally posted the issue
[DevTeam] [Zeke]: Yay for spam!
[DevTeam] [Zeke]: ....
[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!!!
 
   
   
News: World of Warcraft v4.0.1
 
Pages: [1]
Print
Author Topic: Hooking ChatFrame_MessageEventHandler before WIM  (Read 1675 times)
sammy
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
« on: May 06, 2007, 10:51:39 AM »

Hi there,

Trying to create an anti-spam addon which is compatible with WIM but I am having problems hooking ChatFrame_MessageEventHandler before WIM for some reason.  I have tried to setup the hook to ChatFrame_MessageEventHandler on the ADDON_LOADED event for my own addon which triggers before WIM.  But I am thinking I actually want to hook this function last to get the first order hook?

Could you enlighten me as to how to do this properly? I am thinking what I actually want to do is hook last after WIM has setup it's hook?
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #1 on: May 06, 2007, 01:55:36 PM »

Hey Sammy. The problem you are having is not because of the order in which your addon is hooking. You would want it to be done after WIM and to enforce this, you would want to add WIM to your optional dependencies in our TOC file.

For an explanation on how WIM is hooking please read the following thread:
http://www.wimaddon.com/forums/index.php?topic=44.0

To sum it up, WIM catches events from two locations. One from the ChatFrame_MessageEventHandler and the other, it listens to events itself. The only reason WIM hooks the ChatFrame_MessageEventHandler is so it is able to suppress whispers.

What does this mean? Well it would mean that you would have to create a custom hook just for WIM. I have listed the best way to do so in the WIM API section of the site.

If you need anymore help let me know. I am still trying to devise a way to make this task easier for other developers.
Logged

My hobbies consume way too much time :-).
Maziel
Beta Tester
Full Member
*

Karma: +6/-0
Offline Offline

Posts: 198


Maziel of Feathermoon


View Profile WWW
« Reply #2 on: May 08, 2007, 08:14:12 PM »

Perhaps another Author of a mod that has successfully done a /who level check and block of whispers and is compatible with WIM is this guy OctaneBlade, his mod is SpamMeNot which allows you to choose which level you don't want to recieve whispers from: http://ui.worldofwar.net/ui.php?id=4387

This guy is another brainiac like Pazza, so if devs are needing to know how to do things compatible with WIM, I'd say chat to OctaneBlade as well as Pazza, as well as the author of SpamSentry. Smiley

Between SpamSentry's report system, WIM's ignore filter system, and SpamMeNot's gold blocking / level blocking, i don't think people need any other form of spam blocker. O_O
Logged

Pages: [1]
Print
Jump to:  

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