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,009
Favorites:60
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-23-13, 08:49 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1171
File comments: 1130
Uploads: 30
It appears to work for every rare in Pandaria, though I haven't been flying around in the classic world so I'm not sure if it goes for other rares as well.

It'd be great if the ID returned by the function was consistent, so we have blacklist/whitelist features. Names actually being returned properly would be cool too.
Haleth is offline Report comment to moderator  
Reply With Quote
Unread 09-23-13, 08:37 AM  
Feril
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Thanks for the reply, Haleth

I hope they fix those bugs. What irks me from the system used by, for example, NPC Scan is that it depends on managing the cache. I know that system lets you search for many more things than just "rares", but anyway...

This new feature of showing rares on the minimap is really cool and I hope they extend it to every rare in the game (if it isn't already like that, of course!).

Feril is offline Report comment to moderator  
Reply With Quote
Unread 09-22-13, 04:03 PM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1171
File comments: 1130
Uploads: 30
Names aren't possible at the moment, sadly. Judging by the Blizzard code it -should- work, but there appear to be a few bugs.
Haleth is offline Report comment to moderator  
Reply With Quote
Unread 09-22-13, 09:42 AM  
Feril
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Smile Names

Is it possible to announce the name of the rare detected?
Feril 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
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-19-13, 04:44 PM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1171
File comments: 1130
Uploads: 30
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, 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-18-13, 05:33 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1171
File comments: 1130
Uploads: 30
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-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, 04:04 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1373
File comments: 3310
Uploads: 87
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 online now 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: 1171
File comments: 1130
Uploads: 30
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-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-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-16-13, 07:54 AM  
laukond
A Black Drake

Forum posts: 81
File comments: 69
Uploads: 0
Thank you so much for making this standalone Haleth
laukond is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: