Go to Page... |
Updated: | 03-25-13 12:25 AM |
Created: | 06-27-11 01:52 AM |
Downloads: | 9,303 |
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 |
07-08-11, 02:00 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
I'd love to take a look at what you've put togeather :-) Decisions on how to move forward will be left to Choonster as the primary author, though I'm all for offering a simpler interface. If you'd like to share your work, you can post it here or on our development thread we have going on the official forums (http://us.battle.net/wow/en/forum/topic/2721383954). Probably better to put it on the forums to keep these comments cleaner. Cheers! |
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Find More Posts by hershe |
Add hershe to Your Buddy List |
takkix |
View Public Profile |
Send a private message to takkix |
Find More Posts by takkix |
Add takkix 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 |
Find More Posts by hershe |
Add hershe 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 |
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 |
Find More Posts by kislio |
Add kislio 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 |
Find More Posts by hershe |
Add hershe 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 |
Find More Posts by Choonstertwo |
Add Choonstertwo 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 |
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 |
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 |
Find More Posts by Aribella |
Add Aribella to Your Buddy List |
07-01-11, 08:57 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
Re: Just doesn't seem to work.
|
|
|
hershe |
View Public Profile |
Send a private message to hershe |
Find More Posts by hershe |
Add hershe 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 |
07-01-11, 01:08 AM | |
|
v0.04
I've included those changes in v0.04.
Thanks again Hershe. If anyone wants to read the development dialogue or suggest/contribute new stuff, visit this thread on the official forums: http://us.battle.net/wow/en/forum/topic/2721383954 If you can't post there for whatever reason, post your feedback in these comments instead (I don't read them as often, but I do occasionally).
Last edited by Choonstertwo : 07-01-11 at 01:11 AM.
|
|
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 |
06-30-11, 11:18 PM | |
A Deviate Faerie Dragon
Forum posts: 10
File comments: 17
Uploads: 0
|
Suggested Improvements:
The addon has gotten a lot of positive feedback from other priests on the forum and the people I've ran with in dungeons :-) I've enjoyed working on it and testing it out. Based on their feedback and some of my own, I've made some improvements you may want to incorporate into the official version:
1. Added variables for "charges used" and Charges remaining". Added a new function at the bottom to reset these values, which is executed when the lightwell is summoned. 2. Added placeholders for messages to include charges remaining/used. (%x = charges used, %c = charges remaining, in addition to the original %u and %p) 3. Added a constant that the user can enter a message to be displayed when the lightwell is summoned. 4. Added a "channel" constants for the "click" message and "summon" message. The user can enter the name of a particular channel they want the messages to go to, or enter "SMART" for it to go to raid/party/say if they are in a raid or party. 5. Re-organized some of the code so that all the configurable options for channel selection, summon message and the table of messages are at the top so they're easier to find. Code:
--SELECT YOUR CHANNEL. You may enter the name of the channel you want your messages to go to (for example "SAY", "EMOTE", "PARTY", "RAID", "BATTLEGROUND", "GUILD", "OFFICER", or "SMART"). "SMART" will send the message to raid if you're in a raid, party if you're in a party, or say if you're in neither. local MESSAGE_CHANNEL = "SMART" --ENTER LIGHTWELL SUMMON MESSAGE. Select a channel and enter a message to be displayed when you summon your lightwell. local SUMMON_MESSAGE = "Click my Lightwell for a SURPRISE!" local SUMMON_CHANNEL = "SMART" --[[Add Messages: Format: [#] = "Phrase", [#] = "Phrase", Any occurrence of the following placeholders will be replaced as follows: %u will be replaced by the Lightwell user's name. %p will be replace by your name. %c will be replaced by the number of charges remaining on the lightwell %x will be replaced by the number of charges used on the lightwell. 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. ]] local LWB_phrases = { --Start of table [1] = "Thank you for using the Lightwell %u!", [2] = "May the Light bless you %u.", --End of table } --END OF CONFIGURATION. DO NOT MODIFY ANYTHING ELSE BELOW UNLESS YOU REALLY KNOW WHAT YOU'RE DOING! 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 CHARGES_USED = 0 local CHARGES_REMAINING = 0 local LIGHTWELL_SPELLID = 724 local RENEW_SPELLID = 7001 local message; local gsub = string.gsub local SendChatMessgae = SendChatMessage function LWB_events:COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, ...) if not PLAYER_GUID then PLAYER_GUID = UnitGUID("player") end if event == "SPELL_SUMMON" and sourceGUID == PLAYER_GUID and spellId == LIGHTWELL_SPELLID then RESET_CHARGES() SendChatMessage(SUMMON_MESSAGE, SUMMON_CHANNEL == "SMART" and ((GetNumRaidMembers() > 0 and RAID) or (GetNumPartyMembers() > 0 and PARTY) or (SAY)) or SUMMON_CHANNEL, nil, nil) elseif event == "SPELL_AURA_APPLIED" and sourceGUID == PLAYER_GUID and spellId == RENEW_SPELLID then CHARGES_REMAINING = CHARGES_REMAINING - 1 CHARGES_USED = CHARGES_USED + 1 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, "(%%[pucx])", function(arg) if arg == "%p" then return PLAYER_NAME elseif arg == "%u" then return destName elseif arg == "%c" then return CHARGES_REMAINING elseif arg == "%x" then return CHARGES_USED end end) SendChatMessage(message, MESSAGE_CHANNEL == "SMART" and ((GetNumRaidMembers() > 0 and RAID) or (GetNumPartyMembers() > 0 and PARTY) or (SAY)) or MESSAGE_CHANNEL, nil, (MESSAGE_CHANNEL == "WHISPER" and destName) or 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 ]] end end function RESET_CHARGES() CHARGES_REMAINING = 10 CHARGES_USED = 0 for i = 7, NUM_GLYPH_SLOTS do local enabled, glyphType, glyphTooltipIndex, glyphSpellID, icon = GetGlyphSocketInfo(i); if ( enabled ) then if glyphSpellID == 55673 then CHARGES_REMAINING = 15 end end end end LWB_frame:SetScript("OnEvent", function(self, event, ...) LWB_events[event](self, ...) end)
Last edited by hershe : 07-01-11 at 12:14 AM.
|
|
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 |
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 |
Visit Choonstertwo's homepage! |
Find More Posts by Choonstertwo |
Add Choonstertwo to Your Buddy List |