• 0

    posted a message on LuaTexts Official Thread
    Hi guys, just dumping some LUA texts I made.

    A simple eclipse display which suggests which main spell to spam based on your eclipse power and buffs:
        if select(2, UnitClass("player")) ~= "DRUID" or not PowerBarColor["ECLIPSE"] then
          return
        end
        local form = GetShapeshiftFormID()
        if (form and form ~= MOONKIN_FORM) or GetPrimaryTalentTree() ~= 1 then
            return
        end
        local eclipse = UnitPower("player", SPELL_POWER_ECLIPSE)
        local buff,_,_,_,_,_,_,_,_,_,_ = UnitAura(PLAYER,"Eclipse (Solar)")
        if(buff) then
            return "|cff66CD00"..abs(eclipse).." - Wrath!|r"
        end
        local buff,_,_,_,_,_,_,_,_,_,_ = UnitAura(PLAYER,"Eclipse (Lunar)")
        if(buff) then
            return "|cff3A5FCD"..abs(eclipse).." - Starfire!|r"
        end
            
        if eclipse > 0 then
            return "|cff3A5FCD"..abs(eclipse).." - Starfire!|r"
        elseif eclipse < 0 then
            return "|cff66CD00"..abs(eclipse).." - Wrath!|r"
        else 
            return abs(eclipse).." - Either!|r"
        end
    A replacement for many indicatiors, because I consider text to be prettier and more distinctive for this than icons. Probably not very efficient.
    theString = ''
    if UnitAffectingCombat(unit) then
        theString = theString.."COMBAT "
    end
    
    if UnitIsPVP(unit) then
        theString = theString.."PVP "
    end
    if AFK(unit) then
        theString = theString.."AFK "
    end
    if DND(unit) then
        theString = theString.."DND "
    end
    if Dead(unit) then
        theString = theString.."DEAD "
    end
    if UnitInParty(unit) and UnitIsPartyLeader(unit) then
        theString = theString.."PLEAD "
    end
    if UnitIsPlayer(unit) and UnitInRaid(unit) and IsRaidLeader() then
        theString = theString.."RLEAD "
    end
    if UnitIsPlayer(unit) and UnitInRaid(unit) and IsRaidOfficer() then
        theString = theString.."ROFF "
    end
    if UnitIsPlayer(unit) and IsResting() then
        theString = theString.."REST "
    end
    
    role = UnitGroupRolesAssigned(unit) 
    
    if role == "TANK" then
        theString = theString.."TNK "
    end
    if role == "HEALER" then
        theString = theString.."HLR "
    end
    if role == "DAMAGER" then
        theString = theString.."DPS "
    end
    
    if UnitIsGhost(unit) then
        theString = theString.."GHOST "
    end
    return theString
    A simple raid group display:
    if UnitInRaid(unit) then
     local size = GetNumRaidMembers()
     local uname=Name(unit)
     i=1
     while i<=size do
      local name,_,subgroup = GetRaidRosterInfo(i)
      if uname==name then
       return "Raid Group: %s", subgroup
      end
      i=i+1
     end
    end
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    I am trying to make a LUAtext that displays the information about quest objectives of the target. After an extensive search of the API list on WoWWiki, and the 3.1 changes thread, I couldn't find any functions to do with this.

    If it isn't clear, I mean the information about if a unit is needed for an active quest usually displayed in the tooltip, and the completed/needed number along with that.

    Is it possible to find this info without tooltip scanning? (Displaying this information through tooltip scanning on a unitframe wouldn't be a very nice solution, I'm sure you would agree.)
    Posted in: Unit Frames
  • 0

    posted a message on Captcha/wowmatrix
    I think i should expand on the performance issues I have with flash. It happens in firefox mac only, and I think that noscript is the culprit. (I've always suspected the clearclick feature, but I don't really know.) What happens is that it takes over a second after the initial click on the flash app for the click to register, and only if I don't move my mouse. If I accidently move my mouse out of the flash app, then I have to go through the delay again. It makes viewing videos in flash an excruciating ordeal, having it freeze for 1-2 seconds every time I want to pause the damn thing.
    Posted in: General Chat
  • 0

    posted a message on Captcha/wowmatrix
    Wait, this is supposed to be good? Flash is incredibly laggy on firefox w/ noscript, and i'm going to have to block wowace.com javascript. I'd rather have a captcha then flash. *sigh*
    Posted in: General Chat
  • 0

    posted a message on PitBull 4.0
    Is it possible to parent frames to pitbull4? I parented a KG panel to PitBull4_Frames_target, and the panel disappeared entirely, and didn't show up after I reset it's XY offset and reloaded ui. I had to parent it back to UIParent and reload before it would show.

    Currently i'm using a script to show/hide the frame, but it's very laggy.

    Is this a bug, or am I doing something wrong here?
    Posted in: Unit Frames
  • 0

    posted a message on ag_UnitFrames Status (What's going on?)
    Is there any chance of an update to AGUF that would allow it to refresh at the new WOTLK rate? The mana text already does this, but the mana bar/health text/bar don't.
    Posted in: Unit Frames
  • 0

    posted a message on Quartz_Flight broken :(
    Glorious :D

    Not to find that fix.. does it still work with the latest version?

    Found it, http://www.wowace.com/forums/index.php?topic=6006.1260

    Just gotta test it now, thanks.
    Posted in: AddOn HELP!
  • 0

    posted a message on Quartz_Flight broken :(
    I do a full (wowace) update every day.

    Currently Using latest, 75509.2 .

    Also, I'm curious. Do you run this? Does it work for you?
    Posted in: AddOn HELP!
  • 0

    posted a message on Quartz_Flight broken :(
    Oh god.. I'm an idiot. I mean ToFu. -.-

    I'll just edit that now.

    Sorry.
    Posted in: AddOn HELP!
  • 0

    posted a message on Quartz_Flight broken :(
    This has been happening for a while, only now have I bothered to report it.

    I have Quart, the Flight module and FuBar_ToFu installed, yet the flight module dosent work. When I start a flight path, my quartz bar flashes, with the correct name of the flight path. but just disappears within the second. The ToFu mod displays the flight time, but the quartz bar doesn't do anything much at all.

    Anyone know how to fix this? I have tried deleting savedvariables, but that didn't help.
    Posted in: AddOn HELP!
  • To post a comment, please or register a new account.