IHML - I Have Macro Lol!

11 - DBM Support

Please add automatic switching support for Deadly Boss Mods.

Name Size MD5
IHML.lua 27.9 KiB 43ff6cc115c4...
User When Change
Ackis Aug 30, 2010 at 15:01 UTC Changed status from Accepted to Started
Ackis Jun 08, 2009 at 19:37 UTC Changed status from Invalid to Accepted
Ackis May 29, 2009 at 21:08 UTC Changed status from New to Invalid
Graveeater Mar 06, 2009 at 22:38 UTC

Added attachment IHML.lua

Ackis Mar 01, 2009 at 07:56 UTC Changed assigned to from Ackis to None
Graveeater Feb 25, 2009 at 16:30 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 9 comments
  • Avatar of Ackis Ackis Aug 30, 2010 at 15:02 UTC - 0 likes

    Exeglow_x, I just added in the code that Graveeater added in. If you want to submit a patch or do a push yourself to get it working.

    BFAK:Ackis,90710388,2f62cbb4c100385c86df0c1418f5ac5a2cb1a2bc3f2a18f13291792dbb3a1480

  • Avatar of Everglow1 Everglow1 Aug 30, 2010 at 06:30 UTC - 0 likes

    Something like this might work:

    local function movin_on(bossname)
       for i,v in pairs (IMHL_Bosstable)
          if v=bossname then nextboss=IMHL_Bosstable[i+1]
       end
       newmacro = IHML_Bossmacros[nextboss]
    end
    
    DBM:RegisterCallback("kill", movin_on(...) end)
    

    IMHL_Bosstable would be an ordered table of bosses and IHML_Bossmacros would be a table of macros indexed by bossname.

  • Avatar of Freydis88 Freydis88 Aug 08, 2009 at 06:10 UTC - 0 likes

    I use DBM, so if there is anything I can do concerning support, please let me know. FYI: I use the German client.

    Greetings from Germany ;-)

    George Orwell:


    "Political language is designed to make lies sound truthful and murder respectable,

    and to give the appearance of solidity to pure wind."

  • Avatar of Graveeater Graveeater Mar 24, 2009 at 15:27 UTC - 0 likes

    Well, all my research has not produced anything valueable yet, the file is probably better than nothing, but it is far from good. Anyways I have changed to BigWigs (other reasons) again so I'm afraid I won't do much on this topic.

  • Avatar of Graveeater Graveeater Mar 11, 2009 at 03:12 UTC - 0 likes

    No Problem Ackis, i have not been very productive at all.

    My next attempt probably will be DBM:StartCombat but I am afraid this will be too late to change the macro. Maybe I will ask the DBM team for help tomorrow.

  • Avatar of Ackis Ackis Mar 10, 2009 at 05:19 UTC - 0 likes

    Sorry for the response delay, send me a PM on the WoWAce forums please. :)

  • Avatar of Graveeater Graveeater Mar 06, 2009 at 22:37 UTC - 0 likes

    The Bad News: DBM will call NewMod for all Bosses of the instance at the same time (when zoning in I suppose) (tested with CoA:Obsidian)

    The Good News: I think it will work for Instances with only one Boss (Malygos, Maghteridon, Onyxia). Not sure about World-Bosses though.

    Edit: Created attachment of modified IHML.lua, I would recommend to let Ackis check it though before using.

  • Avatar of Graveeater Graveeater Mar 06, 2009 at 21:11 UTC - 0 likes

    Well, I don't know if I can do it, but i'll try anyway. Do you have some hints?

    As far as I can see, you use some AceEvent-2.0 features for BigWigs support, since DBM is not Ace I fear I nead a different approach.

    I am currently trying to hook DBM:NewMod, though im not sure when this gets called.

  • Avatar of Ackis Ackis Feb 25, 2009 at 16:43 UTC - 0 likes

    I don't use DBM myself, so if someone wants to submit a patch to get IHML working with it, feel free. Otherwise I won't be adding support in for it.

  • 9 comments

Facts

Last updated
Mar 30, 2012
Reported
Feb 25, 2009
Status
Started - Work on this issue has begun.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
4

Reported by

Possible assignees