Ouf : http://ixo.no/git/oUF.git/snapshot/oUF-master.zip
Ouf_lily : http://ixo.no/git/oUF_Lily.git/snapshot/oUF_Lily-master.zip
no need of git install for me
- Registered User
Member for 11 years
Last active Tue, Sep, 30 2008 14:06:02
- 0 Followers
- 29 Total Posts
- 0 Thanks
Mar 10, 2008dunno if it was post before, i search forum but can't found anything so :Posted in: Unit Frames
Code for pet hapinness color on pet bar health :
Based on latest Ouf from Google code and inspirated by p3lim and others posters code & functions =)
-- l 17 add :
local happiness = GetPetHappiness()
-- my update health function :
local updateHealth = function(self, event, bar, unit, min, max) happiness = GetPetHappiness() if(UnitIsDead(unit)) then bar:SetValue(0) bar.value:SetText"Dead" elseif(UnitIsGhost(unit)) then bar:SetValue(0) bar.value:SetText"Ghost" elseif(not UnitIsConnected(unit)) then bar.value:SetText"Offline" else local c = max - min if(c > 0) then bar.value:SetFormattedText("-%d", c) else bar.value:SetText(max) end end if(UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit) or not UnitIsConnected(unit)) then self.Name:SetTextColor(.6, .6, .6) self.Power:SetStatusBarColor(.6, .6, .6) elseif unit=="pet" then --Number - the numerical happiness value of the pet (1 = unhappy, 2 = content, 3 = happy) if (happiness == 1) then bar:SetStatusBarColor(1,0,0) elseif (happiness == 2) then bar:SetStatusBarColor(1,0.65,0) else bar:SetStatusBarColor(0.56,0.74,0.56) end else self:UNIT_NAME_UPDATE(event, unit) local color = UnitIsPlayer(unit) and RAID_CLASS_COLORS[select(2, UnitClass(unit))] or UnitReactionColor[UnitReaction(unit, "player")] if(color) then bar:SetStatusBarColor(color.r, color.g, color.b) end end end
-- mu update power cause il like have pet energy in good color :
local updatePower = function(self, event, bar, unit, min, max) if(min == 0) then bar.value:SetText() elseif(UnitIsDead(unit) or UnitIsGhost(unit)) then bar:SetValue(0) elseif(not UnitIsConnected(unit)) then bar.value:SetText() else bar.value:SetFormattedText("%d | ", min) end if(UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit) or not UnitIsConnected(unit)) then bar:SetStatusBarColor(.6, .6, .6) elseif unit=="pet" then bar:SetStatusBarColor(.85, .65, .13) --couleur jaune du pet else bar:SetStatusBarColor(.25, .41, .88) end end
-- @the end add :
local pet = oUF:Spawn"pet" pet:SetPoint("TOPLEFT", player, "BOTTOMLEFT", 0, -1)
dunno if the happiness = GetPetHappiness() refresh on the updatehealth is called is really good ;s if someone have suggestion i m a really neeb coder in lua ,xx
sorry for my english too and ty for this thread =)
hope that helps
EDIT : if someone also could explain me why the power bar on my target frame is not changing color at all ? ;x
Nov 8, 2007Posted in: General AddOnsQuote from Helvete »
Got the same thing first. I've found it on jira too but without result for me :(
You have to switch on 2 things in Interface options, those about "show enchanced tooltip" or something and 2nd option, sorry but I'm in work now so I can't check those names :( But when I switched "ON" those two things about tooltips in wow interface otpions all bongos tooltips back to life without flashing effect.
And my tooltip is anchored to mouse too.
same here if i disable detailled toooltip in interface option anchor problem not occur
Sep 25, 2007just wan't to report a quite annoying graphical bug with hypotermia debuff :Posted in: Unit Frames
debuff icon is scaled and placed over my pitbull target frame or ToT frame, and disapear after debuff fade off, un targeting , retargeting change nothing
not occurs with pitbull_aura
Sep 16, 2007Posted in: General AddOnsQuote from rdji »
Phanx mentioned he was going to put the addon up on the SVN, I'm not sure how thats going.
I'm getting some requests lately so I'll just put the official link for CML here. Feel free to share it with your friends etc.
I've quit playing the game though so this is probably my last post here! Take care.
Jul 26, 2007Posted in: General AddOns* r44844 | ckknight | 2007-07-25 18:28:26 -0400 (Wed, 25 Jul 2007) | 1 line
* Parrot_CombatEvents - change throttling system to have the events themselves specify a suffix based on the amount of events merged together. This will cause outgoing spells to show stuff like (2 hits, 1 crit) and the like.
u're my lord !! really
ps : with adventure font parrot is a real dream thx a lot and keep up the really good work !
Jul 22, 2007parrot rules imo of a first time user, only one thing is missing to get a near perfect addon for me indead :Posted in: General AddOns
when you throttle skill damages if it possible to show how many target where affecte by effect, this permit to know if i swipe on 2 or 3 target for exemple.
for example : swipe 780 (2hit, 1 crit)
like msbt feat.
otherwise i m really seduce by this addon and new features, keep up the good work, really ;)
May 22, 2007just have a little request :Posted in: General AddOns
could you make the global cooldown bar deplete instead of filling or maybe offer choice between this 2 options ?
it's a little thing but i really prefer this way of displaying global cooldown
big thanks for this addon anyway !!
May 8, 2007Posted in: General AddOnsQuote from Samasnier »
Quote from Lyf »
Quote from Diabolique »
Can you make bags updating only when opening/closing or make it optional? Personally I dont like items to "jump" around when selling, auctioning etc.....
I second this :)
I third this! I really love Baggins and this is my only annoyance. The virtual bag I mouse over moves to a new spot when I sell or bank one of its contents (sometimes).
out that really nice addon that made me drop my previous bags mods, but the refresh on open only miss imo (blah there is buyback but jumping around with mouse @ 4 o clock after looong farming hours sometimes made me crazy ;> ) , and nice choice for the name.
Dec 25, 2006Posted in: General AddOnsQuote from Hornen »
Doesn't seem to work with the !!!StandaloneLibraries. Won't find any library instances untill I put the lib folder in the addon directory again (and yes, it's the only "culprit" doing so, the rest of my addons works fine with the !!!StandaloneLibraries).
Besides that it seems to perform very well.
works well without embed in my case, try to update your libs and check if latest added (in changelog of !!!standalones) where installed.
- To post a comment, please login or register a new account.