Download
(198Kb)
Download
Updated: 09-22-13 08:00 PM
Pictures
File Info
Updated:09-22-13 08:00 PM
Created:11-04-10 02:55 PM
Downloads:4,375
Favorites:16
MD5:

WhisperNotify

Version: 1.18.5
by: help137 [More]

WhisperNotify

WhisperNotify displays Whispers sent to you in the middle of the screen with a fadeout, ala combat style, message and an optional audio alert.

I tend to overlook Whispers if I'm not specifically watching my chat box, especially Whispers from NPCs during quests. Hence, this little addon. The messages still show up in your chat box, they just also appear in the message area of your screen.

It will remember your settings separately for each character and set itself when loaded.

GUI based config with new options in version 1.15!


WhisperNotify slash commands


You can use /wn or /whispernotify

  • /wn - shows help
  • /wn ver - shows the version number
  • /wn reset - resets all options to defaults.
  • /wn on - turn WhisperNotify on for the current character
  • /wn off - turn WhisperNotify off for the current character
  • /wn silent - toggles alert sound on/off for the current character
  • /wn status - displays the WhisperNotify Status for the current character
  • /wn style - toggles bewteen the default and compact display styles
  • /wn test - sends a test whisper to the on screen diplay
  • /wn time S - sets time whispers stay on screen before starting to fade to S seconds (default is 5)
  • /wn fade S - sets time whispers take to fade out to S seconds (default is 2)
  • /wn move X Y - sets the offset of the frame from the center of the screen
  • /wn resize W H - sets the size the frame. Default is 600 x 200

To Do
  • Localization
  • Configurable Sound
  • Control Outline on fonts
  • Possibly add other chat types

05/21/2013 - v1.18.4
- Updated TOC for WoW 5.3

12/01/2012 - v1.18.3
- Updated TOC for WoW 5.1

09/11/2012 - v1.18.2
- Updated TOC for WoW 5.0x

12/01/2011 - v1.18.1
- Updated TOC for WoW 4.3

10/02/2011 - v1.18
- Updated TOC for WoW 4.2

11/29/2010 - v1.17b
- Redid the sound system - Now uses it's own sound files instead of the system sounds. Custom sounds available by replacing the "custom.mp3" file with the sound you want to use.


11/21/2010 - v1.16b
- Should now trigger on BattleNet(RealID) whispers as well. NEEDS TESTING!
- New Config Option - Time Between sounds - This keeps the sound from playing repeatedly if you've got a series of whispers coming in quick sequence.
- New Config Option - Sound to play - Choose which system sound to play.
Note: If you want custom sounds for your chat messages, I suggest the addon "ChatSounds", available on WowInterface
- Added Optional Dependancy to the TOC to make sure ChatSounds is loaded first if you are using it, this allows ChatSounds to hook the events first.


11/14/2010 - v1.15
- Fixed combat suppresion bug (I hope!)
- Added config GUI. Go to Game Menu - Interface - Addons - WhisperNotify to configure. All of the old command line options are still in place for now.
- In my personal opionion there is something wrong with a system where the code for the config needs to be twice the size of the actual program code...
- The Font, along with it's color, size and alpha(transparency) can now be set, but only from the GUI, not the command line.
- Small oddity: if the Alpha is less than fully opaque, the message will go fully opaque just before it fades out. Dunno why yet.
- Another small oddity: If the font size is raised above a certain size (30 on my system), the game ignores it and continues to disply at 30. I think this has something to do with the UI Scaling. Not sure if I can do anything about this.


11/12/2010 - v1.12b - Beta Version


11/09/2010 - v1.11b - Code and internal variable cleanup in prep for config GUI. Not released to the public.


11/10/2010 - v1.10a - Bug "fix" release, disabled combat check.


11/09/2010 - v1.10

-Added slash command to move frame
-Added slash command to resize frame
-Added slash commands to set time and fade delays
-Added option to suppress whisper display if in combat
-Added option for one line display instead having the name on a separate line.
-Fixed bug where if the sound was on, but the addon was off, the sound would still play.


11/05/2010 - v1.02 - Fixed issue with on/off command that was preventing addon from working for some.

11/04/2010 - v1.00 - Initial Release
Optional Files (0)


Post A Reply Comment Options
Unread 11-04-10, 09:26 PM  
bossmansmith
A Murloc Raider

Forum posts: 4
File comments: 73
Uploads: 0
Can the location be customized in .lua or anywhere else?
Report comment to moderator  
Reply With Quote
Unread 11-04-10, 10:06 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Originally posted by bossmansmith
Can the location be customized in .lua or anywhere else?
Um, you could, but the only thing that it even puts out in English is the help menu. The whispers are in whatever language they are sent to you.

-A
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 08:09 AM  
tareon
A Kobold Labourer
 
tareon's Avatar

Forum posts: 0
File comments: 22
Uploads: 0
Originally posted by help137
Um, you could, but the only thing that it even puts out in English is the help menu. The whispers are in whatever language they are sent to you.

-A

Location, not localization

He wants to know, if the position of the displayed whisper can be configured.
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 10:31 AM  
bossmansmith
A Murloc Raider

Forum posts: 4
File comments: 73
Uploads: 0
Correct, the location of the output - can this be configured by slash command or in the .lua at all?

I assume you use an anchor and create a frame from what I see.
Example for positioning could be:
/wn anchor 250, 150 (setting the anchor position to 250, 150)
/wn size 400, 200 (setting the size of the frame to 400x200)

I really do like the fact that you created your frame rather then use the error frame or raid warning frame - I have never liked missing raid warnings because I happen to get a couple of whispers at the same time and the warning rolled up before I could read it.
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 02:24 PM  
tareon
A Kobold Labourer
 
tareon's Avatar

Forum posts: 0
File comments: 22
Uploads: 0
Hmm doesn't work for me. I turned it on, did "/wn test", saw the message, heard the sound... wn says everything is turned on. But when somebody real whispers me, it does nothing.

Have I misunderstood something? It should display any whisper onscreen, right?
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 03:28 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Originally posted by bossmansmith
Correct, the location of the output - can this be configured by slash command or in the .lua at all?

I assume you use an anchor and create a frame from what I see.
Example for positioning could be:
/wn anchor 250, 150 (setting the anchor position to 250, 150)
/wn size 400, 200 (setting the size of the frame to 400x200)

I really do like the fact that you created your frame rather then use the error frame or raid warning frame - I have never liked missing raid warnings because I happen to get a couple of whispers at the same time and the warning rolled up before I could read it.
Ah, sorry, I've got localization on the brain (trying to lesrn how to do it efficiently). There is no built in mechanism to move the frame. It's anchored to the center of the UI, with an offset of 0,0. You could probably move it where you like by altering the offset line in the frame descriptor in the XML file.

-A
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 03:31 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Originally posted by tareon
Hmm doesn't work for me. I turned it on, did "/wn test", saw the message, heard the sound... wn says everything is turned on. But when somebody real whispers me, it does nothing.

Have I misunderstood something? It should display any whisper onscreen, right?
Yes, it should do so. By any chance, are you running DBM? I had a problem last night where WN was working, then I went into a dungeon and DBM activated and WN stopped working. I'm not sure if it was DBM or if it was the tinkering I was doing to the code just before I uploaded it here. I thought I uploaded the known good one, but...

Is it working for anyone else?

-A
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 05:01 PM  
tareon
A Kobold Labourer
 
tareon's Avatar

Forum posts: 0
File comments: 22
Uploads: 0
Originally posted by help137
Yes, it should do so. By any chance, are you running DBM? I had a problem last night where WN was working, then I went into a dungeon and DBM activated and WN stopped working. I'm not sure if it was DBM or if it was the tinkering I was doing to the code just before I uploaded it here. I thought I uploaded the known good one, but...

Is it working for anyone else?

-A
No DBM here. But I will check the other addons I'm running. Maybe I'm able to locate the bad eggs. I will post my results here when I'm done.
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 11:14 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Fixed, I think

Ok, I think I've got it fixed. At least it's working for me again. New version just posted (1.02). Give it a try if you would.

Also, I'm considering building in an automatic in-combat shutoff (configurable). Would that be of interest to anyone?


-A
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 07:29 AM  
vivianalive
A Deviate Faerie Dragon
 
vivianalive's Avatar

Forum posts: 15
File comments: 34
Uploads: 2
I need sound option/

Dear author,
Is there anyway I could choose the sound the mod uses? I know I could modify it in lua, but IDK how those ingame sounds are named, nevertheless, the default sound is awwwwwesome.
__________________

CeeUI: a minimalistic all-class UI
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 01:14 PM  
tareon
A Kobold Labourer
 
tareon's Avatar

Forum posts: 0
File comments: 22
Uploads: 0
Re: Fixed, I think

Originally posted by help137
Ok, I think I've got it fixed. At least it's working for me again. New version just posted (1.02). Give it a try if you would.

Also, I'm considering building in an automatic in-combat shutoff (configurable). Would that be of interest to anyone?


-A
OK, works flawless now. Thank you.

In-Combat shutoff would be a nice addition. A configurable output duration would also be nice.

Btw. Thanks for making this addon. I used WhisperAlert in the past (and loved it), but it doesn't seem to be updated anymore.

Keep up the good work.
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 03:09 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Re: I need sound option/

Originally posted by vivianalive
Dear author,
Is there anyway I could choose the sound the mod uses? I know I could modify it in lua, but IDK how those ingame sounds are named, nevertheless, the default sound is awwwwwesome.
At the moment modifying the LUA is the only way. You can check out this wowpedia page for a list of the sounds that work with the command used.

-A
Last edited by help137 : 11-06-10 at 11:33 PM.
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 08:51 PM  
bossmansmith
A Murloc Raider

Forum posts: 4
File comments: 73
Uploads: 0
Been playin around with settings.

Any way to change the font used?
Any way to change the delay to fade?
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 11:29 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Originally posted by bossmansmith
Been playin around with settings.

Any way to change the font used?
Any way to change the delay to fade?
Other than directly in the LUA code, no, not at the moment. You're the second person to ask for a way to change the fade timer, so I'll probably work on that one next. Shouldn't be too hard, as that's set in the LUA. The font... could be more difficult, as at the moment, it's set in the XML.

-A
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 01:12 AM  
bossmansmith
A Murloc Raider

Forum posts: 4
File comments: 73
Uploads: 0
I have been able to resize the frame in the .xml not overly difficult since you set it up very straight forward.

i tried to find the delay in the .lua but couldn't.

To me it appears that you are using scrollingmessegeframe which does not have a timer available to it.
info here :
http://wowprogramming.com/docs/widgets/ScrollingMessageFrame/AddMessage

This page appears to show how to set a fade timer:
http://wowprogramming.com/docs/widgets/MessageFrame/SetTimeVisible

Perhaps this website page would be helpful in allowing the frame to be set by .lua and in the end set by /comand:
http://wowprogramming.com/docs/widgets/MessageFrame


EDIT:
I managed to get it to fade out at 2 secs and change the default fading time of 3secs to a shorter 1 secs using this code:
WhisperNotifyFrame:SetTimeVisible(2);
WhisperNotifyFrame:SetFadeDuration(1);
Last edited by bossmansmith : 11-07-10 at 01:39 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: