modui

Re: modui

by modernist » Sun Jan 10, 2016 5:38 pm

Aftereight wrote:
modernist wrote:
Aftereight wrote:One more question, how can i disable showing key binds?


Code: Select all
for i = 1, 12 do
        for _, v in pairs({
            _G['ActionButton'..i..'HotKey'],
            _G['MultiBarRightButton'..i..'HotKey'],
            _G['MultiBarLeftButton'..i..'HotKey'],
            _G['MultiBarBottomLeftButton'..i..'HotKey'],
            _G['MultiBarBottomRightButton'..i..'HotKey'],
            _G['BonusActionButton'..i..'HotKey'],}) do
                v:Hide()
         end
end


drop this somewhere. maybe at the end of this file


Doesnt seem to work for me.


working for me, try just replacing the whole contents of the file i linked previously with this
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by modernist » Sun Jan 10, 2016 5:57 pm

cptawesome wrote:best addon ever
do you know if there is a way to modify the pallypower frames like yours (black border)?
Image


untested but try this:

Code: Select all
if IsAddOnLoaded'PallyPower' then
    for i = 1, 8 then
        local bu = _G['PallyPowerBuffBarBuff'..i]
        modSkin(bu, 18)
        modSkinPadding(bu, 2)
        modSkinColour(bu, .2, .2, .2)
    end
end


drop it in this file
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by cptawesome » Sun Jan 10, 2016 7:32 pm

sadly it didnt work, but thanks anyway
cptawesome
Tester
 

Re: modui

by modernist » Sun Jan 10, 2016 9:05 pm

il test it later and add support directly into modui
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by modernist » Sun Jan 10, 2016 10:29 pm

B0tka wrote:How i can change color addon DruidBar to dark?

*snip*


modernist wrote:create a macro with this script:
Code: Select all
/run message(GetMouseFocus():GetName())

then mouseover the frame you want to skin and hit it to get its name in a pop up. from there, do

Code: Select all
modSkin(frameName, 18)
modSkinPadding(frameName, number)
modSkinColor(frameName, r, g, .b)


and drop the code in a file, preferably this one


:]
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by SSJSketch » Sun Jan 10, 2016 11:33 pm

B0tka wrote:I got many names DruidBarFrame , DruidBarDontMove, DruidBarReplaceText
I do something wrong, but even with one I do not work

Code: Select all

    if IsAddOnLoaded'DruidBarFrame' then
        modSkin(DruidBarFrame, 18)
        modSkinPadding(DruidBarFrame, 0)
        modSkinColor(DruidBarFrame, .2, .2, .2)
        DruidBarFrame_TitleFrame:SetFrameLevel(0)
    end


I'm pretty sure the addon name is "DruidBar" and not "DruidBarFrame" so try this..
Code: Select all
     if IsAddOnLoaded'DruidBar' then
          modSkin(DruidBarFrame, 18)
          modSkinPadding(DruidBarFrame, 0)
          modSkinColor(DruidBarFrame, .2, .2, .2)
     end
modui_ified
-----------------------------------------------------------------
"Success is buried in a garden of failure."
User avatar
SSJSketch
Grunt
Grunt
 

Re: modui

by modernist » Sun Jan 10, 2016 11:44 pm

nah the specific frame is DruidBarFrame:

https://github.com/ericraio/vanilla-wow ... Bar.xml#L7

you can probably just do
Code: Select all
DruidBarBorder:SetVertexColor(.2, .2, .2)
in the meantime
modernist
Sergeant Major
Sergeant Major
 

Re: modui

by forsaken_toys » Mon Jan 11, 2016 12:31 am

Great job! Some ui and feature suggestions.
  1. On tooltip you can show list of loaded addons, but do it in one line, wrapped, because right now it takes 50% of tooltip for me.
  2. If you poll population number once in a minute, you can draw fancy chart instead of "Total users online 12800 people.
forsaken_toys
Sergeant
Sergeant
 

Re: modui

by SSJSketch » Mon Jan 11, 2016 1:11 am

modernist wrote:nah the specific frame is DruidBarFrame:

https://github.com/ericraio/vanilla-wow ... Bar.xml#L7

you can probably just do
Code: Select all
DruidBarBorder:SetVertexColor(.2, .2, .2)
in the meantime

I was only referring to the "IsAddOnLoaded" portion but yeah.
modui_ified
-----------------------------------------------------------------
"Success is buried in a garden of failure."
User avatar
SSJSketch
Grunt
Grunt
 

Re: modui

by modernist » Mon Jan 11, 2016 12:43 pm

v60

+ restyled chat window
+ RP “gained this week” prediction (needs some tightening up)
+ major cast capture code consolidation
+ enemy/friendly castbar times will be offset by modifiers (curse of tongues, natures swiftness etc)
+ tighter castbar channeled spell tracking
+ ‘/dps’ to show/hide sw_stats window
+ code cleanup (ongoing)
- bug with rep watch bar values
- issue where map pin base was offset from coordinates
- issue where flag carrier icon would reset in WSG when new player entered battle
modernist
Sergeant Major
Sergeant Major
 

PreviousNext

Return to Addons & macros