• 0

    posted a message on BattlegroundFu -- Removing Flag carrier's name?
    You mean like this ?



    I used to use BGAssist as well, but after rewriting it quite a bit I gave up on it and started writing on my own. I haven't touched it in quite a while, as capping does pretty much most of what this does I haven't put it up anywhere except giving it to a few friends. Dunno if capping does this part tho.
    Posted in: FuBar AddOns
  • 0

    posted a message on Capping and InFlight - Official Thread
    Quote from Kröterich »

    Can you add the targeting the flag carrier on name click?


    Can't do that anymore due to changes in the API.

    Quote from Farook »

    Quote from Lewzephyr »

    I think simple minimap has the ability to move that frame.


    Really?

    I have to check again, must have missed it....


    It's easy to add frames to move to SMM code (I've added some that I want moved, as I felt it completely unnecessary to have yet another addon doing that). Look at Interface\AddOns\simpleMinimap\modules\movers.lua and you'll see.
    Posted in: General AddOns
  • 0

    posted a message on HonorFu fixes for 2.0?
    Quote from Harwel »

    My HonorFu is always doubling my win-loss records, and approximately doubles estimated honor (it appears to be doubling bonus honor, I believe).


    Got another addon that also use Glory and you have different versions of it ? It sometimes makes HonorFu register honor gain twice for me till I've fixed that.
    Posted in: FuBar AddOns
  • 0

    posted a message on Hemlock (super-minimalistic poison maker)
    One thing, add Flash Powder as well. Apart from that, works as advertised, nice ^^
    Posted in: General AddOns
  • 0

    posted a message on Autosorting inventory?
    ArkInventory
    Posted in: General AddOns
  • 0

    posted a message on UI Screenshots - Show us what you use!
    The current look
    Posted in: General Chat
  • 0

    posted a message on oSkin
    I have no problems adding files to the .toc, however if you do, you need to restart wow before the changes will happen.
    Posted in: General AddOns
  • 0

    posted a message on oSkin
    Skinned ExtendedQuestLog3, dunno which file that should be in, I use quite a customized version of oskin myself so.



    function oSkin:EQL3Frame()
      if not self.db.profile.QuestLog or self.initialized.QuestLog then return end
      self.initialized.QuestLog = true
    
      self:Hook("QuestLog_UpdateQuestDetails", function(doNotScroll)
        self:Debug("QuestLog_UpdateQuestDetails")
        self.hooks.QuestLog_UpdateQuestDetails(doNotScroll)
        for i = 1, 10 do
          local r, g, b, a = _G["EQL3_QuestLogObjective"..i]:GetTextColor()
          _G["EQL3_QuestLogObjective"..i]:SetTextColor(0.7 - r, 0.7 - g, 0)
        end
        local r, g, b, a = _G["EQL3_QuestLogRequiredMoneyText"]:GetTextColor()
        _G["EQL3_QuestLogRequiredMoneyText"]:SetTextColor(0.7 - r, 0.7 - g, 0)
        _G["EQL3_QuestLogRewardTitleText"]:SetTextColor(0.8,0.8,0)
        _G["EQL3_QuestLogItemChooseText"]:SetTextColor(0.7,0.7,0)
        _G["EQL3_QuestLogItemReceiveText"]:SetTextColor(0.7,0.7,0)
        end)
    
      self:removeRegions(_G["EQL3_QuestLogFrame"])
      self:removeRegions(_G["EQL3_QuestLogFrame_Description"])
      self:keepRegions(_G["EQL3_QuestLogFrame_Details"], {1,2,6})
      self:removeRegions(_G["EQL3_QuestFrameOptionsButton"],{2,4})
      self:removeRegions(_G["EQL3_QuestFramePushQuestButton"],{2,4})
      self:removeRegions(_G["EQL3_QuestLogFrameAbandonButton"],{2,4})
      self:removeRegions(_G["EQL3_QuestLogDetailScrollFrame"])
    
      self:moveObject(_G["EQL3_QuestLogFrameCloseButton"], "+", 25, nil, nil)
      self:moveObject(_G["EQL3_QuestLogFrameAbandonButtonText"], nil, nil, "+", 2)
      self:moveObject(_G["EQL3_QuestFramePushQuestButtonText"], nil, nil, "+", 2)
      self:moveObject(_G["EQL3_QuestFrameOptionsButtonText"], nil, nil, "+", 2)
      self:moveObject(_G["EQL3_QuestLogDetailScrollFrame"], "+", 40, nil, nil)
    
      _G["EQL3_QuestLogFrame_Description"]:SetWidth(_G["EQL3_QuestLogFrame_Description"]:GetWidth() + 40)
      _G["EQL3_QuestLogFrame"]:SetWidth(_G["EQL3_QuestLogFrame"]:GetWidth() - 20)
    
      _G["EQL3_QuestLogTitleText"]:ClearAllPoints()
      _G["EQL3_QuestLogTitleText"]:SetPoint("TOPLEFT", _G["EQL3_QuestLogFrame"], "TOPLEFT", 15, -10)
    
      _G["EQL3_QuestLogVersionText"]:ClearAllPoints()
      _G["EQL3_QuestLogVersionText"]:SetPoint("TOPLEFT", _G["EQL3_QuestLogTitleText"], "TOPRIGHT", -100, 0)
    
      _G["EQL3_QuestLogQuestCount"]:ClearAllPoints()
      _G["EQL3_QuestLogQuestCount"]:SetPoint("TOPLEFT", _G["EQL3_QuestLogTrackTitle"], "TOPRIGHT", 40, 0)
    
    
      _G["EQL3_QuestLogQuestTitle"]:SetTextColor(0.8,0.8,0)
      _G["EQL3_QuestLogObjectivesText"]:SetTextColor(0.7,0.7,0)
      _G["EQL3_QuestLogDescriptionTitle"]:SetTextColor(0.8,0.8,0)
      _G["EQL3_QuestLogQuestDescription"]:SetTextColor(0.7,0.7,0)
    
      self:skinScrollBar(_G["EQL3_QuestLogListScrollFrame"])
      self:skinScrollBar(_G["EQL3_QuestLogDetailScrollFrame"])
    
      self:applySkin(_G["EQL3_QuestLogFrame"])
      self:applySkin(_G["EQL3_QuestFrameOptionsButton"])
      self:applySkin(_G["EQL3_QuestFramePushQuestButton"])
      self:applySkin(_G["EQL3_QuestLogFrameAbandonButton"])
      self:applySkin(_G["EQL3_QuestLogFrame_Description"])
    end


    Also a check in AddonFrames.lua

      if IsAddOnLoaded("EQL3") then
        self:EQL3Frame()
      else
        self:QuestLog()
      end
    Posted in: General AddOns
  • 0

    posted a message on oSkin
    Quote from Mikma »

    Hmm, I tried this with latest oSkin there is. My minimap moved down along with the Topframe. So I wasn't able to reproduce this because the minimap get's away from the way. Are you using some other addon to dock the minimap to that currect place?


    If I'd wager a bet I'd say an old version of simpleminimap, the new ace2'd beta-version you can change the frame level from the right-click menu. Alternatively he could try /script Minimap:SetFrameLevel(1) (or higher) (dunno if that'd cause it to draw the map over the borders tho, not sure which level they have off the top of my head)
    Posted in: General AddOns
  • 0

    posted a message on oSkin
    Yeah, didn't like the way the chatboxes look either, so I changed a bit how they skin in my custom verision.

    Posted in: General AddOns
  • 0

    posted a message on oSkin
    Quote from Anolin »

    I guess there's no other way to fix it, hence why the frame has an adjustment feature to move the map :( Oh well.


    You'd have to change the minimap framelevel to be higher than the topframe. Have in mind I had to do that with the old simpleminimap. Can't find that now tho.
    Posted in: General AddOns
  • 0

    posted a message on oSkin
    I got a bit tired of the castingbar looking like a big blob so I hacked around a bit in UIElements1.lua.

    function oSkin:CastingBar()
    	if not self.db.profile.CastingBar or self.initialized.CastingBar then return end
    	self.initialized.CastingBar = true
    
      self:Hook("CastingBarFrame_OnUpdate")
    
    	self:removeRegions(_G["CastingBarFrame"], {1,3}) -- N.B. region 2 is text
    	_G["CastingBarFrame"]:SetHeight(_G["CastingBarFrame"]:GetHeight() + 10)
    	_G["CastingBarSpark"]:SetHeight(_G["CastingBarSpark"]:GetHeight() + 8)
    	_G["CastingBarFrame"]:SetWidth(_G["CastingBarFrame"]:GetWidth() + 56)
    	_G["CastingBarFlash"]:SetHeight(_G["CastingBarFlash"]:GetHeight() - 40)
    	_G["CastingBarFlash"]:SetTexture("Interface\\AddOns\\oSkin\\textures\\glaze")
    	self:moveObject(_G["CastingBarText"], nil, nil, "-", 7)
    	self:moveObject(_G["CastingBarFlash"], nil, nil, "-", 27)
    	self:skinCastingBar(_G["CastingBarFrame"])
    	self:glazeStatusBar(_G["CastingBarFrame"])
    
    end
    
    function oSkin:skinCastingBar(frame)
      if not frame.tfade then frame.tfade = frame:CreateTexture(nil, "BORDER") end
      frame.tfade:SetTexture("Interface\\ChatFrame\\ChatFrameBackground")
    
      frame.tfade:SetPoint("TOPLEFT", frame, "TOPLEFT", -1, 1)
      frame.tfade:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", 1, -1)
    
      frame.tfade:SetBlendMode("BLEND")
      frame.tfade:SetGradientAlpha("VERTICAL", .25, .25, .55, 1, 0, 0, 0, 1)
    end


    Due to the fact that I wanted the 'spark' I had to hook CastingBarFrame_OnUpdate and change two lines of blizzards code (because they have hardcoded the width of the frame >_<)

    function oSkin:CastingBarFrame_OnUpdate()
    	if ( this.casting ) then
    		local status = GetTime();
    		if ( status > this.maxValue ) then
    			status = this.maxValue
    		end
    		CastingBarFrameStatusBar:SetValue(status);
    		CastingBarFlash:Hide();
    		local sparkPosition = ((status - this.startTime) / (this.maxValue - this.startTime)) * CastingBarFrameStatusBar:GetWidth();
    		if ( sparkPosition < 0 ) then
    			sparkPosition = 0;
    		end
    		CastingBarSpark:SetPoint("CENTER", "CastingBarFrameStatusBar", "LEFT", sparkPosition, 0);
    	elseif ( this.channeling ) then
    		local time = GetTime();
    		if ( time > this.endTime ) then
    			time = this.endTime
    		end
    		if ( time == this.endTime ) then
    			this.channeling = nil;
    			this.fadeOut = 1;
    			return;
    		end
    		local barValue = this.startTime + (this.endTime - time);
    		CastingBarFrameStatusBar:SetValue( barValue );
    		CastingBarFlash:Hide();
    		local sparkPosition = ((barValue - this.startTime) / (this.endTime - this.startTime)) * CastingBarFrameStatusBar:GetWidth();
    		CastingBarSpark:SetPoint("CENTER", "CastingBarFrameStatusBar", "LEFT", sparkPosition, 0);
    	elseif ( GetTime() < this.holdTime ) then
    		return;
    	elseif ( this.flash ) then
    		local alpha = CastingBarFlash:GetAlpha() + CASTING_BAR_FLASH_STEP;
    		if ( alpha < 1 ) then
    			CastingBarFlash:SetAlpha(alpha);
    		else
    			this.flash = nil;
    		end
    	elseif ( this.fadeOut ) then
    		local alpha = this:GetAlpha() - CASTING_BAR_ALPHA_STEP;
    		if ( alpha > 0 ) then
    			this:SetAlpha(alpha);
    		else
    			this.fadeOut = nil;
    			this:Hide();
    		end
    	end
    end
    Posted in: General AddOns
  • 0

    posted a message on oSkin
    yeah, just look at bottomframe.lua and I think you'll figure it out.
    Posted in: General AddOns
  • 0

    posted a message on oSkin
    I skinned the chatframes some time ago, and pretty much came to the same conclusion you did. Ended with writing a custom skin method for them.

    As it is now tho, my monitor is broken so I can't do anything. The new one I ordered will, hopefully, arrive tomorrow.

    My UI doesn't look exactly like this anymore, can't take a new shot tho due to the monitor >_<, but you see the chatboxes at least: (and EavesDrop, I've changed how it looks since then as well tho)



    Here's the code if anyone cares, didn't do anything about the tabs as I never have them visible.

    local _G = getfenv(0)
    
    function oSkin:ChatFrame()
      local i;
      for i=1,7 do
        if(_G["ChatFrame"..i]) then
          self:removeRegions(_G["ChatFrame"..i])
          self:skinChatBox(_G["ChatFrame"..i])
        end
      end
    end
    
    function oSkin:skinChatBox(frame)
    	frame:SetBackdrop(backdrop)
    	frame:SetBackdropBorderColor(self.db.profile.BackdropBorder.r or 0, self.db.profile.BackdropBorder.g or 0, self.db.profile.BackdropBorder.b or 0, self.db.profile.BackdropBorder.a or 1)
    	frame:SetBackdropColor(self.db.profile.Backdrop.r or .2, self.db.profile.Backdrop.g or .2, self.db.profile.Backdrop.b or .65, self.db.profile.Backdrop.a or .9)
    
    	if not frame.tfade then frame.tfade = frame:CreateTexture(nil, "BORDER") end
    	frame.tfade:SetTexture("Interface\\ChatFrame\\ChatFrameBackground")
    
    	frame.tfade:SetPoint("TOPLEFT", frame, "TOPLEFT", 0, 0)
    	frame.tfade:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", 0, 0)
    
    	frame.tfade:SetBlendMode("BLEND")
    	frame.tfade:SetGradientAlpha("VERTICAL", .25, .25, .65, 1, 0, 0, 0, 1)
    end
    Posted in: General AddOns
  • 0

    posted a message on oSkin
    That would be because I'm, still xping this char and have questhistory loaded (it eats a load) and I gatherer was loaded as well. Hmm, think I forgot to do a switch in profiles before going PvP ^^
    Posted in: General AddOns
  • To post a comment, please or register a new account.