Go to Page... |
Updated: | 09-22-13 08:00 PM |
Created: | 11-04-10 02:55 PM |
Downloads: | 4,485 |
Favorites: | 16 |
MD5: |
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
Comment Options |
Astrocanis |
View Public Profile |
Send a private message to Astrocanis |
Find More Posts by Astrocanis |
Add Astrocanis to Your Buddy List |
11-10-10, 04:01 PM | |
A Murloc Raider
Forum posts: 4
File comments: 73
Uploads: 0
|
sure I can beta test. My knowledge of .lua is limited I tend to learn what I need when I need.
|
|
bossmansmith |
View Public Profile |
Send a private message to bossmansmith |
Find More Posts by bossmansmith |
Add bossmansmith to Your Buddy List |
help137 |
View Public Profile |
Send a private message to help137 |
Find More Posts by help137 |
Add help137 to Your Buddy List |
11-10-10, 01:22 PM | |
A Murloc Raider
Forum posts: 4
File comments: 73
Uploads: 0
|
This is all a part of a new addon.
What impresses me most is your responsiveness still - keep up the great work. I think I might know how to get combat working again. if status=on then ..if incombat=false then ....post --if on always posting out of combat ..elseif showincombat=yes then ....post --if on and in combat and showincombat then post ..end end It means you have to use the posting code twice but i think the logic is sound doing it this way |
|
bossmansmith |
View Public Profile |
Send a private message to bossmansmith |
Find More Posts by bossmansmith |
Add bossmansmith to Your Buddy List |
11-10-10, 09:08 AM | ||
|
Sal,
There is a problem with the Boolean logic for the combat suppress function, I've uploaded a quick fix. However, by removing the second event, you've disabled the whispers from NPCs, which was working just fine. -A
|
|
|
help137 |
View Public Profile |
Send a private message to help137 |
Find More Posts by help137 |
Add help137 to Your Buddy List |
11-10-10, 09:04 AM | ||
|
Hmm.. Booleans don't seem to be working as per the LUA specification in Blizzard's implementation. I've posted an update with the combat suppress functionality removed until I can figure out what's going on.
-A
|
|
|
help137 |
View Public Profile |
Send a private message to help137 |
Find More Posts by help137 |
Add help137 to Your Buddy List |
11-10-10, 07:12 AM | ||
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
I delete the follow several parts and test it with my Guild Mates. Now it works fine for me. if(event == "CHAT_MSG_WHISPER" or event == "CHAT_MSG_MONSTER_WHISPER") then if WhisperNotify_State == 'ON' and (WhisperNotify_Combat ~= 'Y' and UnitAffectingCombat("player") ~= true) then if WhisperNotify_Silent == 'N' then PlaySound("LEVELUP"); end --if silent if WhisperNotify_Style == 'D' then WhisperNotifyFrame:AddMessage(arg2, 1, 0.5, 1); WhisperNotifyFrame:AddMessage(arg1, 1, 0.5, 1); else WhisperNotifyFrame:AddMessage(arg2..': '..arg1, 1, 0.5, 1); end --if style end --if state end --if event |
|
|
Salvadore1981 |
View Public Profile |
Send a private message to Salvadore1981 |
Find More Posts by Salvadore1981 |
Add Salvadore1981 to Your Buddy List |
11-09-10, 06:49 PM | |
A Murloc Raider
Forum posts: 4
File comments: 73
Uploads: 0
|
New options are great.
HOWEVER, the test message will display but no whispers are displaying now. Tried to trouble shot but I am not that good with .lua. NO ERRORS thrown out. EDIT: tracked it down to the arguement in this line if WhisperNotify_State == 'ON' and (WhisperNotify_Combat ~= 'Y' and UnitAffectingCombat("player") ~= true) then If I deleted everything after 'ON' works fine, so it is in the combat checking part
Last edited by bossmansmith : 11-09-10 at 11:32 PM.
|
|
bossmansmith |
View Public Profile |
Send a private message to bossmansmith |
Find More Posts by bossmansmith |
Add bossmansmith to Your Buddy List |
11-09-10, 10:26 AM | |
A Murloc Raider
Forum posts: 4
File comments: 73
Uploads: 0
|
You are a great author, responsive and helpful.
Keep up the great work. |
|
bossmansmith |
View Public Profile |
Send a private message to bossmansmith |
Find More Posts by bossmansmith |
Add bossmansmith to Your Buddy List |
11-09-10, 08:58 AM | ||
|
Ok, this is weird. I replied to you last night, about 12:30 AM Eastern, giving you that exact same line and telling everyone about all the new features for today's release and it never showed up here. I haven't got time to retype the whole thing so I'll have to condense it down:
Expect a new release later today with almost all the features that have been asked for! -A
|
|
|
help137 |
View Public Profile |
Send a private message to help137 |
Find More Posts by help137 |
Add help137 to Your Buddy List |
11-08-10, 08:48 PM | |
A Murloc Raider
Forum posts: 4
File comments: 73
Uploads: 0
|
If i wanted the output to be:
Name: Message EDIT: figured this out changing my line to: WhisperNotifyFrame:AddMessage(arg2.. ": " .. arg1, 1, 0.5, 1, 1, 3); which outputs to frame this format: ChacterName: Message Works great! Might I suggest adding a frame and option for Officer chat - I am not an officer in my guild but I know they use it alot and they might like an addon that allows them to see the messages in a pop-up frame in their UI. Only thing left for me is some way to change size and location of frame itself by slash command.
Last edited by bossmansmith : 11-09-10 at 01:19 AM.
|
|
bossmansmith |
View Public Profile |
Send a private message to bossmansmith |
Find More Posts by bossmansmith |
Add bossmansmith to Your Buddy List |
11-08-10, 05:39 PM | ||
|
Interesting. It's actually a basic MessageFrame, not a ScrollingMessageFrame. The definition you found for the MessageFrame is not the same as the one I used though. The definition I worked from was from wowwiki/wowpedia and is as follows:
Code:
MessageFrame:AddMessage("text", red, green, blue, messageId, holdTime); I did some tinkering and both the time before fade and the fade time will be configurable in the next release, with a default of 5 and 2, respectively, for a total of the original design plan of 7 seconds. As for the frame size, the size I picked is meant to work with both older 4:3 screens and newer wide-screen monitors. If you've got a widescreen and want it wider, that is indeed an easy mod in the XML file. Still working on moving the frame with slash commands. (Although, at the rate I'm adding settings, I think I need to look into how to do a GUI based config!) -A
|
|
|
help137 |
View Public Profile |
Send a private message to help137 |
Find More Posts by help137 |
Add help137 to Your Buddy List |
11-07-10, 01:12 AM | |
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.
|
|
bossmansmith |
View Public Profile |
Send a private message to bossmansmith |
Find More Posts by bossmansmith |
Add bossmansmith to Your Buddy List |
11-06-10, 11:29 PM | ||
|
-A |
|
|
help137 |
View Public Profile |
Send a private message to help137 |
Find More Posts by help137 |
Add help137 to Your Buddy List |
11-06-10, 08:51 PM | |
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? |
|
bossmansmith |
View Public Profile |
Send a private message to bossmansmith |
Find More Posts by bossmansmith |
Add bossmansmith to Your Buddy List |