• 0

    posted a message on Postal (was GMail2): Updated
    Quote from cheadstina »

    Proposal for Postal_Express. Option to count the money you have collected from the mails and print it when you close the mailbox frame

    I.e. when you have received 5 mails from selling stuff at AH. Then you collect the money from those, and when you close the mailbox frame it will print the total amount.



    Done. New mod, Postal_Rake . It might even work.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Quote from trankillity »

    I'm guessing this was a function of GMail that hasn't been implemented in Postal yet but I'd love to be able to alt+click an item to initiate trade and put it in the first slot of the trade window again.


    This was branched off into "AltClickToAddItem" which is on trunk. Unfortunately, it does not initiate trades yet, oops. Ill throw it in tomorrow.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Quote from cheadstina »

    Proposal for Postal_Express. Option to count the money you have collected from the mails and print it when you close the mailbox frame

    I.e. when you have received 5 mails from selling stuff at AH. Then you collect the money from those, and when you close the mailbox frame it will print the total amount.



    Not a good fit for postal express since its a "fast and quick mailshortcuts" type deal.

    What you are thinking of is something like a new submod/module which:
    1. when the mailframe is shown registers money update events and stores how much you have
    2. when the mailframe closes checks how much you have and prints the difference

    Come up with a good name for it Postal_??? and Ill make it, pretty simple.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Quote from lambi »

    [2007/01/12 06:45:30-270-x1]: Postal-2.0 -Ace2-\Postal_DejaVu\Postal_DejaVu.lua:8: AceHook-2.1: Could not find the handler "ArrowHandler" you supplied when hooking method "OnChar"
    <in C code>: ?
    AceEvent-2.0-23383 (FuBar):251: in function `TriggerEvent'
    AceEvent-2.0-23383 (FuBar):962: in function <...face\AddOns\FuBar\libs\AceEvent-2.0\AceEvent-2.0.lua:955>

    ---


    Fixed
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Postal_DejaVu now remembers the last 15 people you have mailed and allows you to scroll the list with the UP/DOWN arrows in the SendMail Name Editbox. Right now this data is not saved between sessions.

    Im still waiting for inspiration on a Postal_Storage module which if enabled different components would grab data from it.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    This is on trunk now but mostly to get more testers and to get people who want to write plugins the code.
    Posted in: General AddOns
  • 0

    posted a message on Postman - Building a better mailbox
    Quote from tale »

    Quote from grennon »

    Quote from tale »

    TakeInboxItem() is not an atomic operation, but an asynchronous request to the server to take the item. It appears that the server will ignore other TakeInboxItem requests if one is already being processed. T


    This is why postallibs' takeinboxitem wrapper register unit_update_inventory and then fires off a custom event that a submodule can listen for to trigger off before proceeding. Its not atomic but you can wrap it with an atomic function at the cost of speed.
    Sounds like a really good idea, especially for updating variables and other non-destructive operations. I still would feel a bit wary about using this to trigger the deletion. Maybe there'd be no problem with it, but now I'm really gun shy after causing several people to lose valuable items. I'd be worried that using the event mechanism could result in the accidental deletion of the wrong message, depending on what order various events came in. I feel a bit better with just making a check immediately before trying to delete that there is no item or money.

    Still, could be a good sort of thing to use for the reporting whether the item was actually taken. Right now Postman will say (as MailTo did) that the message was taken even in cases when it really wasn't.




    Alright, and here is more info that anyone needs to know about mail.
    TakeInboxItem on an AH mail or mail with no bodytext (one that autodeletes when the item is taken) triggers in this order:
    mail_inbox_update
    mail_inbox_update
    bag_update
    bag_update
    update_unit_inventory

    (can you tell ive spent too much time registering events and using mail lately?)

    The problem is, depending on lag this can take anywhere from <1 second to 5 seconds in my testing. Not good, eh? Im assuming there is a "good enough" point where you could proceed but a rock hard atomic version would wait for update_unit_inventory. For a speedy app (like mouse click to take stuff shortcuts), I'm a fan of not waiting for the event and just letting it take two clicks to delete like your doing.

    Similarly, the atomic end event to taking money is PLAYER_UPDATE_MONEY.



    Similarly,
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Quote from Ammo »

    Grennon,

    tried contacting you on IRC, but you weren't there.
    Is there any reason you're not using proper AceModules?
    I can assist you in converting the whole thing to a nice AceModuleCore setup.

    -Ammo


    Postal has been a big undertaking and I've been working hard on the functionality of each of the submods before converting them to module. This was one of my hesitations for moving it to trunk. Feel free to whack at the branch code.

    I'm usually only IRC at night US/Central time.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Also, I have a proposal for dealing with "contacts". Postal_DejaVu currently remembers who you last mailed and autofills it (which works wonders with the new Postal_Express which lets you alt-click your bags empty versus doing big batch send bulkmails).

    Now pretend for a moment that DejaVu instead of saving it to a simple variable, inserts it in a table. Now pretend that when you uparrow/downarrow in the editbox, it scrolls through the names in the table.

    Now pretend there is a Postal_Storage that if available will save this list and DejaVu will use it if available so that it is using persistent data instead of session data.

    At this point, you can write your own module to display this in a window that pops up when you open the sendmail frame (a sidepanel to the mailwindow maybe like a contact list?), a dropdown box, or what have you.


    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Ill probably move the working modules into trunk tonight.
    Posted in: General AddOns
  • 0

    posted a message on Postman - Building a better mailbox
    Quote from tale »

    TakeInboxItem() is not an atomic operation, but an asynchronous request to the server to take the item. It appears that the server will ignore other TakeInboxItem requests if one is already being processed. T


    This is why postallibs' takeinboxitem wrapper register unit_update_inventory and then fires off a custom event that a submodule can listen for to trigger off before proceeding. Its not atomic but you can wrap it with an atomic function at the cost of speed.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Quote from durcyn »

    one option for bulk mail... remember the recipient and auto-send mail once the item is dropped (or alt-clicked) instead of maintaining a queue list, much the same way Fence auto posts auctions on alt click.


    Postal now does this. Its performed by the Postal_Express plugin. Now I no longer need to run bulkmail while I get my own bulkmail running.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Quote from grennon »

    Quote from durcyn »

    one option for bulk mail... remember the recipient and auto-send mail once the item is dropped (or alt-clicked) instead of maintaining a queue list, much the same way Fence auto posts auctions on alt click.


    Hrm. Currenlty there is Alt-Click to Attach in Postal_Express. I suppose there could be a flag to change this to Alt-Click to Send. Or maybe another binding altogether.

    Or maybe this could go in another module called Postal_AltSend.

    What do you guys think?


    Expounding on my own idea, how about this behavior....


    1. Postal_DejaVu already autofills the name with the guy you just mailed.

    2. Postal_Express will alt-click to attach an item to a mail.

    Solution:
    I could just add a check and if the Name box contains a name, then Express could send a mail after attaching the item.

    I think this would also tide people over until the BulkFrame is done.
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Quote from durcyn »

    one option for bulk mail... remember the recipient and auto-send mail once the item is dropped (or alt-clicked) instead of maintaining a queue list, much the same way Fence auto posts auctions on alt click.


    Hrm. Currenlty there is Alt-Click to Attach in Postal_Express. I suppose there could be a flag to change this to Alt-Click to Send. Or maybe another binding altogether.

    Or maybe this could go in another module called Postal_AltSend.

    What do you guys think?
    Posted in: General AddOns
  • 0

    posted a message on Postal (was GMail2): Updated
    Postal divides the many mail features into smaller portions and may eventually use the module system (e.g. Prat). Currently, you can delete the folder for any module you do not wish to use. There isn't a bulkmail GUI finished yet but there is a better Speedmail functionality as described below.

    Postal_Express:
    Shift_Click to get item/money from mail.
    Ctrl_Click to return item.
    If the sendmail frame is open, alt-clicking an item will attach it. If there is a name in the To: field, it will send the item to that person. Used with Postal_DejaVu this means you have a gui-less mass-mail.

    Postal_TradeBlock:
    Blocks trades while mailframe is open

    Postal_DejaVu:
    Autofills the name of the last person you mailed. UPDATED: Also remembers the last 15 people you have mailed and allows you to scroll the list with the UP/DOWN arrows in the SendMail Name Editbox. Right now this data is not saved between sessions.

    Postal_Wire:
    If the subject field is empty, this autofills it if you add money to the mail.

    Postal_Forward:
    Adds a Forward button to mails. Done but not fully tested or hardened. This should only be tested by coders who can fix bugs right now.

    Postal_OpenAll:
    This adds an "Open All" button that tries to get money/items from all your mails and purge them. By default right now, it does not attempt to purge blank mails. This may seem slower than gmail1's Open All but its because its also much safer and wait for money/item events before proceeding to next message.

    Postal_Select:
    Adds checkboxes to the inbox and Open/Return Selected buttons.

    Postal_Bulk:
    This isn't committed to branch yet. The big holdup here is the gui. I really don't to add a tab to the game mailUI for many good reasons. Here is a screenshot proving this isn't vapor. I am trying to make it like BulkMail but with hard coded lua instead of acegui. Mind you, this gui is not finished yet at all. In the meantime, DejaVu+Express offers a nice solution for sending lots of mails.

    Postal_BlackBook: new
    This is a 20 person contact list popup window. It also lets you select a mail recipient from your friends list.
    Posted in: General AddOns
  • To post a comment, please or register a new account.