• 0

    posted a message on Ideas for Atomic Mail-Lib
    Alright, haven't had a chance to test this yet so consider it pseudocode. But these are the two functions I have now for my mail-lib for getting money from a mail. The first is non-atomic while the other attempts to be atomic. Any feedback is appreciated.

    function Mailmix:TakeMoney(index)
    local _, _, _, _, money = GetInboxHeaderInfo(index)
    if money == 0 then return end

    TakeInboxMoney(index)
    InboxFrame_Update()
    return true
    end

    function Mailmix:AtomicTakeMoney(index)
    local stopcode = 2
    local running
    self.atom = 0
    for i = 1, stopcode do
    if self.atom = 1 then
    self:UnregisterEvent("PLAYER_MONEY")
    return true
    end
    if not running then
    self:RegisterEvent("PLAYER_MONEY", function() self.atom = 1 end )
    TakeInboxMoney(index)
    running = 1
    end
    stopcode = stopcode + 1
    end
    end
    Posted in: Libraries
  • 0

    posted a message on GMail 2
    I've decided to pick GMail back up. I guess having it removed made me a bit peeved and peeved turned into coding. However, the new GMail will no longer be a CT_Mailmod port.

    The newer GMail will try to be a suite of tools versus a monolithic mod. Each tool will be in its own subfolder and hopefully can be deleted at the user's preference or to keep it from conflicting with another mod.

    As soon as I get the OpenAll mod finished I will upload something somewhere.

    GMail_Express:
    gives ExpressMail compatible shortcuts (thanks Tekkub)
    100% complete

    GMail_OpenAll:
    this will add the OpenAll button and will churn everything non-COD in your Inbox
    75% complete

    GMail_Forward:
    Adds a forward button.
    25% done

    GMail_Inbox:
    Adds Checkboxes with the option to return/open selected mails.
    25% done

    GMail_Bulk:
    Adds a Bulk Mail panel to the Mail UI.
    10% done

    GMail_LastSent:
    Autofills the last recipients name in the To: box
    0% done


    Note: Plz no feature requests at this time. No bashing the CT_Mod team. No talking about whether or not the last version should have been pulled.

    Posted in: General AddOns
  • 0

    posted a message on Automaton
    I'll probably be deleting AutoTurnin from SVN soon and refering people to automaton since it supports foreign clients. Good job on the mod btw.
    Posted in: General AddOns
  • 0

    posted a message on Ideas for Atomic Mail-Lib
    So I started working on a new GMail. And I started thinking, I should have some generic functions for:

    Take an item from a mail
    Take money from a mail
    Take a letter from a mail

    So I looked at the old Expressmail (Tekkub has a newer nonace version thats about ten lines) and actually cobbled together a mail mixin with his functions (with his consent of course).

    Ex:
    function Mailmix:TakeItem(index, confirmCOD)
    local _, _, _, _, _, COD, _, hasItem = GetInboxHeaderInfo(index)
    if not hasItem or (COD > 0 and not confirmCOD) then return end
    TakeInboxItem(index)
    InboxFrame_Update()
    return true
    end

    Now, this is fine and dandy and does as intended. But now here comes the hard part. Atomic version of these functions. For reference, I checked how AH_MailCollect does this and it uses a large scoped variable which in this instance a hooked BAG_UPDATE would clear.

    The AH_MailCollect method works but isn't friendly for making small atomic functions.

    Any ideas?
    Posted in: Libraries
  • 0

    posted a message on GMail (A CT_MailMod Replacement)
    Quote from grennon »

    Of course the code is similar, it was a port. What did we call them? A "surfed" mod. It was never officially released.

    The big differences were:
    Used AceHook and AceEvent
    Removed all SavedVariables
    Combined the two mods into one, the bulkmail and inbox mods.
    Updated a few other things.

    So no, it wasn't just a copy and paste port. If you read the first post in this thread it makes it clear thats exactly what this mod was. I'm just sad it was removed without even a PM on this forum or something giving notice. I could have added more attribution upon request.


    Replying to my own post here, combining the inbox and bulkmail mods was a naive mistake and gained nothing really. If I republish this mod on my guilds site it will have them split so you can comment whichever you dont like out.
    Posted in: General AddOns
  • 0

    posted a message on GMail (A CT_MailMod Replacement)
    Of course the code is similar, it was a port. What did we call them? A "surfed" mod. It was never officially released.

    The big differences were:
    Used AceHook and AceEvent
    Removed all SavedVariables
    Combined the two mods into one, the bulkmail and inbox mods.
    Updated a few other things.

    So no, it wasn't just a copy and paste port. If you read the first post in this thread it makes it clear thats exactly what this mod was. I'm just sad it was removed without even a PM on this forum or something giving notice. I could have added more attribution upon request.
    Posted in: General AddOns
  • 0

    posted a message on GMail (A CT_MailMod Replacement)
    Well, GMail fixed a few outstanding issues ct_mailmod had, like doing friend/guild lookup autocomplete even though the blizz ui does it as well.

    I went to look at the code for the new ct_mailmod and it seems much better and up to date with the blizz APIs. There is also a note in every file telling you to not modify or re-use the code without asking the CTmod team first. Apparently my little port pissed somebody off or something. I don't really get the whole territorial thing.

    I make mods for my guild and my friends mostly. If they are happy, I am happy. If they want me to take apart the new ct_mailmod and ace it, I will. It will just be one of those unreleased desk-drawer mods I'm sure everybody has. (For instance, I have some ports of PriceEach and DurabilityStatus with a ton of code for options I didn't use removed).
    Posted in: General AddOns
  • 0

    posted a message on GMail (A CT_MailMod Replacement)
    It was very clearly labeled as a port of CT_Mailmod at one point. Maybe the attribution was deleted at some point or something. Whatever. It was also never released. I'm disappointed that it was removed without Cide ever sending me an email or anything.

    Actually Im having a party since I'm now free of this mod. It wasn't a good use of my time. The old ct_mailmod was just a mess and it was a bad idea to ace it. I never had the time to add features or even to rewrite the engine the way I wanted.

    I do however take issue with the idea that it was just a copy and paste job.
    Posted in: General AddOns
  • 0

    posted a message on Auto Turnin
    Quote from Lambras »

    I´ve installed AutoTurnin, but i can´t use it ingame. I´ve got the german client and can´t turn this addon on ( /autoturnin on). Is it only for the eng. client or how can i turn it on?


    use Automaton
    Posted in: General AddOns
  • 0

    posted a message on GMail (A CT_MailMod Replacement)
    I've updated the thread title and .toc of the mod to not say Grennon-mail anymore since this is more of a community thing than a Grennon thing. I never really realized how many people used this mod until the other day some people in my guild were talking about and how the compilations they downloaded had it in them.

    Maybe after I get done skinning damagemeters-al and converting it to dewdrop I'll take a stab at redoing some of the GMail code.
    Posted in: General AddOns
  • 0

    posted a message on PerfectRaid
    I could upload a fork of PerfectRaid called GPerfectRaid to SVN or something maybe. Its a view-only PerfectRaid that works in 2.0 that I hacked til it worked. Its totally useless for Clique-casting though and you can't target anyone with it.

    I use it on my warrior since I'm a raid leader and it gives me a good bird eye view of the raid. It might tide over non-heal/cleansers who just enjoy the PerfectRaid look until Cladhaire finishes the new one.
    Posted in: Raid AddOns
  • 0

    posted a message on Perfect raid 2.0?
    Ive cobbled together my own little perfectraid. Basically I removed proximity lib, removed all range check stuff, commented out the line that does TargetUnit for the OnClick, removed the table.setn, fixed a table scan that needed a pairs(), and changed a math.mod to a math.fmod.

    Only thing now is, I am testing things out for my guild. Did PerfectRaid work with Clique before? My quick hack of it does not and clique has become something most of my guild now use with sraidframes or grid. Clique+PerfectRaid was what my paladins told me they were going to use a cleansing solution so I guess I broke clique support or something.
    Posted in: General AddOns
  • 0

    posted a message on GMail (A CT_MailMod Replacement)
    I just don't have time to turn this into the mod it should be. As it stands it was a quick port of ct_mailmod to ace2.

    I thought about integrating the way expressmail does shortcuts, integrate a bulkmail tab for the mass mail feature, and then rework stacking.

    But then I got much more responsibility in my guild and less time to dick around with this mod. I barely have time to work on Minimalist which is my pet mod.

    This is abandoned as of now.
    Posted in: General AddOns
  • 0

    posted a message on Minimalist
    Quote from Lewzephyr »

    Your recent update that took away more map clutter took away the minimap border. Is there anyway to make that a toggle... Id prefer to keep the border personaly.

    Thanks


    Done. I might add it as a new toggle.
    Posted in: General AddOns
  • 0

    posted a message on Minimalist
    Quote from Lewzephyr »

    Your recent update that took away more map clutter took away the minimap border. Is there anyway to make that a toggle... Id prefer to keep the border personaly.

    Thanks


    Hrm. Ill see.
    Posted in: General AddOns
  • To post a comment, please or register a new account.