Close
Showing results 1 to 10 of 23

Threaded View

  1. #8

    Default

    Quote Originally Posted by shadewalker View Post
    Would it be possible to include the wowmacro key combos in the output table as well?
    Hey there, Shadewalker,

    You'll be happy(but maybe confused) to hear that they're already there! If you search the code for "'Search WoW Macros" you'll find the section where it parses the macro combos. It *should* be listing them in the grid for you. I explain below...

    I have gone thru the code to see if i could follow exactly where it "decides" if a key combo is output to the table on the second sheet. If i am following it correctly, all the key combos get added to the MapArray variable. I am assuming that the whole MapArray variable is sent to the FIllGrid subroutine.
    The MapArray collects every combo, duplicates and all, one at a time as it finds them. That's the starting point. Then in "'find duplicates" it fills the DuplicateArray with a list of combos that appear more than once in MapArray. In FillGrid every MapArray combo is going to be sent to the grid, but first it's checked against the DuplicateArray to see if it has been flagged as a duplicate. If so, it gets colored red. If not, green, or yellow if it's an FTL combo.


    I just can (can't) follow exactly how the FillGrid sub determines what is a keymap to be output to the table and what is not.
    Here's where you may be getting confused. ALL combos get sent to the grid, it's just that duplicates get written into the same cell, with the last duplicate overwritting any previous entries in that cell. Since this first version of my parser is just to locate duplicates and show you what combos have been used or not, I didn't make this an exploded view of all key maps, just all distinct combos. So your WoW Macro combos may just be there, but covered up by a duplicate. (What I could do is populate a comment for cells that have more than one virtualized key map sitting in it.)

    Do a self test: Make up a macro and assign it a combo you know to be unused (by virtue of it being blank in the grid). Save your config and go load it in the parser. If that combo does not come up in the grid then please reply with the following:
    • What macro and combo you're trying to use
    • Use the instructions in the first post above to link your config

    and I'll take a look.
    Last edited by Fogyreef : 05-01-2012 at 10:08 PM Reason: Clarifications

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •