• 0

    posted a message on Changing Bag or Item Buttons/Containers
    I use OneBag3 and while normally installed it uses the round edged square container without the grey eagle or falcon that you would normally see with the default UI. If you go look into the Blizzard Interface Art files under ContainerFrame all of the blps there are for 1Slot, 1x4, 1x4+2, 2x4, 3x4, etc and have a lot more than just a normal container, 1 button with a border.

    My question is is there any way I could change the border of the container frames, which hold the items in your backpack/bags, without having to somehow edit all of these blps as there are 25 files that would need to be edited.
    Posted in: AddOn HELP!
  • 0

    posted a message on Changing a border.
    Quote from Phanx
    Borders are not (usually) textures. Textures are a specific object type, like frame, button, or font string. Borders are actually part of the frame's backdrop, so you would use the SetBackdrop API:

    OneBagFrame:SetBackdrop(backdrop)



    Excellent! Thanks for the help.

    I eventually worked my way into this.

    OneBagFrame:SetBackdrop( {
                            bgFile="Interface\\DialogFrame\\UI-DialogBox-Background",
                            edgeFile="Interface\\Addons\\SharedMedia\\Border\\Caith2.tga", 
                            tile = true, tileSize = 32, edgeSize = 16,
                             insets = { left = 4, right = 4, top = 4, bottom = 4 }
                            })
        OneBagFrame:SetBackdropBorderColor(0,0,0)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Changing a border.
    Quote from Phanx
    Search in the addon's Lua files for "CreateFrame" (the function that's called to create a new frame) and "SetBackdrop", "SetBackdropColor", and "SetBackdropBorderColor" (functions that set the frame's backdrop and border, set the backdrop's color, and set the border's color).


    That's the wierd thing. There is nothing in the lua that creates the "all in one" bag frame. All it has is frames for the buttons.

    Furthermore, I have searched the lua for anything to do with backdrop and border and there is nothing.

    local button = CreateFrame("CheckButton", "OBSideBarBag"..bag.."Slot", parent, 'BagSlotButtonTemplate')
    local button = CreateFrame("CheckButton", "OBSideBarBackpackButton", parent, "ItemButtonTemplate")
    local itemAnim = CreateFrame("Model", "OBSideBarBackpackButtonItemAnim", button, "ItemAnimTemplate")


    The frame is called "OneBagFrame". So, taking a WILD guess, would this work?
    OneBagFrameBorderTexture:SetTexture("path to texture")
    Posted in: Lua Code Discussion
  • 0

    posted a message on Changing a border.
    I'm extremely new to lua and coding in general. I've tried browsing wowwiki and other addons that do this sort of thing but I'll be completely honest I have no idea how I can do this.

    How can I change the border of OneBag3. I've looked in the Saved Variables and can't find anything relevant to what I need.

    I want to change the normal border to Blizzard Achievement Wood with an edge size 11 and color to be black.

    If I could get some help with this it would be great. Also, It looks as if everything is created in lua. I read somewhere that frames are usually created using the .xml but there is nothing in it. Which is another reason why I'm completely lost. Unless it's in the libraries?

    Any help is appreciated. Thanks
    Posted in: Lua Code Discussion
  • 0

    posted a message on shared media in WotLK
    i was getting LUA errors but i found an updated ui pack that included it so i stole it from it...works like a charm.
    Posted in: AddOn HELP!
  • 0

    posted a message on shared media in WotLK
    I have googled and searched these forums unable to anything new in the SharedMedia area. My question and problem is I can't run the old SharedMedia addons and I can't find anything on an updated version. Is there something new people have moved to? I relied on it for my textures and fonts but atm it doesn't work for me. I've tried reinstalling, deleting folders, and updating the latest version I can find. I have very little experience in coding and LUA and I don't have the first clue on how to import a texture or font without this.
    Posted in: AddOn HELP!
  • 0

    posted a message on Ace2 addons and the "esc"-key
    lol i've actually been having the same problem. Thought it got unbound and checked the lua file and it's still there. There are no errors, for me at least, and it just happens randomly. I can't reproduce it so I really have no idea what's causing it. But i usually just use /quit anyway so it isnt no big deal for me and I'm not about to disable everyone of my addons and troubleshoot it lol way too many.

    Oh and a /rl usually fixes it. for awhile
    Posted in: General AddOns
  • 0

    posted a message on Classtimer with a border
    First, please forgive my dumbness. While some may get what I'm saying others will try to slap me. lol

    I'm trying to add an edge to the Classtimer bars but I'm having no luck. I edited the lua many times once adding the edgefile to the SetBackdrop and then trying, i was almost sure it wouldn't work but I tried anyway, to add the edgefile to the spark. When I added it to the backdrop the edgefile is there but...behind the "spark" which is what gives the bar its motion. Although, when I added it to the spark the entire bar disappeared. There were no lua errors which makes me believe the edgefile just isn't compatible.

    I've searched these forums hoping to find something on this subject with no luck. So I apologize if this has been discussed.
    Posted in: General Chat
  • 0

    posted a message on SickOfClickingDailies
    Suweet, checking it out now.
    Posted in: General AddOns
  • 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Quote from Seerah »

    My druid is working fine.... I go cat, the bar changes, my keybinds work. I go prowl, the bar changes, my keybinds work. I go back to caster, my bar changes, the keybinds work...


    I suppose I'll try deleting the saved variable as that's the only other thing I have yet to try and it may work.
    Posted in: General AddOns
  • 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Quote from Toadkiller »

    Follow these instructions & make sure there are no script errors:

    http://www.wowace.com/wiki/Debugging


    Read that debugging page as you said and well I already had Bugsack and Buggrabber installed and I have yet to see any script errors at startup or anytime during game play in a few weeks.

    Just for the sake of it I'll try to explain my problem a bit more.

    I have a bar that is set to page when I hold ALT and while it pages correctly the binds that I have set for that bar don't "rollover" to the new page. I have tried many different idea's from other's here to no prevail. I have disabled all other mods except for BT3, changed the Self Casting options, and tried different key bindings. While I have thought it was an error on BT3's end I'm starting to think that I simply can't have key bindings work on a paged bar although I had them working about a week ago.
    Posted in: General AddOns
  • 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Quote from Melnayo »

    Well, i highly recommend loading only Bartender as your only addon and then loading other addons until the problem appears. Then let us know the info.


    Disabled every addon except for BT3 and still no luck. So, pretty sure it is a BT3 problem somewhere?
    Posted in: General AddOns
  • 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Quote from Kerecha »

    I had same problem.

    Do you have TheroyCraft 2 installed?

    It seems like it is TheroyCraft 2 causing this problem for most of us, removing it solved the problem for me.


    I don't have TC2 installed. The only thing that may be causing a problem would be Autobar but I highly doubt it is.

    I'm at a loss.
    Posted in: General AddOns
  • 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Anyone got any ideas why my keybindings wont work with bar paging? I don't use anything that modifies the bars except for Bartender3.
    Posted in: General AddOns
  • 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Quote from jwvanderbeck »

    Go into the BT3 options and turn OFF the self cast modifier option.


    Ok, I just tried that and every variation between RightClick and Modifier Self casting being on and off but nothing worked. Any ideas?
    Posted in: General AddOns
  • To post a comment, please or register a new account.