• 0

    posted a message on dedicated [FuBar] Plugins request topic
    Aim for minimal memory usage. In both total memory and memory over time. It'll be better in the end that way.
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    Of course BossPanel is an Ace addon, and all the plugins are also Ace-enabled.
    I tried to integrate it nicely into Ace. When hiding/showing a plugin, it also toggles standby.
    All the plugins' options can also be handled by the command line, not just the menu.
    All the plugins have an About button, that just does "/bosspanel_myplugin ?".
    When adding/removing a plugin from the bar, it's arranged by ace category.
    You'd write your plugin just like a normal Ace addon, except deriving from BossPanelAddon instead of AceAddon.

    I don't see a point in triggering an event. In an addon, to update your text, you do
    self:SetText("New text!")

    and to update an icon, it's just
    self:SetIcon("Interface\\PvPRankBadges\\PvPRankHorde")

    tada, no triggering of events.

    By the way, I was tired of waiting for the prospects of AceBar, so that's why I made BossPanel.

    WoWInterface - BossPanel
    Note: this is an alpha, although it works and is very shiny, there may be bugs.

    also, I included a tutorial for writing an addon in the zip file (BossPanel_Tutorial.txt).

    I also made a topic in Ace AddOn Collection for this.
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    Timex is _extremely_ bloated, at least for my setup. If I even have a simple timer (such as for the clock), it makes the increasing rate of memory shoot up by 4-5 KiB/s.

    Without it, using the OnUpdate method, it stays between 0.0 and 0.2 KiB/s

    Maybe I'm doing it wrong. Is there any good example code that uses Timex and doesn't cause memory leaks?

    Also, all Timex does is hook on to Worldframe_OnUpdate, then do the offset addition and firing from there, so it's essentially the same thing.
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    Well crap, I have like 2 bugs to squash and the server goes down.
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    I'm planning to release as a compilation, which isn't bad, cause nothing is very big.
    But the directory structure goes as such

    Interface/AddOns/BossPanel <-- main one
    Interface/AddOns/BossPanel_Clock
    Interface/AddOns/BossPanel_Experience
    etc.

    none of the Experience code is in BossPanel, and such.

    I don't know what you mean by the titan clock format, or the offset stuff.
    I have some offset-finding code in mine, I hadn't even looked at Titan's way of doing it.
    I plan on releasing in, oh say, 12 hours.

    My clock code is pretty simple, you can switch between 24/12 hour, and show seconds (if you show seconds it finds the offset to the server).
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    Okay, tekkub, no more XML needed.

    here's the clock's XML:
    <Ui xmlns="<a href="http://www.blizzard.com/wow/ui/"" target="" data-ensure-absolute>http://www.blizzard.com/wow/ui/" xmlns:xsi="" target="" data-ensure-absolute>http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
    ..\FrameXML\UI.xsd">
    <Script file="BossPanel_ClockLocals.lua"/>
    <Script file="BossPanel_Clock.lua"/>
    </Ui>

    They all look like that now, no frames in it at all.
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    Hrm, interesting idea, there, I may or may not implement it, depending on how I'm feeling. I do think the creation of new frames in 1.10 will be awesome, though ;-).
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    I started off with a blank slate, and although I did look at Titan's plugins for logic, I didn't really copy anything.

    The plugins do currently create a frame. One major difference with Titan is that plugins manage their own updates, instead of Updating every frame like titan seems to.

    Here's the clock xml:
    <Ui xmlns="<a href="http://www.blizzard.com/wow/ui/"" target="" data-ensure-absolute>http://www.blizzard.com/wow/ui/" xmlns:xsi="" target="" data-ensure-absolute>http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
    ..\FrameXML\UI.xsd">
    <Script file="BossPanel_ClockLocals.lua"/>
    <Script file="BossPanel_Clock.lua"/>
    <Frame name="BossPanel_ClockFrame" inherits="BossAddonTextFrameTemplate">
    <Scripts>
    <OnUpdate>
    BossPanel_Clock:OnUpdate(arg1);
    </OnUpdate>
    </Scripts>
    </Frame>
    </Ui>

    Pretty simple, and that covers all of it.

    In the code, OnUpdate() will call UpdateText() which essentially is just a few lines to get a string, then it does self:SetText(s) It will handle the resizing all my itself, so there's no issues with that.

    Essentially, the panel doesn't pull data, the panel just organizes where the frames go, the frames update themselves independantly.

    All in all, my plugin may look and act like how Titan does, but it's quite different on the backend.

    And all the variable management is handled by the plugins themselves, though self.db or however you want to do it.
    Posted in: Addon Ideas
  • 0

    posted a message on Titan Panel
    Just so everyone knows, I've written a Titan clone using Ace. My goal was lightweight memory usage, and I feel I have achieved that.

    I'm calling it BossPanel (cause I'm an egotist).

    The plugins that I've written for it are:

    BossPanel_Performance - keeps track of framerate, memory usage, etc.,
    BossPanel_Experience - keeps track of both your experience and your honor. It will switch between the two whenever you enter/exit PvP mode.
    BossPanel_Durability - keeps track of durability and pops up a dialog to repair when you go to a vendor who can.
    BossPanel_Clock - A simplistic clock.
    BossPanel_Bags - Keeps track of space left in your bags.
    BossPanel_Ammunition - Keeps track of space left in your ammunition.
    BossPanel_Money - Keeps track of current money and all your characters on one realm.

    The differences between BossPanel and Titan Panel are:
    No distinction between plugins on the left of the panel and on the right. e.g. clock can go on the left or the right, not just the right.
    Honor plugin also keeps track of wins/losses in BG.
    Combined Experience and Honor plugins (I find it unlikely to want to know your experience in battlegrounds or know your honor in the real world.)
    Better memory usage. :-)
    Extremely modular.
    Object-oriented.
    I wrote it, so it _must_ be good.

    I'm currently doing bugchecking and writing more addons (though that doesn't take hardly any time at all).

    I'm likely to clone most of the addons (at least the builtin ones) of Titan. Are there any addons that people would like to see written for this?
    Posted in: Addon Ideas
  • To post a comment, please or register a new account.