• 0

    posted a message on Grid + Line of Sight indicator
    Thanks for all the comments/help Phanx/Pastamancer.

    I think the module is mostly done, except for the enable/disable bits. Still trying to figure that one out. When exactly should these be called by the grid core? That is, what do I do on the menu to enable or disable a module?

    I guess once that's sorted, and I do a little more testing, I might post it to the SVN if anyone thinks this could be useful.

    -Pach
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid + Line of Sight indicator
    Thanks Phanx-

    That's what I already figured out from looking at ErrorMonster and some other error modules.

    A few questions:

    1) I could not get my OnEnable() method to fire. Isn't it suppose to be called by "GridCore" when my grid module should be enabled?


    2) I thought I could register for events using:

    self.RegisterEvent("UNIT_SPELLCAST_START")

    Instead, I had to create a frame and do this:

    self.EventFrame:RegisterEvent("UNIT_SPELLCAST_START")

    Why didn't the first way work for me?


    3) In battlegrounds, I had to strip off the realm name to set status for a player... Is this right? What happens in a BG if two players have the same name?


    -Pach
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid + Line of Sight indicator
    okay. i have this mostly working, but i'm having difficulty parsing the error text from UIFrameError() to determine why exactly the UNIT_SPELLCAST_FAILED event was generated. right now i'm assuming all failed spell casts were caused by LoS.

    can anyone provide an example for this?

    thanks.
    -Pach
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid + Line of Sight indicator
    would it be possible to parse the error text on a failed spell cast and determine that the spell failed due to line of sight?

    if so, could you then tie this to an indicator (say a blue box in lower right corner) that marks that player as "out of line of sight"? the indicator would need to be on a configurable length timer... say default to 2 seconds -- that is, the indicator would automatically go away after 2 seconds.

    i find that, especially in battlegrounds, i try to heal someone in range (but out of LoS) and the spell fails... but because i'm focused on my grid frame, i miss the out of LoS error, and often attempt to cast (and fail again) on the same person.

    even in raids, i sometimes miss the out of LoS error, and try to heal the same person instead of switching to someone else or moving my toon to be in LoS.

    is this something that's even possible?

    thanks.
    -Pach


    Update 3/8/08: This is now available from the SVN. There's a Wiki page on it here: http://www.wowace.com/wiki/GridStatusLineOfSight
    Posted in: Grid & Grid2
  • 0

    posted a message on Ace Updater - Empty Addon Index?
    I'm getting the following error:

    Bypassing Cache, Reloading index from http://files.wowace.com/
    Error loading addon list Object reference not set to an instance of an object.
    Auto-retry of addon list load
    Error loading addon list Object reference not set to an instance of an object.
    Complete


    any thoughts?
    -Pach
    Posted in: Updaters
  • 0

    posted a message on Grid
    Quote from maia »

    Just FYI, GridStatusHeals will be replaced by a new version using LibHealComm-3.0, therefor your code will only work for a few days. And my point is that whatever code we'd put in Grid, any time Healbot changes its API we might end up with error messages in Grid, and I don't really want Grid users to have errors popping up because another addon was changed. That's why I'm saying it's a hard choice to support proprietary code.


    A few days!??! That's AWESOME. I can't wait to test out the new Grid this week.
    Thanks for the update Maia.

    -Pach
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from maia »

    Well, adding support for parsing incoming heals sent by healbot users is always possible - it's just the question if we want to support a proprietary, undocumented protocol.


    in the Grid file \World of Warcraft\Interface\AddOns\Grid\GridStatusHeals.lua, if you change :CHAT_MSG_ADDON() function to include the following, you can get "basic" HealBot message parsing:


    function GridStatusHeals:CHAT_MSG_ADDON(prefix, message, distribution, sender)
    if prefix ~= self.name then return end

    self:Debug("OnCommReceive", prefix, message, sender, distribution)

    if prefix == "HealBot_Heals" then
    local _,_,what,who = strfind(message, ">> (.%d+) <<=>> (.+)$" )
    if (what < 1) then
    self:CancelScheduledEvent("HealCompleted_".. who)
    self:HealCompleted(who)
    else
    self:UnitIsHealed(who)
    end
    return
    end

    :
    :
    :



    I'd like to point out this is largely untested as I couldn't find anyone using HealBot...

    -Pach
    Posted in: Grid & Grid2
  • 0

    posted a message on Pet for Grid
    Quote from maia »

    Let's see if Blizzard fixed the bug in 2.3 first (or did anyone test it on the PTR yet?).


    So if it's fixed in 2.3, you're going to merge in the fixes. If it's not, you're going too...

    -Pach
    Posted in: Grid & Grid2
  • 0

    posted a message on Pet for Grid
    Quote from Jerry »

    Blizzard frames do not use this piece of code for their unit frames, AFAIK.


    I've seen this issue occur with the original Grid (ie. no pet support) when jumping into an AV, if I also have pets pulled out from the raid tab.

    If I'm in a raid, and pull out the pets tab from the generic Blizzard interface, and then sign up for an AV, I got locked up when I joined the AV. I've seen this occur several times. I also see pets showing up in the pet window as "Unknown".

    -Pach

    Posted in: Grid & Grid2
  • To post a comment, please or register a new account.