• 0

    posted a message on A question on dynamic creation/removal or hiding of LDB objects
    Well, the addon has a lot of "potential" data streams. It current handles this by having a giant tooltip, and you can select one value from the many to display in the LDB data object.

    Obviously, I don't want to generate 1 data object per value, that would be clumsy, and would result in 100s of DOs.

    What I was looking to do, was generate, say, up to 5 DOs, and use a simple config to bind each DO to it's value.

    The problem isn't generating the DOs, but rather, getting rid of the excess DOs that I don't want (say the user configures for 5 DOs, but then changes their mind and only wants 3). The surplus DOs are just going to take up space. I can get rid of them on a reload, but that seems to be the ONLY way to do that. Being able to say "this DO is surplus to my requirements and is going to go away" to the display seems to me to be something that might be quite useful in my case.

    Thoughts?
    Posted in: Data Broker AddOns
  • 0

    posted a message on A question on dynamic creation/removal or hiding of LDB objects
    Hi
    So I'm trying to fulfil something someone asked me to do, that I think is a great idea: rather than building lots of GUI that no one will like, just create a bunch of LDB data objects that you can configure to show different data elements.

    However, I want the option to remove an existing LDB object from LDB, because the user might want fewer LDBs than the maximum number. The API doesn't seem to support this, and additionally, the data spec doesn't specify for a "hide" option that allows for me to indicate a "hidden" status for the Data Object.

    I think this would be a "nice to have" thing, allowing a data object to mark itself "hidden", if removal would be a big problem (which I very much suspect it might be).
    Posted in: Data Broker AddOns
  • 0

    posted a message on The New Curse Client
    Quote from Adirelle
    With the launch of Premium the CurseClient just stopped to work with Wine. The main window shows up. It logs me in. Then it gets stuck. I am wondering if this is related with the ad at bottom right of the windows.

    Edit: running on the commandline, I get a whooping fault :

    wine: Unhandled page fault on read access to 0x00000000 at address 0x56a25c (thread 001c), starting debugger...
    Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0056a25c).


    BTW, does the latest client includes some kind of anti-piracy code that could cause issues on "non-native" windows ?


    It looks like the widget tree is corrupted in "normal" mode, and it's trying to access something that's not there. I guess windows is more forgiving than wine.

    There's a ticket open http://www.curseforge.com/projects/curse-client-new/tickets/513-curse-client-no-longer-works-under-wine/
    Posted in: Updaters
  • 0

    posted a message on Broker XP
    LOL, wow. I haven't looked at this in ages. I must check in my changes. I'll add Pet XP too, hopefully over the weekend. I should really look at sending a release to curse as well. I'm terrible for keeping up with something. *sigh*.
    Posted in: Data Broker AddOns
  • 0

    posted a message on Refreshing a tooltip from OnTooltipShow
    Thanks for the suggestions. I've actually looked at LibQTip, because it made life quite easy- I didn't have to try and wrap my head around managing a blizzard frame (I still haven't found a good primer on blizzards UI concepts, from a development standpoint)- wowwiki is misleading at best.
    Being able to just "change" the cell's value rather than rebuild the tooltip every time, makes it look quite cool :)
    Now, I'm gonna go do some more calculations and check it all in.
    Posted in: Data Broker AddOns
  • 0

    posted a message on Refreshing a tooltip from OnTooltipShow
    @Tekkub thanks, yeah I'm looking at a tooltip library to manage the tooltip a bit better.
    Posted in: Data Broker AddOns
  • 0

    posted a message on Refreshing a tooltip from OnTooltipShow
    @Xinhuan, well, no, no FuBar, i'm building an LDB addon actually. But it has a tooltip, and the data in the tooltip will change as time ticks by. I'm using the "OnTooltipShow" attribute of the LDB object to show my tooltip, and update the content therein if it's showing.

    @Torhal, thanks I'll have a look at how you're managing your tooltip.
    Posted in: Data Broker AddOns
  • 0

    posted a message on Refreshing a tooltip from OnTooltipShow
    Hi
    So I'm trying to keep my tooltip up to date if someone hovers on it. I currently show it through OnTooltipShow, but I can't see any way to refresh the content of the tooltip once I've added my lines (via AddLine) to it. Is there some mechanism to do this, or do I have to go the .tooltip route?

    Thanks
    Christian
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker XP
    r6 is out. Should fix the tooltip error. Also now available, rest!
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker XP
    OK. Just updated, with a bunch of kinky metrics of my own devising. Glad ppl are liking by the way.

    Not sure about the profile error. It looks like the profile defaults aren't being set properly when you change the profile. Any hints on how you're supposed to deal with this with AceDB-3.0? I expect there's an event I'm supposed to listen for to populate defaults on the new profile, but documentation is thin.

    I've put a workaround in r5.

    I'll add rested XP in next. Probably in the form of "time till it's all gone" :) As well as the usual numbers..
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker XP
    Thanks. That's the one. URLs are hard on the iPhone :(

    Would welcome any feedback.

    Christian
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker XP
    So now that we're all levelling again I started missing some elements in my new LDB setup- specifically FuBar-ExperienceFu's lovely number crunching. So, I decided to build Broker XP which gives some of the same number crunching of the old addon but with ace3 and LDB. I'm sure there's more I can do and all suggestions are welcomed.

    Christian
    Posted in: Data Broker AddOns
  • 0

    posted a message on AceConfigCmd and the execute type
    When I write a UI (I haven't got the hang of the peculiar WoW frame model yet) for the mod I will, but at the minute, this is just to do a chat frame dump of the info. I wanted to pass an arg into the second thingy. Though, thinking about it, I can probably see what you mean about a select... Clever... I'll have to have a look at that, once I can get online again *sigh*.

    Thanks for the idea
    Christian
    Posted in: Ace3
  • 0

    posted a message on AceConfigCmd and the execute type
    Hi
    So i've been playing around with Ace3. I saw a couple of examples that use AceConfigCmd to manage the command line slashie fun.

    This is pretty cool- I can do config and some operations from the same thing. Here's a snippet:

    local options = {
        ...
        type = "group",
        args = {
          ... (Other, gui, options)
          list = {
            name = L["List rolls"],
            desc = L["List stored rolls"],
            type = "execute",
            func = "ListRolls",
            hidden = true,
          },
          printRoll = {
            name = L["Display roll"],
            desc = L["Print a specific historic roll"],
            type = "execute",
            func = "DisplayRoll",
            hidden = true,
          },
        },
    }


    Now, the list command above works nicely- because it has no arguments to it. But the printRoll command doesn't- it needs an argument, and it appears that AceConfigCmd only supplies the arguments when strictly necessary. (e.g. For set calls)

    I've looked at the code for AceConfigCmd-3.0.lua and I cannot see why simply passing the "str" to the do_final() call on line 373 wouldn't just work and allow me to get at the remaining arguments to the slashie call.

    Thoughts? Am I wrong somehow? Am I crazy for thinking that I should use AceConfigCmd for this purpose?

    Thanks
    Christian
    Posted in: Ace3
  • To post a comment, please or register a new account.