• 0

    posted a message on WelcomeHome - Your first Ace3 Addon
    ... sorry, post deleted
    Posted in: Ace3
  • 0

    posted a message on The New Curse Client
    just tried the curse client for the first time and here are my first impressions:

    1. it crashed after telling me it would find all my old addons and upgrade them (it didnt)

    i started from a clean slate, installed again and updated to latest verison, (2.0.0.13), i no longer get the "this is your first time" prompt, and i can't seem to find an option to tell it to redo that step, so i'm left with reinstalling manually.

    2. It installed something i didn't want (some data tracking mod by ckKnight iirc)

    3. It does not allow me to multi select and download, it only downloads 1 of the multiselected addons i choose.

    point 3 makes it excruciating to get all my mods. i have to individually install them, which means waiting 5 seconds on each one with an Advert, then its download and install time, then the time to find the next one, and install that, etc, etc. I gave up after 5 mods, it's simply too much time to install my 50+ mods.

    not a pleasant experience so far unfortunately.
    Posted in: Updaters
  • 0

    posted a message on IceHUD
    Quote from Kyrian »

    Quote from Tjista »

    Since the last Patch the graphical ComboPoint View ist barely seeable. It's somehow faded out. Other Elements work just fine.


    In "ComboPoints.lua" module there is a line of code that sets combo alpha to 0.15 (hard coeded). Don't know why it is hard coded, of why it didn't have any effect prior to the last patch. I changed my local copy to set it to alpha 1.00 instead. Problem solved.


    is there a proper solution to this? setting to 1.0 still makes the points hard to see, as the background and combo colours are so close.

    i had a look at the code which generates the combo points frames and backgrounds, and there hasn't been any major change in it for a long time, i.e. the 0.15 value has been there a while, which leads me to think that the patch changed the way the transparency works rather than it being an icehud bug.

    alpha 0.15 with 2 combo points:


    alpha 1.0 with 2 combo points:


    Posted in: Unit Frames
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    selling items or dumping them in the bank doesn't update the popup bar items, only the primary button items.

    edit: in fact, using the last of a popup item also doesn't remove it from the button list

    mark
    Posted in: General AddOns
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    simple fix for not displaying first button as popout based on rev 32141:

    --- PT3Bar.lua 2007-04-09 11:25:14.359375000 +0100
    +++ PT3Bar.lua.popoutfix    2007-04-09 11:24:59.515625000 +0100
    @@ -334,13 +334,6 @@
                popupparent:SetAttribute("delayhovermap-anchor-leave", "1:true")
                
                
    -            local popupbutton1 = self:GetPopupButton(k, 1)
    -            popupbutton1:SetScript("OnShow", function()
    -                self:SetTooltip(button)
    -            end)
    -            popupbutton1:SetScript("OnHide", function()
    -                GameTooltip:Hide()
    -            end)
            end
            buttons = newbuttons
        end
    @@ -510,7 +503,9 @@
                                    currcount = count
                                    currvalue = v
                                end
    -                            self:UpdateButton(self:GetPopupButton(buttonnum, popupincrement),k,count)
    +                            if popupincrement > 1 then
    +                                self:UpdateButton(self:GetPopupButton(buttonnum, popupincrement - 1),k,count)
    +                            end
                                popupincrement = popupincrement + 1
                            end
                        end
    @@ -529,7 +524,9 @@
                                currcount = count
                                currvalue = v
                            end
    -                        self:UpdateButton(self:GetPopupButton(buttonnum, popupincrement),k,count)
    +                        if popupincrement > 1 then
    +                            self:UpdateButton(self:GetPopupButton(buttonnum, popupincrement - 1),k,count)
    +                        end
                            popupincrement = popupincrement + 1
                        end
                    end


    mark
    Posted in: General AddOns
  • 0

    posted a message on An alternate method for defining embedded lilbraries in your TOC
    ah yes, much easier than my sledge-hammer method, and does disembeded libs too.
    didn't think to just look for the file from the toc.

    Posted in: Lua Code Discussion
  • 0

    posted a message on An alternate method for defining embedded lilbraries in your TOC
    if you're using WAU with external libraries, i've written (and attached) a bash script that post processes all toc files in your addons dir, intelligently commenting out external libs. just run it from AddOns/ folder

    it's logic is to use the disembeded lib list from !!!standalonelibs/filelist.wau, find all the files associated with those libs (from their toc file entries) and comment those out of the standard mod's toc file.

    so it's basically a lot more intelligent than a simple regex to remove "libs/..." lines.

    it then goes through the disembeded libs list again, and comments out Ace2 library files from them.

    doesn't remove all errors from your FrameXML.log, but most of them. for instance, I don't comment out the Dewdrop lib entry from TabletLib.toc, so that errors because Dewdrop is external to TabletLib. that would add a lot more assumptions and complexity to the script.

    mark
    Posted in: Lua Code Discussion
  • 0

    posted a message on PeriodicTable-3.0
    fixed this myself, i edited the compresssplit.lua to refer to the dirs directly off AddOns

    i.e. changed script to do:
    update("../PeriodicTable-3.0-Consumable/PeriodicTable-3.0-Consumable.lua")
    etc.

    i don't know if the dir structure has changed in svn, or it's because i use !!!standalonelibraries and use no-externals with the WAU, but now my changes are reflected locally.
    Posted in: Libraries
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    Quote from British »

    It's where some popping buttons (like Autobar) or key-modifier might fit in nicely as, for one, I tend to use conjured items prior to bought or looted ones for the sake of money (and provided I'm not in a hurry for some reason).


    the problem i see with this is that pt3bar buttons are not (currently) intelligent about their content, they don't know the difference between conjured and bought types.

    say you have 2 different lots of 7200 vendor mana drinks and 1 lot of 5200 conjured water. the key-modifier is going to give you the 2nd type of vendor water, not the conjured, because pt3bar is not intelligent about content, it currently only looks at the values after the colon to decide what should be shown.

    but there is a solution. you can make pt3bar show your conjured water first regardless of if you have better vendor water; make a custom list and set your own priority values, don't rely on the mana regen values given by Consumable.Water.Conjured and Consumable.Water.Basic, e.g.

    ["PT3BarCustom.MostWater"] = "u,8079:14200,30703:15100,22018:17200,28399:5100,27860:7200,29395:7200,24007:4200,30457:7200,29454:5100,29401:7200"


    (this is just taken from the conjured and basic values in PT3's ids/values, but with 10,000 added to the value of the 3 conjured waters, i.e. 8079:4200 -> 8079:14200 etc)

    by adding 10,000 to the value of conjured water types, it will always be higher value/priority than the vendored items, but also has the correct order if you have different conjured water in your bags.

    i have no idea if Nymbia has plans to implement alternate popups for 2nd value buttons, or intelligent handling of content (really can't see how this could be done with id/values without looking up the id which will then slow the mod down a lot), but in the mean time, custom lists are the way to handle prioritisation.
    Posted in: General AddOns
  • 0

    posted a message on PeriodicTable-3.0
    not 100% sure if this is where to report my problem.

    i'm trying to extend Consumable.Food.Buff.Stamina as it's missing a few items.

    	["Consumable.Food.Buff.Stamina"]		= "6888:2,11584:2,17198:2,724:4,5525:4,22645:4,1082:6,3663:6,3664:6,5527:6,3729:8,6038:8,12212:8,12214:8,11950:10,13927:10,13934:10,24009:10,28501:10,12215:12,12216:12,18045:12,24540:14,20516:20,21254:20,27651:20,27660:20,27662:20,27663:20,30155:20,31672:20,21023:25,27667:30",


    i've added it locally to my data.lua, but when trying to run the compresssplit.lua, it fails because i don't have any of the subdirs it needs (e.g. ./PeriodicTable-3.0-Consumable/PeriodicTable-3.0-Consumable.lua)

    these are parent dirs only off the Interface/AddOns dir. (I use external libs).

    what's the normal way of updating the information, as i'm bound to be adding more to the stamina food section because i've created a warlock :) ?

    thanks,
    mark
    Posted in: Libraries
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    Quote from failquail »

    Would it be possible to get conjured items like Glacier Water to go over bought items, like Normal Water or the Consortium (renamed) water.


    the way that pt3bar works is it walks down the list of items in the set, and if something has a "larger" value, it uses that instead, it doesn't care what the item is. (the patch i provided above reverses the order to take the "smallest" value).

    by default, the "MostWater" entry is "m,Consumable.Water.Basic,Consumable.Water.Conjured", which means that items in the Basic that have same values as in the Conjured get priority because PT3Bar only picks an item if it's value is bigger. and scores for water are the amount of mana they regen.

    if you swap the order around to be "m,Consumable.Water.Conjured,Consumable.Water.Basic", then as long as the walking down of the set is consistent, you will get conjured values first, and they should appear in your button first.

    alternatively, make a new list of the waters you use, and give them your own scores so that you can set the priority manually.

    edit: i've just tested this out, and putting Conjured before Basic does make the conjured appear before normal water of the same value. i.e. if you have 5100 conjured and 5100 normal then the conjured appears, but if you have 5100 conjured and 7200 normal, then the normal appears (as it should).

    mark
    Posted in: General AddOns
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    i found my own mod didn't run the initial section propery when any of my guild members logged on for the first time after the patch. it worked after relogging.

    i also had this problem with pt3bar, i simply disable/re-enabled it to get it working.

    i think you'll see a lot of mods not working properly on first login after todays patch.
    Posted in: General AddOns
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    I've modified (my copy of) the mod to allow you to choose best or worst item on button click, instead of always the best (as requested by uaxli/british).

    It's a very minimal change, all it essentially does is replace the test to see if the item is better with a function, where you can then put logic in.

    I've created a new toggle flag called "showbest", which defaults to on (current behaviour).
    If you switch it to off, it shows the worst item in your bags for a button.

    here's the diff:

    --- PT3Bar.lua 2007-04-04 10:12:43.687500000 +0100
    +++ PT3Bar.lua.showbest 2007-04-04 10:10:29.687500000 +0100
    @@ -20,7 +20,7 @@
     PT3Bar:RegisterDB("PT3BarDB")
     local PT = AceLibrary("PeriodicTable-3.0")
     local _G = getfenv(0)
    -
    +PT3Bar.initialised = false
     
     -- These are for 2.0.x compatibility. To be removed in 2.1, as itemids will work on the secure buttons
     local function getname(id)
    @@ -139,14 +139,30 @@
                    PT3Bar.db.profile.tooltip = v
                end,
            },
    +        showbest = {
    +            type = 'toggle',
    +            name = "ShowBest",
    +            desc = "Show best item in button (On is best, Off is worst)",
    +            get = function()
    +                return PT3Bar.db.profile.showbest
    +            end,
    +            set = function(v)
    +                PT3Bar.db.profile.showbest = v
    +                if PT3Bar.initialised then
    +                    PT3Bar:UpdateAllButtons()
    +                end
    +            end,
    +        },
        }
     }
     function PT3Bar:OnInitialize()
        self:RegisterChatCommand({"/pt3bar"}, options)
        self:RegisterDefaults('profile', {
            tooltip = true,
    +        showbest = true,
            ['*'] = {}
        })
    +    PT3Bar.initialised = true
        
     end
     
    @@ -284,7 +300,7 @@
                    for k,v in pairs(t) do
                        v = tonumber(v)
                        k = tonumber(k)
    -                    if v and v > currvalue then
    +                    if v and self:CompareItem(v, currvalue) then
                            local count = GetItemCount(k)
                            if count > 0 then
                                curritem = k
    @@ -299,7 +315,7 @@
                for k,v in pairs(settables[set]) do
                    v = tonumber(v)
                    k = tonumber(k)
    -                if v and v > currvalue then
    +                if v and self:CompareItem(v, currvalue) then
                        local count = GetItemCount(k)
                        if count > 0 then
                            curritem = k
    @@ -320,6 +336,14 @@
        end
     end
     
    +function PT3Bar:CompareItem(testVal, currVal)
    +    if self.db.profile.showbest then
    +        return testVal > currVal
    +    else
    +        return currVal == 0 or testVal <= currVal
    +    end
    +end
    +
     function PT3Bar:SetTooltip(frame)
        if frame.item and self.db.profile.tooltip then
            GameTooltip_SetDefaultAnchor(GameTooltip, frame)


    mark
    Posted in: General AddOns
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    i like the horizontal/vertical snap options, but can we also get an up/down left/right option?
    saves me having to reverse the order of my buttons in the config.

    and while i'm adding to the wish list, how about hotkey markers, i.e. if i assign "alt-1" to a button i can see "a-1" or similar.

    thanks
    mark
    Posted in: General AddOns
  • 0

    posted a message on PT3Bar (non-official Thread of drama and great justice)
    thanks for the comment :)

    you can destroy your hearthstone (and pick a new one up at an inn), so if you're wearing the slippers you can still "hearthstone" without the normal one. so i think it would work and save you a bagspace. i could test this on my g/f's lock who won the slippers last night.

    also, unless i misunderstood the ranking of items in a category, i gave the slippers the value 2 and h/s value 1, so that the slippers have priority over the hearthstone. thus if you have both, the slippers would show.

    on the mount side, if they do add a flyable condition to the macros (yes, i know the source of this information was the fake leaked patch notes, but i can dream), then you don't need pt3bar for your flying mount/normal mount button, just macro it (assuming you have any normal buttons showing).

    funnily enough, i gave this mod a go, and i don't actually use it. other than food/water/mana/health, i can't think of a decent grouping that would be useful on my interface for my hunter.


    edit: scratch that, i am using it now, the keybindings make it very useful for one click getting at your best healing
    Posted in: General AddOns
  • To post a comment, please or register a new account.