(Addon) SilverDragon w/ Mapnotes (via cartographer)

Re: (Addon) SilverDragon w/ Mapnotes (via cartographer)

by syntharis » Tue Dec 22, 2015 5:23 pm

Can any of these addons alert you with a sound when a rare is found? and can you add npc's yourself?
syntharis
Tester
 

Re: (Addon) SilverDragon w/ Mapnotes (via cartographer)

by boohaa » Mon Dec 28, 2015 6:47 am

syntharis wrote:Can any of these addons alert you with a sound when a rare is found? and can you add npc's yourself?


I've done this in this way:
Open Core.lua in your Silverdragon folder and find (empty) line #204, between this part of code
Code: Select all
if self.db.profile.announce.chat then
   self:Print(string.format(L["%s seen!"], name), dead and L["(it's dead)"] or '')
end

and this one
Code: Select all
self.lastseen[name] = time()

Add this to that empty line:
Code: Select all
PlaySound("RaidWarning")

Alternativetly, add this for auto-targeting:
Code: Select all
TargetByName(name, true)

Full code will look like this:
Code: Select all
if self.db.profile.announce.chat then
   self:Print(string.format(L["%s seen!"], name), dead and L["(it's dead)"] or '')
end
PlaySound("RaidWarning")
TargetByName(name, true)
self.lastseen[name] = time()


Tested it on Sludge Beast rare mob in The Barrens: https://youtu.be/QIn1Dh9fBQw (no auto-target example)
User avatar
boohaa
Tester
 

Re: (Addon) SilverDragon w/ Mapnotes (via cartographer)

by syntharis » Sun Jan 17, 2016 7:55 pm

Thx alot this can help for sure :)
syntharis
Tester
 

Re: (Addon) SilverDragon w/ Mapnotes (via cartographer)

by kappavanilla » Mon Dec 19, 2016 8:30 pm

hey, i know it might be an old post, but can anyone see the map markings at all ?

i started playing again a couple of days ago
kappavanilla
Tester
 

Re: (Addon) SilverDragon w/ Mapnotes (via cartographer)

by kapiw1 » Fri Jan 06, 2017 12:07 am

thanks, great addon <3
kapiw1
Tester
 

Previous

Return to Addons & macros