• 0

    posted a message on Grid
    Quote from italospawn
    how? i don't find some settings


    /grid GridLayout lock
    Posted in: Grid & Grid2
  • 0

    posted a message on Windows 7
    From that anti-vista-drm page, it sounded like the Vista DRM was designed around getting approval to display encrypted cable content. Cable Labs in the US are notorious for being anal-retentive assholes, so it's no surprise that Vista's DRM looks the way it does.
    Posted in: General Chat
  • 0

    posted a message on Grid
    Quote from Mokhtar
    On a related note I'm not a fan of the new arena / solo / bg / etc layout configuration method, mainly because it doesn't play well with GridDynamicZoneSwitch (partly does the same thing as my plugin but in a rather less detailed way). But as I'm quite late in the process I understand it might be too late to revert back to old configuration...


    Well, the goal was to make those sort of plugins less necessary. It also turned out to be an easy way to let people hide grid for any of those conditions. There's definitely still room to go beyond it by knowing what size each BG is and recognizing wintergrasp. Also, recognizing the difference between a normal raid and a heroic raid.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from kunda
    are more separate status modules added to the core? if so, which modules will be added?


    I can't think of anything else I'd want to add.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from Pastamancer
    That looks pretty reasonable. I'll give it a go tomorrow.


    r1120 adds OnStatusEnable(status) and OnStatusDisable(status)

    function GridStatusMana:OnInitialize()
            self.super.OnInitialize(self)
            self:RegisterStatus("alert_lowMana", L["Low Mana warning"], low_manaOptions, true)
    end
    
    function GridStatusMana:OnStatusEnable(status)
            if status == "alert_lowMana" then
                    self:RegisterEvent("Grid_UnitJoined")
                    self:RegisterEvent("UNIT_MANA", "UpdateUnit")
                    self:UpdateAllUnits()
            end
    end
    
    
    function GridStatusMana:OnStatusDisable(status)
            if status == "alert_lowMana" then
                    self:UnregisterEvent("Grid_UnitJoined")
                    self:UnregisterEvent("UNIT_MANA")
                    self.core:SendStatusLostAllUnits("alert_lowMana")
            end
    end
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from Azethoth
    function GridStatusXXX:OnEnableChanged(status)
       if (db[status].enabled) then
          self:UpdateAllUnits()
       else
          self:DisableAllUnits(status)
       end
    end
    

    or something like that.


    That looks pretty reasonable. I'll give it a go tomorrow.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from Azethoth
    So finally in a nutshell is the intended behavior as follows:
    *Grid calls OnEnable() if a status is both enabled and being used.
    *Grid calls OnDisable() if a status is not both enabled and being used.
    *Based on these two calls a status is either enabled and processing whatever it needs to, or disabled since its callbacks are shut down.
    *OnDisable() includes code to send status lost as well as shutting down callbacks.


    Disabled statuses need to be handled better.

    Grid only knows when a status is registered or unregistered. It's up to the status module to do the right thing when a status is disabled. Since a status module can register multiple statuses, Grid can't just call OnEnable/OnDisable.

    An unused status will still do its thing since things other than GridFrame (notably GridAlert) can listen for status events.

    Disabling a status should send status lost and the status module should unregister any events it was using.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from Cherish
    I've been doing some searching among the settings and the available addon modules out there but can't find the answer to this.

    Is there a way to make it so that your own unit frame always shows up in the same position? For example, I'd like mine to always show up bottom-right or bottom-left so it's easier to keep an eye on myself in battlegrounds.


    Not really.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from essmene
    I meant something completely different.

    I would love to see the support for both in grid, but the current API does not support it. You have already posted a suggestion. Per forum rules post for signs / petitions are not allowed.

    Do you know of a way to make the (blizzard API) developers aware that this might be usefull in a non-obtrusive manner ?


    They know.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from essmene
    Is there a way to support the vehicle frame / Healing guid suggestion ? I am not familiar how blizzard handles those internally.


    I'm going to answer the question I think you're asking. Let me know if this is not the case.

    The WoW client has the information, it just needs to be made available to the interface. There currently isn't a reliable way for the interface (and addons) to determine the exact target of a spell being cast if there are multiple units with the same name because only the name is provided.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from Azethoth
    Just a thought: should we replicate it without the old roster dependency? I am just vaguely worried about the performance implications of everyone iterating through everything they are looking at.


    If you're looking for a specific buff (say Lifebloom), check UnitAura(unit, "Lifebloom", "HELPFUL") for anyone's lifebloom and UnitAura(unit, "Lifebloom", "HELPFUL|PLAYER") for your lifebloom and send a status gained if they have it. GridStatus won't relay the status update if none of the parameters have changed. Take a look at the new GridStatusAuras for inspiration.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Important note to status module authors:

    I have removed SpecialEventsEmbed-Auras from the unitguid branch. If you depend on it, either rewite your code so you don't use it, or embed it in your addon.


    Important note to everyone:

    I've just finished the last of the major changes before I release the unitguid branch. I'm planning to make the official release Jan 15, so translators and addon authors please be ready.
    Posted in: Grid & Grid2
  • 0

    posted a message on Grid
    Quote from Mokhtar
    Does it mean that guid version is going to get merged soon ? I didn't want to begin messing with GridDynamicLayout before the branch was deemed stable enough...


    I'm definitely not making any more changes to GridLayout before the release. The only things left on my todo list are with GridStatusAuras.
    Posted in: Grid & Grid2
  • 0

    posted a message on Addons in compilations
    Quote from Tekkub
    Uhm, are we due for a drama warning guys?


    I think we are.

    Going to lock this thread for a few days until people cool off.

    If you have something constructive to add, wait until after Dec 30 and remind me to unlock this.
    Posted in: General Chat
  • 0

    posted a message on Grid
    Translators, please start updating the unitguid branch. I have unlocked the repository.
    Posted in: Grid & Grid2
  • To post a comment, please or register a new account.