Go to Page... |
Updated: | 03-25-13 12:25 AM |
Created: | 06-27-11 01:52 AM |
Downloads: | 9,305 |
Favorites: | 19 |
MD5: |
This addon allows you to personalize and randomize announcements for when someone uses your lightwell, wastes your lightwell, or when your lightwell has sat idle, expires or is summoned . A visible counter has been added to display the number of charges remaining. The addon now supports the lightspring glyph.
Configuration options can be accessed in-game through the interface menu, right-clicking the lightwell counter graphic or by typing
/lwb config or /lightwellbuddy config
(Type /lwb to see these options in your locale, as they may have been translated to your language)
Recent Updates
-Added Controls to change the font, border and background of the Lightwell Counter
New Author Needed
The current authors will continue to do occasional fixes for patches that inevitably break the addon. However, our focus will be elsewhere as one author does not play a priest and the other no longer plays WoW. Please PM an author if you are interested in taking over or contributing to the development and maintenance of the addon.
Features
Advanced options include support for custom channels, customizing messages sent only to specific players, and support for multiple profiles which you can switch between by clicking the Lightwell Counter display. The addon supports unlimited profiles and unlimited numbers of customizable and randomizable messages within each profile. For some announcement message ideas, you can visit one of the following forum threads:
http://us.battle.net/wow/en/forum/topic/2721374581
http://www.plusheal.com/forum/m/1833...sponses/page/1
Please feel free to contribute your own message ideas on the threads, or in the comments of this page :-)
In addition to sending announcements, the addon will track and display the number of charges remaining on your lightwell. The graphic will fade and pulse as the lightwell nears expiration. Certain behaviors and visual appearance can be controlled through the configuration menu.
Localization:
Thank you for the help provided by the following translators: koKR (Complete by Guckkasten), zhTW (Partial by Whyv), deDE (Complete by Tacid), zhCH (Completed by ranrain), itIT (Completed by TyrusPrime), ptBR (partial by laminax), and ruRU (completed by seishinnokage).
If you're interested in providing translations for localizing the addon to your language, please use the curseforge interface here:
http://wow.curseforge.com/addons/lig.../localization/
Thanks to our projects contributors: Choonster for the original design of the addon, Takkix for expanding and building the original in-game configuration window, and Hershe for the original concept and the efforts to test, debug and enhance. Thank you also to tehLH, the author of the Lightwell Counter project which this projet borrowed from to create the graphic counter. It is an open-source project which appears to have been abandoned by its original author, but has since been updated by a new author. Source for this project can be found here: http://wow.curseforge.com/addons/lwcounter/.
Comment Options |
06-27-11, 11:28 PM | |
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
small issue
The addon doesn't appear to work unless you /reload once. Works perfect after a reload.
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Find More Posts by hershe |
Add hershe to Your Buddy List |
06-28-11, 12:12 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
Re: small issue
local ADDON_NAME, ns = ... local LWB_events = {} local LWB_frame = CreateFrame("Frame") LWB_frame:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED") local PLAYER_NAME = UnitName("player") local PLAYER_GUID = UnitGUID("player") local LIGHTWELL_SPELLID = 724 local RENEW_SPELLID = 7001 local Lightwell_GUID; local isLightwellDown = false local message; local gsub = string.gsub local SendChatMessgae = SendChatMessage local LWB_phrases = { --[[ Format: [#] = "Phrase", [#] = "Phrase", Any occurrence of %u in the phrase will be replaced with the Lightwell user's name, any of %p will be replaced with your name. Put a double dash ( -- ) at the start of a line in this table to "comment" it and stop LWB from using that phrase. To use the \ (backslash) or | (vertical bar) characters in the phrase, you may need to use \\ or || respectively. ]] --Start of table [1] = "Thank you for using the Lightwell %u!", [2] = "May the Light bless you %u.", --End of table } function LWB_events:COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, spellId, spellName, spellSchool, ...) if PLAYER_GUID == nil then PLAYER_GUID = UnitGUID("player") end if event == "SPELL_SUMMON" and spellId == LIGHTWELL_SPELLID and sourceGUID == PLAYER_GUID then SendChatMessgae("Click the lightwell for a suprise!", (GetNumRaidMembers() > 0 and RAID) or (GetNumPartyMembers() > 0 and PARTY) or (SAY), nil, nil) elseif event == "SPELL_AURA_APPLIED" and sourceGUID == PLAYER_GUID and spellId == RENEW_SPELLID then message = nil --reset the message repeat --keep trying to pick a random message until we get one message = LWB_phrases[random(#LWB_phrases)] or nil until message message = gsub(message, "(%%[pu])", function(arg) if arg == "%p" then return PLAYER_NAME else return destName end end) SendChatMessage(message, (GetNumRaidMembers() > 0 and RAID) or (GetNumPartyMembers() > 0 and PARTY) or (SAY), nil, nil) --Say the message. DO NOT CHANGE THE message ARGUMENT. --[[ To change how the message is said (e.g. language, channel), visit this page: http://www.wowpedia.org/API_SendChatMessage ]] --[[ elseif 1 == 1 then SendChatMessage(event,SAY,nil,nil) SendChatMessage(spellId,SAY,nil,nil) SendChatMessage("source" .. sourceGUID,SAY,nil,nil) SendChatMessage("Player" .. PLAYER_GUID,SAY,nil,nil) ]] end end LWB_frame:SetScript("OnEvent", function(self, event, ...) LWB_events[event](self, ...) end)
Last edited by hershe : 06-28-11 at 12:14 AM.
|
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Find More Posts by hershe |
Add hershe to Your Buddy List |
06-28-11, 12:57 AM | |
|
Thanks.
Thanks for the help debugging this Hershe. I've uploaded that fix as v0.02 now.
|
|
Choonstertwo |
View Public Profile |
Send a private message to Choonstertwo |
Find More Posts by Choonstertwo |
Add Choonstertwo to Your Buddy List |
hershe |
View Public Profile |
Send a private message to hershe |
Find More Posts by hershe |
Add hershe to Your Buddy List |
Choonstertwo |
View Public Profile |
Send a private message to Choonstertwo |
Find More Posts by Choonstertwo |
Add Choonstertwo to Your Buddy List |
07-01-11, 04:01 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 27
Uploads: 0
|
Just doesn't seem to work.
Nothing.
|
|
korleonis |
View Public Profile |
Send a private message to korleonis |
Visit korleonis's homepage! |
Find More Posts by korleonis |
Add korleonis to Your Buddy List |
hershe |
View Public Profile |
Send a private message to hershe |
Visit hershe's homepage! |
Find More Posts by hershe |
Add hershe to Your Buddy List |
07-02-11, 02:42 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
hey =]
love the addon! Is there anyway to have it say as an emote? (so then I can edit all the messages to start with "'s Lightwell says:...") And also have it on a random chance to say the messages (i.e there is a 1 in 3 or 1 in 2 chances of getting a message). thanks again for the epic addon Aribella |
|
Aribella |
View Public Profile |
Send a private message to Aribella |
Visit Aribella's homepage! |
Find More Posts by Aribella |
Add Aribella to Your Buddy List |
07-02-11, 10:51 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
As for the random chance to say something, you may be able to trick it by adding 1/3 or 2/3 messages that are blank, so it will pick a blank message and do nothing. But I'm out of town and can't test it, so good luck :-). We may be able to add a more permanent solution later When we get a chance. edit: Confirmed, you can rig it to not display a message a certain % of the time by adding blank messages. For example, if you have 2 messages and you want a 1/3 change for a message to come up when someone clicks it, add another 4 blank messages so it looks like this: Code:
[1] = "Thank you for using the Lightwell %u!", [2] = "May the Light bless you %u.", [3] = "", [4] = "", [5] = "", [6] = "",
Last edited by hershe : 07-02-11 at 03:44 PM.
|
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Visit hershe's homepage! |
Find More Posts by hershe |
Add hershe to Your Buddy List |
07-03-11, 06:14 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
thanks!
Last edited by Aribella : 07-03-11 at 06:23 AM.
|
|
Aribella |
View Public Profile |
Send a private message to Aribella |
Visit Aribella's homepage! |
Find More Posts by Aribella |
Add Aribella to Your Buddy List |
07-04-11, 02:58 AM | |
|
v0.05
I've just released v0.05, which includes a constant to adjust the frequency that messages are sent at. Thanks for the idea Aribella.
I've also made a few changes to properly support sending messages to a numbered channel (e.g. Trade is usually accessed with the /2 command) including both world channels like Trade/General and custom channels. See the change log for the full list of changes. |
|
Choonstertwo |
View Public Profile |
Send a private message to Choonstertwo |
Visit Choonstertwo's homepage! |
Find More Posts by Choonstertwo |
Add Choonstertwo to Your Buddy List |
07-04-11, 10:13 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
Re: v0.05
Great changes otherwise. Thanks! |
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Visit hershe's homepage! |
Find More Posts by hershe |
Add hershe to Your Buddy List |
07-04-11, 02:48 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
is it possible to set this up to whisper the person who clicked the lightwell?
|
|
kislio |
View Public Profile |
Send a private message to kislio |
Visit kislio's homepage! |
Find More Posts by kislio |
Add kislio to Your Buddy List |
07-04-11, 03:36 PM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
|
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Visit hershe's homepage! |
Find More Posts by hershe |
Add hershe to Your Buddy List |
07-04-11, 10:56 PM | |
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
v 0.06
Fixed some bugs with v0.05 that prevented messages from being sent. Details are in the change log.
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Visit hershe's homepage! |
Find More Posts by hershe |
Add hershe to Your Buddy List |