• 0

    posted a message on Unshared Libraries
    I understood it to mean that there would be shared methods, as opposed to full on libraries. But I'm not sure I got that right. Something like...

    BigOleSharedCodeLibrary = GetInstanceOfBigOleSharedCodeLibrary
    if BigOleSharedCodeLibrary.SomeUsefulMethodSoemoneWrote then
        BigOleSharedCodeLibrary.SomeUsefulMethodSoemoneWrote()
    end
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hermes: The great messenger of your raid's cooldowns
    I'm experimenting with "compact", "out of the way", "not annoying", "not your typical timer bar" UI improvements for Hermes.

    I'm after suggestions.

    Only things I feel strongly about (besides what I said above) are that the core feel should remain buttons. So any new behavior should complement or extend it.

    I initially toyed with making the tooltip "lock" for a spell but quickly realized that solution would be limited to only "locking" one spell.

    My high level thought right now is to allow dragging buttons out of the frame and placing them "where ever" on your screen.

    Here's a quick video I made experimenting with drag and drop so you can see what I mean:

    http://www.youtube.com/watch?v=uLGIM9EaG3I

    Spells that got pulled out of the main frame will show more info without the need to hover over the spell.

    For example. If [S] represents the button/icon, and there are 5 players with the spell, then perhaps the dragged out button would show the top 3 available/available soon spells:

    [S][Player1 Ready]
       [Player2 0:34]
       [Player3 1:03]
    


    No timers, no fancy textures. It'll would very likely be completely transparent names with the time next to them (or an icon to represent status instead of "Ready")

    Of course, supporting alternate layouts would seem beneficial as well:

    [S][Player1 Ready][Player2 0:34][Player3 1:03]
    


    And perhaps compact options where the widths are controlled by the user rather than the length of the player names:

    [S][Pla.. Ready][Pla.. 0:34][Pla.. 1:03]
    


    [S][Pla.. Ready]
       [Pla.. 0:34]
       [Pla.. 1:03]
    


    Another option:
    [S][Player1][Player2][Player3]
          Ready    0:34     1:03
    
    or
    
    [S][Pla...][Pla...][Pla...]
         Ready   0:34   1:03
    


    The size of the icon would be smaller when popped out. Additional I need to make sure these actions can be taken while in combat. The only restriction I'm familiar with is that new frames cannot be created in combat.
    Posted in: General AddOns
  • 0

    posted a message on Hermes: The great messenger of your raid's cooldowns
    r20 (once built) should have a fix in for Battlefield issues.

    Note that I am nearly certain it will not communicate to senders in different realms because I utilize whispers as necessary to keep bandwidth down and I believe you need the players realm name. But I do believe it will work for players on the same realm. I was only able to go in solo. But I tested in AV and SOTA (since you specifically mentioned that one). It picked up my spells just fine (Hermes doesn't internally know that I am both the sender and receiver) and no errors.

    I did notice a "player not in your party" message when I dropped the battlefield and it's a timing issue I might spend time on at some point.
    Posted in: General AddOns
  • 0

    posted a message on Hermes: The great messenger of your raid's cooldowns
    Thanks for the reply, I completely spaced on BG's/BF's/Arenas. I'll fix it.
    Posted in: General AddOns
  • 0

    posted a message on LibQTip
    AMG! Many thanks!!
    Posted in: Libraries
  • 0

    posted a message on LibQTip
    I'm a very happy user of LibQTip in Hermes. It met my needs well and was very easy to integrate. Thanks very much for your work!

    One small feature request (I apologize if this is not the proper place), if you check out this screenshot, I'd really like a way for a row to be able to span multiple columns. Even if it's only supported for header rows:



    I made it work, but I would have preferred to have one more cell to the left before the player names. Instead I settled for what you see.

    In other words, I was trying to accomplish this:
    [------------------]
    [Lay on Hands      ]
    [C1][C2][C3][C4][C5]
    [C1][C2][C3][C4][C5]
    [------------------]


    But I ended with this:

    [------------------]
    [C1][C2][C3][C4][C5] <-- header row where C1 is the spell name
    [C1][C2][C3][C4][C5] <-- normal rows
    [C1][C2][C3][C4][C5]
    [------------------]


    Is there an approach I missed that I should be using? I didn't try cell providers but it didn't appear to have any answers.
    Posted in: Libraries
  • 0

    posted a message on Hermes: The great messenger of your raid's cooldowns
    I just checked in revision r19 that gives two options to control spell hiding. One for spells with no senders and another for spells where all known senders are dead, disconnected, or in a different zone. This cleans things up nicely and still allows, for example, raid leaders the option to see whether there is someone with a cooldown that should be ressed before someone else.

    On the display topic...
    I opted for buttons because it's easy to control the layout and I was also able to avoid reinventing the wheel in a few places. It saved time and made the product simpler.

    Typically with timer bars you're forced into some sort of vertical stacking like this:

    [ spell1                ]
    [ spell2                ]
    [ spell3                ]
    [ spell4                ]
    [ spell5                ]
    [ spell6                ]


    There's no reason you couldn't do them horizontally but it's not common to do that.

    I liked the options buttons gave me:

    [ s1 ]
    [ s2 ]
    [ s3 ]
    [ s4 ]
    [ s5 ]
    [ s6 ]
    
    
    [ s1 ][ s2 ][ s3 ][ s4 ][ s5 ][ s6 ]
    
    [ s1 ][ s2 ]
    [ s3 ][ s4 ]
    [ s5 ][ s6 ]


    Compare those two code blocks and you can see the compact qualities of the buttons pretty quick. I think what I'm saying is, I surprised myself how much I liked the button approach here.
    Posted in: General AddOns
  • 0

    posted a message on problem with GetBattlefiledscore function
    nope! He swings, he misses!
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hermes: The great messenger of your raid's cooldowns
    Can I ask those with display concerns about display style, how many spells you might intend to to track? I actually put a lot of thought into the design trying to keep things compact and out of the way, yet still useful enough.

    I was picturing healers/tanks would watch an average of 5, with raid leaders possibly exceeding 10.
    Posted in: General AddOns
  • 0

    posted a message on Hermes: The great messenger of your raid's cooldowns
    I'm listening very closely, thanks for the posts.

    I'll have an option to hide unavailable spells in the short term. But I don't have any plans to change display style. I originally had grand plans of having pluggable displays but I reminded myself that having a working addon sooner is more important.

    This addon is VERY new. If people like it, and it proves useful/reliable in heavy raid environments, I'll invest all the time needed.

    For now I would like to let it marinate and see what the feedback is. Thanks again, I was wondering how many people would have strong distaste for the button style.
    Posted in: General AddOns
  • 0

    posted a message on Hermes: The great messenger of your raid's cooldowns
    Project page

    Hermes shares cooldown information between players and displays that information in the style of action buttons.

    Similar to oRA3 but with some advantages.

    Screenshot to set the concept:


    This is the result of some of my questions in this thread: http://forums.wowace.com/showthread.php?t=18900&highlight=comm

    Features

    * ButtonFacade support.
    * OmniCC, CooldownCount, and tullaCooldownCount support (and likely others).
    * Cooldown and Count indicators (similar to a regular action button).
    * Player deaths, connection issues, and current zone are all taken into account.
    * Tooltip provides detailed player/spell status.
    * Choose to send and/or receive. (cuts down on chatter/bandwidth if you only need to do one or the other).
    * Sufficient UI config options.
    * Auto hides itself when not in raid or party environment (optional)
    * Ability to input spell name or spellid (will warn you if a spell name results in an ambiguous spellid).
    * Localized (contribute here: http://wow.curseforge.com/addons/hermes/localization/)
    Posted in: General AddOns
  • 0

    posted a message on problem with GetBattlefiledscore function
    I use this method a lot to trim spaces from a string

    local function Trim (s)
    return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
    end
    Posted in: Lua Code Discussion
  • 0

    posted a message on problem with GetBattlefiledscore function
    Quote from melchior5387
    sorry i only intend to show the problem quickly

    for the "==" I know it won't work because if the player carrying the flag is in another server getbattlefieldscore returns Name-Server but may be I can format to keep only Name I'm going to try thank you


    Oh good point. You should still consider tightening down the comparison using whatever means you find best. Even doing a left comparison, or ensuring that CarrierName[1] contains the server name so that == will work, etc.

    Good luck :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on problem with GetBattlefiledscore function
    Nothing else jumps out at me as an obvious issue, except for the string comparison.
    Posted in: Lua Code Discussion
  • 0

    posted a message on problem with GetBattlefiledscore function
    Even though you don't think it's the problem, fix the comparison check, because it's a real problem.

    Then just retest and see what happens. If it's still an issue then post your unmodified code. I realize you were just trying to make it more clear but it could be that the problem is in your real code, not the modified code you posted.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.