Go to Page... |
Updated: | 02-17-09 12:28 PM |
Created: | 01-06-09 06:41 PM |
Downloads: | 48,392 |
Favorites: | 163 |
MD5: |
This is a little add-on I wrote for my guild; it keeps track of the Energy, combo points and the Engulf in Flames on Malygos.
Slash command:
/MCP, it will allow you to move the frame around, use the command again to lock the frame in place.
UPDATES:
-I just uploaded it as a .zip file.
-I fixed a bug where the stacks of Engulf in Flames sometimes were not resetting after a wipe.
-It will now work in any client with a different language.
-The frame will now only appear if you are in a Wyrmrest Skytalon (the dragon in the fight and the quest in Coldarra), it won’t appear in any other kind of vehicles.
-You can now move the frame correctly when you use the /command, it won’t disappear instantly.
-Now the "time remaining" will update correctly depending on how many combo points did you spend in the Engulf in Flames. Also it won’t refresh the timer if the time remaining in the stacks is longer than the new buff if you use less combo points. (Thanks to Kubax for this fix).
-I reduced the size of the texts and reorganized it, and added a status bar. it will now show:
Combo Points:
Energy:
Engulf in Flames Stacks:
And a Status bar with the time remaining on the stacks.
If you have any problem with the add-on, send me a PM.
Thanks.
Orgo
Comment Options |
arggggg |
View Public Profile |
Send a private message to arggggg |
Find More Posts by arggggg |
Add arggggg to Your Buddy List |
05-01-09, 11:35 PM | ||
A Murloc Raider
Forum posts: 4
File comments: 31
Uploads: 0
|
Same for me. |
|
|
nToxik |
View Public Profile |
Send a private message to nToxik |
Find More Posts by nToxik |
Add nToxik to Your Buddy List |
04-18-09, 01:43 AM | |
A Murloc Raider
Forum posts: 7
File comments: 12
Uploads: 0
|
Seems to be counting each stack double for some reason now, I had 17stacks on boss and the mods counter said 33 stacks.
|
|
TazGolem |
View Public Profile |
Send a private message to TazGolem |
Find More Posts by TazGolem |
Add TazGolem to Your Buddy List |
04-02-09, 01:17 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 52
Uploads: 0
|
Does this addon tracks total number of debuffs on the boss? Or is it for every drake in particular? I would really love to see how many debuffs I personally have on the boss if is possible. Is it?
|
|
cerbul |
View Public Profile |
Send a private message to cerbul |
Find More Posts by cerbul |
Add cerbul to Your Buddy List |
03-17-09, 07:53 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
?
It works incorrectly with non-enGB client.
Doing daily and noticed. When i lose my stack of debuff, addon still shows debuff. For ex. i had 3 debuffs on mob. Then lost them. When i click "2" next time, there will be only 1 debuff, but your addon shows 3+1=4. The problem is at the bottom of lua file. Old Code:
if (spellName=="Engulf in Flames") then catorce=23; stacks=0; end Code:
if ((spellId==61621) or (spellId==56092)) then catorce=23; stacks=0; end P.S. btw, i tried to replace english wordings with russian - no luck, addon didnt show any russian message. Maybe there is the problem with russian font, dunno. But anyway, great job, thank you
Last edited by alt7 : 03-17-09 at 05:05 PM.
|
|
alt7 |
View Public Profile |
Send a private message to alt7 |
Find More Posts by alt7 |
Add alt7 to Your Buddy List |
03-10-09, 01:39 PM | |
|
Awesome mod, good job
|
|
Vilkku |
View Public Profile |
Send a private message to Vilkku |
Visit Vilkku's homepage! |
Find More Posts by Vilkku |
Add Vilkku to Your Buddy List |
03-03-09, 12:32 AM | |||
|
Orgo |
||
|
Orgo |
View Public Profile |
Send a private message to Orgo |
Visit Orgo's homepage! |
Find More Posts by Orgo |
Add Orgo to Your Buddy List |
03-01-09, 05:54 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
Hi, for frFR:
Code:
if (GetLocale() == "frFR") then MSG_ComboPoints = "Points de combo: " MSG_Energy = "Energie: " MSG_EngulfStacks = "Envelopper dans les flammes: " MSG_EngulfRemainigTime = "Temps restant pour l'envelopper dans les flammes:" end |
|
Veuliah |
View Public Profile |
Send a private message to Veuliah |
Visit Veuliah's homepage! |
Find More Posts by Veuliah |
Add Veuliah to Your Buddy List |
03-01-09, 12:15 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
I had the same problem in that i installed the addon but it didnt work.
the problem is the addon is not in a folder when it gets installed but just sitting there so you need to make a folder called MalygosCP put the 3 files for the zip file into there and there you go 1 working addon |
|
nereme |
View Public Profile |
Send a private message to nereme |
Visit nereme's homepage! |
Find More Posts by nereme |
Add nereme to Your Buddy List |
02-23-09, 01:25 AM | ||||
|
Orgo |
|||
|
Orgo |
View Public Profile |
Send a private message to Orgo |
Visit Orgo's homepage! |
Find More Posts by Orgo |
Add Orgo to Your Buddy List |
02-21-09, 10:48 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
This addon doesn't work for me. I put it in my AddOns folder along with all the other addons, it doesn't work. I deleted my AddOns folder and only installed this addon. it still doesn't work. Anyone else have this problem and then get it resolved?
It worked a few days ago on both Malygos and Aces High. Now after the update, it no longer is working. I did mess around with /mcp and moved the frame around and I wasn't ever able to type /mcp and lock the frame in position. When I move the frame, where are the values saved?
Last edited by Awmax99 : 02-21-09 at 12:57 PM.
|
|
Awmax99 |
View Public Profile |
Send a private message to Awmax99 |
Visit Awmax99's homepage! |
Find More Posts by Awmax99 |
Add Awmax99 to Your Buddy List |
02-19-09, 01:11 AM | |
Guest
Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
|
Hi Orgo,
thanks for the addon, I was about to write a similiar one on my own when I found yours, so I skipped my version of it But since I already thought about my version, I got some suggestion for yours: -a more compact layout : combine both "Combo Points: XX" and "Energy: XX" into one line --> "CPs: XX Energy: XX", same goes for the stack counter and the time remaining bar. The stack counter could easily fit into the left part of the bar -semi transparent background: makes the display more readable when you look directly at malygos -out of range warning: change the background to red whenever the drake is out of range to fire, should be optional though, since healers don't have to be in range of malygos |
|
|Taker| |
View Public Profile |
Send a private message to |Taker| |
Visit |Taker|'s homepage! |
Find More Posts by |Taker| |
02-17-09, 06:11 PM | |
|
I don't see the UI with either Aces High! quest OR Malygos encounters, is this because I have Bartender3? If so, can you fix it so I can see your pretty UI? ^_^
|
|
Jerricka |
View Public Profile |
Send a private message to Jerricka |
Visit Jerricka's homepage! |
Find More Posts by Jerricka |
Add Jerricka to Your Buddy List |
02-17-09, 12:32 PM | ||||
|
Thanks for the input.
thanks for the help . Orgo |
|||
|
Orgo |
View Public Profile |
Send a private message to Orgo |
Visit Orgo's homepage! |
Find More Posts by Orgo |
Add Orgo to Your Buddy List |
02-17-09, 05:11 AM | |
|
MalygosCP.lua
I slightly edited MalygosCP.lua, so that it can be localized easier.
Code:
function MalygosCP_OnLoad() this:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED"); this:RegisterEvent("UNIT_COMBO_POINTS"); this:RegisterEvent("PLAYER_TARGET_CHANGED"); this:RegisterEvent("UNIT_POWER"); this:RegisterEvent("UNIT_ENERGY"); this:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED") this:RegisterEvent("UNIT_SPELLCAST_INTERRUPTED") this:RegisterEvent("UNIT_SPELLCAST_FAILED") this:RegisterEvent("UNIT_SPELLCAST_START") this:RegisterEvent("PLAYER_REGEN_ENABLED") frameMalys_Text:SetTextHeight(20) frameMalys_Text2:SetTextHeight(20) frameMalys_Text3:SetTextHeight(20) frameMalys_Text5:SetTextHeight(15) frameMalys_Text:SetTextColor(1, 1, 0); frameMalys_Text2:SetTextColor(1, 1, 0); frameMalys_Text3:SetTextColor(1, 1, 0); frameMalys_Background:SetAlpha(0); frameMalys:SetAlpha(0); frameMalys:EnableMouse(false) frameMalysTimeRemaining:SetStatusBarColor(1, 0, 0, 0.5); Shown = 1 catorce=16; Start=0; stacks=0; TimeCombo=0; WSID=32535; WSID2=30161; editing=0; SLASH_MalygosCP1 = "/MalygosCP"; SLASH_MalygosCP2 = "/MCP"; SlashCmdList["MalygosCP"] = MalygosCP_Command; MSG_ComboPoints = "Combo Points: " MSG_Energy = "Energy: " MSG_EngulfStacks = "Engulf in Flames Stacks: " MSG_EngulfRemainigTime = "Remaining time in the Engulf in Flames" if (GetLocale() == "deDE") then MSG_ComboPoints = "Kombopunkte: " MSG_Energy = "Energie: " MSG_EngulfStacks = "Flammenh\195\188lle gestapelt: " MSG_EngulfRemainigTime = "Verbleibende Zeit f\195\188r Flammenh\195\188lle" end end function MalygosCP_Command(cmd) if( Shown == 1 ) then editing=1; frameMalys_Text:SetText(MSG_ComboPoints.."0"); frameMalys:EnableMouse(true) frameMalys_Background:SetAlpha(1); Shown = 0 frameMalys:SetAlpha(1); else editing=0; frameMalys:EnableMouse(false) frameMalys_Background:SetAlpha(0); Shown = 1 frameMalys:SetAlpha(0); end end function WyrmrestSkytalon() local guid = "vehicle" and UnitGUID("vehicle") if (guid) then if((WSID==tonumber(strsub(guid, -12,-7),16)) or (WSID2==tonumber(strsub(guid, -12,-7),16))) then return true end end end function GetColorValue(nBase) if nBase <= 2 then nNum="FF0000" elseif nBase <= 4 then nNum = "FFAA00" elseif nBase <= 5 then nNum = "FFAA00" elseif nBase <= 6 then nNum = "FFD500" elseif nBase <= 7 then nNum = "FFFF00" elseif nBase <= 8 then nNum = "D5FF00" elseif nBase <= 9 then nNum = "AAFF00" elseif nBase <= 10 then nNum = "55FF00" elseif nBase <= 12 then nNum = "55FF00" elseif nBase <= 14 then nNum = "2BFF00" else nNum = "00FF00" end return nNum end function UpdateComboPoints() local comboP = 0; if (CanExitVehicle() and WyrmrestSkytalon()) then comboP = GetComboPoints("vehicle", "target"); end return comboP; end function UnitPowerF() foo = UnitPower("Vehicle"); local energy = 0; if (CanExitVehicle()) then energy = foo; if (energy == 0) then energy = foo; end end return energy; end function MalygosCP_OnUpdate() if(UnitPowerF()<25) then frameMalys_Text2:SetTextColor(1, 0, 0); else frameMalys_Text2:SetTextColor(1, 1, 0); end frameMalys_Text2:SetText(MSG_Energy..UnitPowerF()); if(catorce<22 and catorce >=0) then frameMalys_Text3:SetText(MSG_EngulfStacks..stacks); frameMalys_Text4:SetText(MSG_EngulfRemainigTime); frameMalys_Text5:SetText("|cff"..GetColorValue(floor(catorce))..catorce.."|r"); catorce=floor(TimeCombo+(Start-GetTime())); frameMalysTimeRemaining:SetValue(TimeCombo+(Start-GetTime())); else frameMalys_Text3:SetText(MSG_EngulfStacks.."0"); frameMalys_Text4:SetText(""); frameMalysTimeRemaining:SetValue(0); frameMalys_Text5:SetText(""); end end function MalygosCP_OnEvent(self, event, ...) local playerName = UnitName("player"); local timestamp, type, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = select(1, ...) local guid = UnitGUID("vehicle"); if event == "PLAYER_REGEN_ENABLED" then catorce=23; stacks=0; end if event == "UNIT_COMBO_POINTS" or event == "PLAYER_TARGET_CHANGED" then frameMalys_Text:SetText(MSG_ComboPoints..UpdateComboPoints()); end if (CanExitVehicle() and WyrmrestSkytalon()) then frameMalys:SetAlpha(1); frameMalys_Text:SetText(MSG_ComboPoints..UpdateComboPoints()); frameMalys_Text2:SetText(MSG_Energy..UnitPowerF()); else if(editing<1) then frameMalys:SetAlpha(0); end end if (event=="COMBAT_LOG_EVENT_UNFILTERED") then if (sourceGUID == guid) then if (type ~= "SPELL_PERIODIC_DAMAGE" and type ~= "SPELL_AURA_APPLIED") then local spellId, spellName, spellSchool = select(9, ...) local amount, overkill, school, resisted, blocked, absorbed, critical, glancing, crushing = select(12, ...) -- if (spellName=="Engulf in Flames") then if ((spellId==61621) or (spellId==56092)) then StartCombo=UpdateComboPoints(); StartCombo=StartCombo-1; TempTimeCombo=StartCombo*4; TempTimeCombo=TempTimeCombo+6; if (TempTimeCombo > catorce or catorce==23) then catorce=0; TimeCombo=TempTimeCombo; Start=GetTime(); frameMalysTimeRemaining:SetMinMaxValues(0,TimeCombo); end stacks=stacks+1; end end if (type == "SPELL_AURA_REMOVED") then local spellId, spellName, spellSchool = select(9, ...) local amount, overkill, school, resisted, blocked, absorbed, critical, glancing, crushing = select(12, ...) if (sourceGUID == guid) then -- if (spellName=="Engulf in Flames") then if ((spellId==61621) or (spellId==56092)) then catorce=23; stacks=0; end end end end end end |
|
tayedaen |
View Public Profile |
Send a private message to tayedaen |
Visit tayedaen's homepage! |
Find More Posts by tayedaen |
Add tayedaen to Your Buddy List |