Download
(685 b)
Download
Updated: 11-29-14 09:57 AM
Pictures
File Info
Compatibility:
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:11-29-14 09:57 AM
Created:09-12-13 03:37 PM
Downloads:12,517
Favorites:57
MD5:

RareAlert  Popular! (More than 5000 hits)

Version: 1.4
by: Haleth [More]

This simple addon shows a raid warning and plays the raid warning sound when a rare creature or treasure appears on your minimap. This means you can keep your eyes on the game world and only look at the minimap when you hear the sound.

1.4

Disabled alerts while in garrison to avoid spam from invasions.
Bumped ToC for patch 6.0.

1.3

Removed code for detecting Kukuru's Treasure Cache because it's not needed anymore.

1.2.1

Add ruRU support for Kukuru's Treasure Cache filtering.

1.2

Attempt to use an actually working method to detect Kukuru's Treasure Cache. English locale only, for now.

1.1

Kukuru's Treasure Cache on the Timeless Isle should now no longer trigger the alert.

1.0

Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 09-12-13, 06:42 PM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
Apparently, this works for other mobs in Pandaria too! Updated the description.
Report comment to moderator  
Reply With Quote
Unread 09-12-13, 07:47 PM  
Miaoxin
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
This is a really handy addon. I've found chests and treasures that I didn't even know existed, plus I don't have to miss out on that rare that's just around a corner when I'm busy with something else.

Thx.
Report comment to moderator  
Reply With Quote
Unread 09-15-13, 03:17 PM  
lorgi
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
Very handy, with that in mind tho; would it be a huge undertaking to add what rare thing has been spotted to the message? Such as "Rare spotted! <name of rare mob>" or something instead of just seeing the rare spotted text.
Report comment to moderator  
Reply With Quote
Unread 09-16-13, 07:06 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
Thanks for the comments!

lorgi: This -should- be possible, but currently there seems to be a bug (or undocumented intended behaviour) in the Blizzard code that prevents this from working.

However, I have managed to filter out Kukuru's Treasure Cache, so you should no longer get an alert for that
Report comment to moderator  
Reply With Quote
Unread 09-16-13, 07:54 AM  
laukond
A Black Drake

Forum posts: 87
File comments: 77
Uploads: 0
Thank you so much for making this standalone Haleth
Report comment to moderator  
Reply With Quote
Unread 09-16-13, 04:12 PM  
psiko74
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Can the sound it makes when a rare is spotted be changed to something more noticeable?
Report comment to moderator  
Reply With Quote
Unread 09-17-13, 12:49 AM  
LgEnder
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
With 1.1 I still seem to be getting the Rare alert for Kukuru's Treasure Cache.
Report comment to moderator  
Reply With Quote
Unread 09-18-13, 03:41 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
psiko74: You'd have to change the path of the sound file in the line 'PlaySoundFile' in the source code.

LgEnder: I'm working on a fix for this. It's still not entirely clear how the new API works but apparently the ID depends on the server and on weekly resets as well. I'll be checking for the NPC name instead (which I probably also need to translate for different locales).
Report comment to moderator  
Reply With Quote
Unread 09-18-13, 04:04 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Yeah that ID is just somewhat funny. Is your change that you check for the name now instead?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 09-18-13, 04:40 AM  
Wetxius
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 51
Uploads: 2
Kukuru's Treasure Cache

"Клад Кукуру" for ruRU client.
Report comment to moderator  
Reply With Quote
Unread 09-18-13, 05:33 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
zork: Yeah, it's weird. I am indeed checking against the name now (and checking if the ID and name aren't nil). Wanted to make sure it works with the English version before I localize it.

Wetxius: Thanks, I'll be adding this
Report comment to moderator  
Reply With Quote
Unread 09-19-13, 02:12 PM  
Egris
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
GetVignetteInfoFromInstanceID

Why not use the objectIcon?
Lua Code:
  1. local _, _, name, objectIcon = C_Vignettes.GetVignetteInfoFromInstanceID(vignetteInstanceID)
  2.  
  3. if objectIcon and (objectIcon == 40 or objectIcon == 42)then --40-Chest, 41-Skull, 42-Crossed Swords
  4.     return
  5. end
  6. PlaySoundFile("Sound\\Interface\\RaidWarning.wav")
  7. if name then
  8.     RaidNotice_AddMessage(RaidWarningFrame, name.." spotted!", ChatTypeInfo["RAID_WARNING"])
  9. else
  10.     RaidNotice_AddMessage(RaidWarningFrame, "Rare spotted!", ChatTypeInfo["RAID_WARNING"]) 
  11. end

You could also just use objectIcon != 41, but I wanted to catch any other values if they existed.
name is check for nil due to a bug with large IDs returning nil for x,y,name.
Report comment to moderator  
Reply With Quote
Unread 09-19-13, 04:44 PM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
Because I like having chests and rare vendors in there as well. The only thing I want to exclude is Kukuru because he's always there regardless.
Report comment to moderator  
Reply With Quote
Unread 09-19-13, 11:15 PM  
Chrome67
A Murloc Raider
 
Chrome67's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 52
Uploads: 8
Re: GetVignetteInfoFromInstanceID

Originally Posted by Egris
Why not use the objectIcon?
Lua Code:
  1. some really cool code was here...

You could also just use objectIcon != 41, but I wanted to catch any other values if they existed.
name is check for nil due to a bug with large IDs returning nil for x,y,name.
@Egris - nice stuff there. I had hacked it up almost exactly the same, but like yours a bit more given it checks for the icon instead of the name itself. Any way to work around the name bug that anyone knows of? I'd like to get names for any alert if possible...or at least position since finding them still takes a bit of searching once the alert pops.

@author...
Many thanks...nice lil addon...
Report comment to moderator  
Reply With Quote
Unread 09-21-13, 09:50 AM  
eternityshard
A Murloc Raider

Forum posts: 5
File comments: 12
Uploads: 0
Just want to say Thank you for this addon. Utterly simple and perfectly effective.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: