Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(600 b)
Download
Updated: 10-03-13 01:22 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:10-03-13 01:22 PM
Created:09-12-13 03:37 PM
Downloads:5,122
Favorites:59
MD5:

RareAlert  Popular! (More than 5000 hits)

Version: 1.3
by: Haleth [More]

This simple addon shows a raid warning and plays the raid warning sound when a rare creature or treasure cache is spotted on the Timeless Isle or in other places on Pandaria. A rare is 'spotted' when its icon 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.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)


Archived Files (4)
File Name
Version
Size
Author
Date
1.2.1
781B
Haleth
09-20-13 09:14 AM
1.2
703B
Haleth
09-18-13 03:52 AM
1.1
671B
Haleth
09-16-13 07:04 AM
1.0
597B
Haleth
09-12-13 06:42 PM


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

Forum posts: 1172
File comments: 1137
Uploads: 31
Apparently, this works for other mobs in Pandaria too! Updated the description.
Haleth is offline 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.
Miaoxin is offline Report comment to moderator  
Reply With Quote
Unread 09-15-13, 03:17 PM  
lorgi
A Kobold Labourer

Forum posts: 0
File comments: 30
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.
lorgi is offline Report comment to moderator  
Reply With Quote
Unread 09-16-13, 07:06 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1172
File comments: 1137
Uploads: 31
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
Haleth is offline Report comment to moderator  
Reply With Quote
Unread 09-16-13, 07:54 AM  
laukond
A Black Drake

Forum posts: 81
File comments: 71
Uploads: 0
Thank you so much for making this standalone Haleth
laukond is offline 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?
psiko74 is offline 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.
LgEnder is offline Report comment to moderator  
Reply With Quote
Unread 09-18-13, 03:41 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1172
File comments: 1137
Uploads: 31
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).
Haleth is offline 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: 1391
File comments: 3368
Uploads: 89
Yeah that ID is just somewhat funny. Is your change that you check for the name now instead?
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

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

Forum posts: 3
File comments: 43
Uploads: 1
Kukuru's Treasure Cache

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

Forum posts: 1172
File comments: 1137
Uploads: 31
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
Haleth is offline 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.
Egris is offline Report comment to moderator  
Reply With Quote
Unread 09-19-13, 04:44 PM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1172
File comments: 1137
Uploads: 31
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.
Haleth is offline 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: 55
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...
Chrome67 is offline 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.
eternityshard is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: