statistics
People Online: 16
Today's Visitors: 222
Total Visitors: 3,792,931
May 22, 2012, 07:49:55 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: Block special whispers  (Read 1887 times)
Sylna
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
« on: December 06, 2008, 04:55:42 AM »

I'm currently writing an addon which has an Option to accept whispers from other players and rewhispers them with some data. This addon also has an Option to not show those whispers.

I use the blizz-AddMessageEventFilter API to do so. a search in this forums said, that WIM would respect this method and also block those whispers, but it doesn't. Without WIM everything is okay, but when i enable WIM the whispers get shown in WIM.

This is what I do:
Code:
ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER", BlockIncomingChatFrame_OnEvent)

function BlockIncomingChatFrame_OnEvent(msg)
if is_whisper(msg, "Incoming") then
return true, msg;
end;
return false, msg;
end

The function is_whisper() contains my logic to detect if the whisper should be blocked or not. It seems that everything is okay with this function since without WIM everything works as intendet.

Can you imagine what went wrong?
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #1 on: December 06, 2008, 03:35:51 PM »

I will check... It should be respecting the filters
Logged

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

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
« Reply #2 on: December 08, 2008, 07:00:44 AM »

anything new?
Logged
Deepac
Guest
« Reply #3 on: December 10, 2008, 02:46:06 AM »

I'm having a very similar problem with an addon I'm writing too. I'm sending a whisper to myself (to CraftList2 actually) to see if the user if able to craft an item they have right-clicked on. As expected this triggers two CHAT_MSG_WHISPER events and two CHAT_MSG_WHISPER_INFORM events (two sends and two replies). Without WIM my filters work perfectly and filter all 4 events, with WIM however only one of the reply events is filtered, the other 3 events show as normal. I can post my code if necessary. Love WIM by the way, keep up the great work! (not creeping! I really do like WIM!)
Logged
Sylna
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
« Reply #4 on: December 23, 2008, 08:09:39 PM »

Quote
I will check... It should be respecting the filters

what's the result of your check? can you let us know?
Logged
Sylna
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
« Reply #5 on: January 22, 2009, 08:51:25 AM »

still nothing ??
Logged
Pages: [1]
Print
Jump to:  

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