• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

BeaconAlert

  Download the Curse Client

Project Updated:
Files Updated: Tue, Dec 30 2008
Supports Game Version: 3.0.3
Category: Buffs & Debuffs
Tags:

[Edit Tags]

Project Manager: SweetTactics
Additional Authors: No additional authors
Current Version: BeaconAlert.zip
License: All Rights Reserved
Avg Daily DL (last 30 days): 5
Downloads Total: 1,788
Favorites: 7
Comments: 10
  • Contests
  • About BeaconAlert
  •  

BeaconAlert sends you a message in red text (with a sound) when the Beacon of Light spell you had cast on someone has faded.

You can customize BeaconAlert the old fashioned way...by editing the source code.

BeaconAlert.lua
[code]
function BeaconAlert_OnLoad()
BeaconAlertFrame:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");
end

function BeaconAlert_OnEvent(self, event, ...)
local timestamp, type, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = select(1, ...)
if( event == "COMBAT_LOG_EVENT_UNFILTERED" ) then
if( type == "SPELL_AURA_REMOVED" ) then
local spellId, spellName, spellSchool = select(9, ...)
if( UnitName("player") == sourceName ) then
if( spellName == "Beacon of Light" ) then
PlaySound("PVPENTERQUEUE")
DEFAULT_CHAT_FRAME:AddMessage("-Beacon of Light fades from " .. destName .. "-", 1, 0, 0);
RaidNotice_AddMessage(RaidBossEmoteFrame, "Beacon of Light fades from " .. destName, ChatTypeInfo["RAID_WARNING"])
end
end
end
end
end
[/code]

The line of code:

PlaySound("PVPENTERQUEUE")

can be removed if you don't want any sound to play, or changed to a different sound. For a list of valid sounds, check out: http://www.wowwiki.com/API_PlaySound. Remember, your sound name has to be wrapped in double-quotes.

To change the color of the text message (default is red), edit the 3 numeric values in this line of code:

DEFAULT_CHAT_FRAME:AddMessage("---Beacon of Light fades from " .. destName .. "---", 1, 0, 0);

The 3 numeric values represent red, green, and blue. Enter values between 0.0 and 1.0. For more information, check out: http://www.wowwiki.com/API_ScrollingMessageFrame_AddMessage.

To enable a raid-style warning message that gets printed to the middle of the screen, uncomment this line of code:

--RaidNotice_AddMessage(RaidBossEmoteFrame, "Beacon of Light fades from " .. destName, ChatTypeInfo["RAID_WARNING"])

To uncomment it, simply remove the 2 dashes () that start the line.

  • Downloads (3)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  BeaconAlert.zip Release 3.0.3 1,167 12/30/2008
  BeaconAlert.zip Release 3.0.3 522 12/2/2008
  BeaconAlert.zip Beta 3.0.3 99 11/30/2008
  • 1 page(s)
Advertisement
  • Screenshots (1)
  •  
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Golmoza said 

    addon stoped working for me once i got glyph of beacon :(

    Reply Report Permalink
  • Merglith said 

    that is a fail. well /sw might work fine, using it myself in another matter. try this one out if you have dbm:

    /cast Beacon of Light
    /dbm timer 60 Bacon Time!

    Reply Report Permalink
  • I have stopped using my own creation and now use this macro:

    /cast Beacon of Light
    /sw 59
    /script Stopwatch_Play()

    I like this because it gives you a timer countdown, and it plays a nice sound when it expires.

    Reply Report Permalink
  • This is a very good addon. Awsome job been looking for it for ages. But a huge improvement would be if you could include "Judgements of the Pure" so we can tell when that wears off as well and it would be 100% perfect. I know youve had issues with sacred shield but why dont you just have it on a fixed 30 second timer whenever you hit the sacred shield button. And whenever you recast it it resets the timer. =]

    Reply Report Permalink
  • OMG
    SweetTactics you a such a hero.
    This addon is very simple, has no complicated config menu or screen that only the author understands. It fills the need of a warning in a very simple way.
    Next to palypower this is the best holy paladin addon!!!!!!!!

    Reply Report Permalink
  • As for sacred shield, I think you could try to check by spellid I supose (the buffs should have different ids, even if they have the same name).
    As for your addon, it's very nice and was mostly what I was looking for. I added a message when Beacon is cast, and a timer on the right of the screen that counts from 60 to 0 so I can plan recasting beacon.
    I have uploaded it on megaupload if someone wants to see it; I tried to keep it as simple as possible, preserving the original feel.
    http://www.megaupload.com/?d=AN8YKFPS

    Reply Report Permalink
  • Dubbelw said 

    this Addon works great! no buggs or anything and it does exactly what I want it to ^^ (been searching for a while that helps me with this but everything is to buggy/does to many wierd things).

    I liked this so much that I would like it for Sacred shield aswell :p Anyway this would be a possibility?

    Reply Report Permalink
  • I tried making it work with Sacred Shield, but I ran into a problem. When you apply Sacred Shield to someone, they gain a new buff called "Sacred Shield." The problem occurs when Sacred Shield procs on the target. When it does, they get a new buff called "Sacred Shield." So now they have 2 Sacred Shields up: 1 that lasts 30 seconds, and 1 that lasts 6 seconds I think. It is only useful to be notified when the 30 second one goes away, but I have no way to distinguish it from the 6 second one expiring.

    If anyone knows a way to get around this, pleae leave a comment!

    Reply Report Permalink
  • I know nothing about xml or making addons, but I think it should be possible to make a timer go off 27 or so seconds directly AFTER "sacred shield" is cast?

    Reply Report Permalink
  • Elvarion said 

    I'd imagine you will have to work with the spell ID rather than name, both have the same name but can't have the same ID.

    Reply Report Permalink
  • Golmoza said 

    It works perfect! If someone is looking for a good sounds, I recomment the fail quest sound (igQuestFailed). Specially works great the first few times while you wonder what on earth you did wrong to fail a quest :)

    And Sweettactics: less is more! This already is my best addon, but if you find making addons a fun thing: a menu would save us all the trouble of manually changing the luafiles each update.

    Reply Report Permalink
  • Unfortunately I don't have the time or desire to learn more about addons, so hopefully editing the Lua isn't that much of a pain. Thanks for the tip on a good sound.

    Reply Report Permalink
  • helixkod said 

    doesnt do anything for me, not sure if im doing something wrong. I load the addon and no message comes up at all. Is there an edit function in game?

    Reply Report Permalink
  • Are you applying the beacon to yourself during testing? If so, there will be no message when it expires on you (because you can see the timer tick down up with the rest of your buffs). You should only get the message when beacon of light expires on someone else.

    Reply Report Permalink
  • Golmoza said 

    yeah! THNX! finally something I was looking for! Is it also possible to change lua so I get a messgae on my screen instead of only in chat?

    Reply Report Permalink
  • I just made an update that addresses your request. All you have to do is open up the Lua file and uncomment this line of code:

    --RaidNotice_AddMessage(RaidBossEmoteFrame, "Beacon of Light fades from " .. destName, ChatTypeInfo["RAID_WARNING"])

    To uncomment it, just remove the 2 dashes (--) that start the line, and save the file. Sorry for the lack of an options menu in game...that would take me a while to learn how to do.

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 8,794 HealBot Continued Buffs & Debuffs, Unit Frames...
  2. 5,852 Decursive PvP, Buffs & Debuffs, and...
  3. 2,520 PallyPower Buffs & Debuffs, and Paladin
  4. 1,927 Skada Damage Meter Buffs & Debuffs, Boss Encounters...
  5. 1,148 EventAlert Buffs & Debuffs