• 0

    posted a message on PitBull 2.0
    Quote from Fengor1 »

    You will need to update your other non-PitBull addons (eg, Cartographer) to the latest versions to fix this issue.

    Thanks, had a to update a ton of stuff, but they work now.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 2.0
    I just downloaded an installed pitbull, and it looks great so far except for one problem. I can't get into the config menu. I get LibRockconfig - 1.0: Bad return from function "args" for Putbull'. Expected "table", got "string" ("@cache"). I get this every single time I type /pitbull or alt right click a frame on any of my chars. I've got revision 63819.
    Posted in: Unit Frames
  • 0

    posted a message on ag_uf, need a little code help
    Yea, I've messed with it a bit more, and it's now telling me smartmana is not a valid tag although it lets me use smartpercentmana fine.
    Posted in: Unit Frames
  • 0

    posted a message on ag_uf, need a little code help
    I wrote the following tags a while ago, and I just copy them and paste them into the list of tags whenever I get a new version. With this version, however, they don't update in real time like they should (although they do update if I change my status text from a standard one to the custom one). In other words if I have it on custom cast a few spells my bar goes down, but I stay at say 8934/8934 100% But then if I switch to a standard one, and back to custom it will show me at say 7000/8934 83%, but it will stay there even as my mana goes up. So I was wondering if anyone who knows more lua and WoW api than me could fix this?

    ["smartpercentmana"] = function (u)
        if not UnitIsConnected(u) then
    			return "Offline"
    		else
    			if UnitIsDeadOrGhost(u) then
          	return "Dead"
        	else
          	if UnitPowerType(u) == 0 then
            	mp = floor((UnitMana(u)/UnitManaMax(u))*100).."%"
            	return mp
          	else
            	mp = UnitMana(u).."/"..UnitManaMax(u)
            	return mp
    				end
          end
        end
      end,
    
      ["smartmana"] = function (u)
      	if UnitIsDeadOrGhost(u) or (not UnitIsConnected(u)) then
          return ""
            else
          if UnitPowerType(u) == 0 then
            mp = UnitMana(u).."/"..UnitManaMax(u)
            return mp
          else
            return ""
          end
        end
      end,
    Posted in: Unit Frames
  • 0

    posted a message on agUF Tag
    any way you can add these tags in so I don't have to do so myself with each new release
    	["smartpercentmana"] = function (u)
        if not UnitIsConnected(u) then
    			return "Offline"
    		else
    			if UnitIsDeadOrGhost(u) then
          	return "Dead"
        	else
          	if UnitPowerType(u) == 0 then
            	mp = floor((UnitMana(u)/UnitManaMax(u))*100).."%"
            	return mp
          	else
            	mp = UnitMana(u).."/"..UnitManaMax(u)
            	return mp
    				end
          end
        end
      end,
      ["smartmana"] = function (u)
      	if UnitIsDeadOrGhost(u) or (not UnitIsConnected(u)) then
          return ""
            else
          if UnitPowerType(u) == 0 then
            mp = UnitMana(u).."/"..UnitManaMax(u)
            return mp
          else
            return ""
          end
        end
      end,
    		


    I like my unit bars to show min/max value in the middle, and % all the way to the right.
    But for rouges and warriors I just want min/max all the way to the left, and nothing in the middle.
    These two tags allow me to do this.
    Posted in: Unit Frames
  • 0

    posted a message on Chronometer (Ace2'ed AceTimer)
    Hamstring and Improved Hamstring aren't working on my warrior, no bar appears. This is a pretty important one to know when to reaply.
    Edit: Just noticed that the bar for the mortal strike debuff isn't showing up either.
    Posted in: General AddOns
  • 0

    posted a message on Bartender2, ActionBar AddOn for Blizzards default buttons
    Thanks for the tips, will try them when I get home from work today.
    Posted in: General AddOns
  • 0

    posted a message on Bartender2, ActionBar AddOn for Blizzards default buttons
    When I mouse over an epmty action bar slot it highlights it (see screen shot):


    It does not do it when I mouse over an empty slot on my main bar / bonus action bar, but I can't turn it off on bars 2-5. Anyone know how to do this, or perhaps a bit of code I could change to make it not do this? I plan do have other UI elements over parts of my action bars I'm not using, so I can't really use the mod if I can't get around this. Any help is appreciated.
    Posted in: General AddOns
  • 0

    posted a message on BigWigs
    I have the newest version of bigwigs installed, but my boss modules are not turning on when I get to a boss. Some other people in my guild running the same version, and even an older version in one case, have theirs turning on. Anyone know what my problem might be?
    Posted in: Raid AddOns
  • 0

    posted a message on ag_UnitFrames (Release 7/19/2006) alpha version
    Quote from Sykotic »

    I think perhaps something like that oodyboo is more the domain of the addon "Clique" and not something that aguf has to concern itself with. Maybe you should check out clique in conjuction with aguf?

    I think he's talking about seeing each of his party members target's next to their frame. I imagine that it wouldn't be to hard to add in using the target's target code, and applying it to each party memeber. Doubt I would be able to do it myself however.
    Posted in: Unit Frames
  • 0

    posted a message on ag_UnitFrames (Release 7/19/2006) alpha version
    Quote from Ayanne »

    Thank you for clarifying that Maximoz, I'm a bit new at lua. Just applied the code and am going in to test it. +karma for you and Grimnir! =)


    Yea I added the code on line 220 right under line 219 which is:
    ["agsmartmana"] = function(u) return self:Tag_agmana(u,3) or "" end,


    Maximoz is right about the frame size too, I had to go into layouts --> ABF.lua and change the frame width to 160, and go down and change the background bar sizes to match (150), and change the status text boxes to let me spread the info out. I think I changed them to 100. Anyway glad someone else was helped by this too, gl ;p
    Posted in: Unit Frames
  • 0

    posted a message on ag_UnitFrames (Release 7/19/2006) alpha version
    @maximoz
    Thanks for sticking with me on that one, I had to change your code around a little, but I got it doing just what I want now so thanks for all the help ^_^ karma++

    Here is what I changed it too:
      ["smartpercentmana"] = function (u)
        if UnitIsDeadOrGhost(u) or (not UnitIsConnected(u)) then
          return ""
        else
          if UnitPowerType(u) == 0 then
            mp = floor((UnitMana(u)/UnitManaMax(u))*100).."%"
            return mp
          else
            mp = UnitMana(u).."/"..UnitManaMax(u)
            return mp
          end
        end
      end,
      ["smartmana"] = function (u)
        if UnitPowerType(u) == 0 then
           mp = UnitMana(u).."/"..UnitManaMax(u)
           return mp
        else
           return ""
        end
      end,


    Edit: Oh yea, this is using "[smartmana] [smartpercentmana]" to get the layout I want.
    Here is a pic of what I was going for, you can see mana cur/max and % for casters, and just cur/max rage or energy to the right for rogues and wars.
    Posted in: Unit Frames
  • 0

    posted a message on ag_UnitFrames (Release 7/19/2006) alpha version
    Quote from SpUpUz »

    Quote from ploof »

    Hi, these unit frames are great!

    I appologize in advance if it's already been brought up or I just missed something, didn't feel like reading 55 pages of comments though...

    Is there a way to have the party frames grow UP instead of down? I haven't been able to figure this out. I like to keep the party frames on the lower left of my screen, so this would be convenient. Thanks in advance!


    i need this too but haven't find... since i used aguf.


    Go to Unit Frames --> Party --> Group Party --> Don't group

    Then just put your frame at the bottom left, party member 2 above that, 3 above that, and so on.
    Posted in: Unit Frames
  • 0

    posted a message on ag_UnitFrames (Release 7/19/2006) alpha version
    Quote from maximoz »

    What i did was created a custom tag called [smartpercmana], you insert the code i posted inside the ag_Unitframes.lua file and then use [smartpercmana] instead of [percentmana]%. It should do what u asked for.


    It returns a % no matter if the unit has mana or rage. It should be % for mana, ###/### for rage / energy. Also when targeting a non mana using npc it returns nan%.

    Even if it did work though it would give me either or, but I want curmana/totalmana AND mana percent for mana users, but I ONLY want currage/total rage for warriors, and same for rogues.
    Here is exactly what I want:


    I had to change my settings for each SS though, so I think what I need is an if unit has mana use this setting, if unit doesn't use mana then use this setting type of thing.
    Posted in: Unit Frames
  • 0

    posted a message on Detox default debuff filter
    Adding Mutating Injection from grobulus and Wyvern Sting from huhuran seems silly to me because they are the ONLY debuff that boss casts that you can cleanse the whole fight so why would you be spamming your cleanse key anyway. On both of these fights we have one person, and it happens to be me, assigned to cleanse. I just target the person that needs it and cleanse them, but I never touch my cleanse group key, because it would be stupid to do so.

    Adding noth's cripple to skip casters would be a good thing though, although I usualy only bother to cleanse the MT b/c it's such a short duration debuff.
    Posted in: General AddOns
  • To post a comment, please or register a new account.