CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on Grid + Mana Bars
    Quote from phoenx97 »

    is there a way to make the mana bar 1 pixel wide/tall instead of 10 being the minimum?


    It's not pixels in size, its what %age of the unit section you want it to occupy.

    If you look around line 38 or GridManaBars.lua you'll see :

    		max = 90,
    		min = 10,
    		step = 5,


    Change these to somethig like :

    		max = 99,
    		min = 1,
    		step = 1,


    And you can have the manabar occupy anywhere from 1 to 99% of the frame.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid + Mana Bars
    Quote from Julith »

    Since Adelea doesn't seem to reply:

    Just delete line 315 in GridManaBars.lua:

    		f.ManaBar:SetValue(100)
    		f.ManaBar:SetFrameLevel(4) <---delete this one
    
    		self:ReAnchor(side)



    Hi Julith (and others) - i've been solo-levelling my hunter, and so havent been using grid for a few weeks, so hadnt seen this problem till today.

    Originally I copied the FrameLevel from the healthbars, and they changed to (5) recentlyish, however, setting the ManaBars to 5 didnt make any difference, I'll try w/out setting a FrameLevel, and see if it breaks anything else, if not ill commit the change.
    Posted in: Grid & Grid2
  • 0

    posted a message on Klappa - bar with popup buttons
    Ahh...

    Well looking at the code in BT3, it has support for cyCircled, in style.lua :

    function Bartender3:cyLoaded(obj)
    	self.hooks[obj].LoadPlugins(obj)
    	self.cydb = cyCircled:AcquireDBNamespace("Bartender3")
    	self:RefreshBars()
    end
    
    function Bartender3:RefreshStyle(button, bar)
    	...
    	if self.cydb then
    		if self.cydb.profile["Bar" .. bar.id] then
    			if not button.overlay then button.overlay = _G[button:GetName() .. "Overlay"] end
    		end
    	end


    With a hook to call cyLoaded in core.lua
    Posted in: General AddOns
  • 0

    posted a message on Baggins - Official Thread
    Quote from Marroc »

    Hey Narg,

    Any eta on getting bag bars for baggins? Advanced Bags finally bit the dust (no tooltips showing, and no updates >_<)


    Aye - seconded =)

    2.2 broke my customized version of vBagnon, so ive managed to get the same layout under Baggins, but not being able to swap bags in and out is going to be a pain.
    Posted in: General AddOns
  • 0

    posted a message on Klappa - bar with popup buttons
    Quote from avazza »

    Yeah we need cyCircled!


    I've created a template for klappa :

    local addonName = "Klappa"
    
    cyCircled_Klappa = cyCircled:NewModule(addonName)
    
    function cyCircled_Klappa:AddonLoaded(addon)
    	self.db = cyCircled:AcquireDBNamespace(addonName);
    	cyCircled:RegisterDefaults(addonName, "profile", {
    		["Main"] = true,
    		["Popup"] = true,
    	})
    	self:SetupElements();
    end
    
    function cyCircled_Klappa:GetElements()
    	return {
    		["Main"] = true,
    		["Popup"] = true,
    	}
    end
    
    function cyCircled_Klappa:SetupElements()
    	local size = Klappabar1Button:GetWidth()
    	self.elements = {
    		["Main"] = {
    			args = {
    				button = { width = size, height = size, },
    			},
    			elements = {},
    		},
    		["Popup"] = { 
    			args = {
    				button = { width = size, height = size, },
    			},
    			elements = {},
    		},
    	}
    
    	for k,v in pairs(Klappa.root.buttons) do
    		table.insert(self.elements["Main"].elements, "Klappabar"..k.."Button")
    		for k2,v2 in pairs(Klappa.root.buttons[k].popupButtons) do
    			table.insert(self.elements["Popup"].elements, "Klappabar"..k.."PopUpButton"..k2)
    		end
    	end
    
    end


    However, for non-square buttons, it doenst work quite right :



    I dont know if its the overlay skin from cyCircled, or the backdrop of the original buttons thats showing thru - but at least with square buttons it matches the look of everything else.

    Also, with circular buttons, the label text is below the circular border - which doesnt happen with other baraddons, and as far as I can tell the text is all created the same way - I must be missing where the frame strata are setup.
    Posted in: General AddOns
  • 0

    posted a message on Grid + Mana Bars
    Quote from syll »

    Im having quite high memory usage and increasing rate of Rosterlib while using mana bars. Disabling solves the problem. Tried playing with options but no luck. Any 1 else is having same problem? or maybe its the way its meant to be? Weird that its sometimes get high even when im not in a raid and no grid frames are shown on screen.


    Remove line 420 :

    self:ScheduleRepeatingEvent(self.manabar_update, 2, self)

    Let me know if it still works as expected - i put that in, so that it would periodically refresh bars, since w/out it, it sometimes missed updates, and would leave bars half full / wrong type etc.
    Posted in: Grid & Grid2
  • 0

    posted a message on Klappa - bar with popup buttons
    Quote from cliffcliff »

    I've had this too and I think it can be solved by changing:
    Klappa.db.profile.buttons[self.index] = {};


    to:
     local pbuttons = Klappa.db.profile.buttons[self.index].popupButtons;
     local npopups = Klappa.db.profile.buttons[self.index].popups;
     Klappa.db.profile.buttons[self.index] = {};
     Klappa.db.profile.buttons[self.index].popupButtons = pbuttons;
     Klappa.db.profile.buttons[self.index].popups = npopups;


    close to the top in the function Klappa.Button.prototype:ButtonDrop() in KlappaButton.lua.
    Info about the popup buttons is lost when replacing the spell on a main button.

    I'm new to lua so this is the qnd way to fix it but at least it seems to work for me locally :)



    Seems to fix the problem nicely !
    Posted in: General AddOns
  • 0

    posted a message on Klappa - bar with popup buttons
    Quote from forfeit »

    I'm having problem with the majority of my buttons dissappearing when I relog in... I deleted all my saved variables, updated klappa with WAU, and started from scratch, however, after I set everything up, logged out, and directly back in, half my buttons were gone.. and some of the main bars themselves had lost all the popup buttons completely. Anyone else having this?


    Ive had this happen, but only when i've inadvertently dragged off or replaced the contents of one of the top level buttons.
    Posted in: General AddOns
  • 0

    posted a message on Grid
    Quote from Pasus Nauran »

    Adelea, can you please SVN this one too. Thanks!


    Sure.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from Pasus Nauran »

    Any developers willing to upload it to the SVN?


    Ive just added it to the svn for you.
    Posted in: Grid & Grid2
  • 0

    posted a message on Cartographer 2.0
    Quote from Adelea »

    Quote from Skylinee »

    Getting an error when hovering over guildpositions on minimap/map:

    Cartographer_Guildpositions\Guildpositions.lua:137: Cannot call ?GetClassHexColor` without Babble-Class-2.2 loaded.


    Was just about to post this !

    Looking at the code, its checking for BC = Rock("LibBabble-Class-3.0", false, true) in LibRollCall - and as far as I can see, LibBabble-Class-3.0 isnt available anywhere.



    If anyone wants a quick fix to this, I have hacked together a LibBabble-Class-3.0, and by hacked, I really do mean hacked - took the Zones module, ripped out the translations, added in some of them from the old babble-class lib, and added the GetClassColor / GetHexColor functions. But, it appears to work, at least it does for the guild positions module, for my purposes it does the job until a proper LibBabble-Class-3.0 is released.


    Posted in: Map/Minimap AddOns
  • 0

    posted a message on PitBull 2.0
    Quote from Seerah »

    Then perhaps I forgot where it was located now - I wasn't in game when I wrote that up. But there's a pulldown menu where you choose your modules. It looks like an edit box with the modules in it like "Portrait, Interact Lines, Estimated Heals, ..." too long to fit in the box. If you click on the arrow next to it, you get the menu.


    Alt+right click a unit

    Go to the top level pitbull section - the one with the pitbull icon

    2nd selection is the Modules pulldown.
    Posted in: Unit Frames
  • 0

    posted a message on Cartographer 2.0
    Quote from Skylinee »

    Getting an error when hovering over guildpositions on minimap/map:

    Cartographer_Guildpositions\Guildpositions.lua:137: Cannot call ?GetClassHexColor` without Babble-Class-2.2 loaded.


    Was just about to post this !

    Looking at the code, its checking for BC = Rock("LibBabble-Class-3.0", false, true) in LibRollCall - and as far as I can see, LibBabble-Class-3.0 isnt available anywhere.

    Posted in: Map/Minimap AddOns
  • 0

    posted a message on Cartographer 2.0
    Quote from Shinja »

    This morning:

    [2007/09/17 11:28:33-977-x1]: AceLocale-2.2-40629 (Ace2):487: AceLocale(Cartographer_POI): Translation "POI" does not exist.
    ...ns\Cartographer_Noteshare\Cartographer_Noteshare.lua:258: in main chunk:





    This is a problem with the Cartographer_Noteshare addon, not the Cartographer addon itself.

    Line 258 of Cartographer_Noteshare\Cartographer_Noteshare.lua reads :

    ["POI"] = AceLibrary("AceLocale-2.2"):new("Cartographer_POI")["POI"],


    Changing it to :

    Rock("LibRockLocale-1.0"):GetTranslationNamespace("Cartographer_POI")


    Seems to fix it - if it's doing what I think it's doing ! Thought the whole noteshare addon should be changed to use rock I guess.

    Posted in: Map/Minimap AddOns
  • 0

    posted a message on CCBreaker errors
    I managed to remove a bunch of these by reordering the code a little - moving all the local functions to the top of the file.

    That then introduced another bunch of errors - lots of self references in local functions that arent part of the CCBreaker class, so changing all those removed those.

    Then it fell over when it tried to call createText() which doenst exist, so at that point I gave up.
    Posted in: General AddOns
  • To post a comment, please or register a new account.