[Release] Basic Unholy Death Knight protected lua dps macro menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Clueless_noob's Avatar Contributor
    Reputation
    121
    Join Date
    Jun 2008
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] Basic Unholy Death Knight protected lua dps macro

    Code:
        /run if GetSpellCooldown("Strangulate")==0 and UnitExists("focus") and IsSpellInRange("Strangulate","focus") and (UnitCastingInfo("focus") or UnitChannelInfo("focus")) then RunMacroText("/cast [@focus] Strangulate") end;
        /run if GetSpellCooldown("Mind Freeze")==0 and IsSpellInRange("Mind Freeze","target") and (UnitCastingInfo("target") or UnitChannelInfo("target")) then CastSpellByName("Mind Freeze") end;
        /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Frost Fever" and y[8]=="player" then break else z=z+1 end end; if z>40 and IsUsableSpell("Outbreak") and GetSpellCooldown("Outbreak")==0 then CastSpellByName("Outbreak") end;
        /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Blood Plague" and y[8]=="player" then break else z=z+1 end end; if z>40 and IsUsableSpell("Outbreak") and GetSpellCooldown("Outbreak")==0 then CastSpellByName("Outbreak") end;
        /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Frost Fever" and y[8]=="player" then break else z=z+1 end end; if z>40 then CastSpellByName("Icy Touch") end;
        /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Blood Plague" and y[8]=="player" then break else z=z+1 end end; if z>40 then CastSpellByName("Plague Strike") end;
        /run local _, d, _ = GetSpellCooldown("Summon Gargoyle") if ((UnitPower("player") >= 34) and (d == 180)) then CastSpellByName("Death Coil") end;
        /run if GetSpellCooldown("Summon Gargoyle")==0 and IsUsableSpell("Summon Gargoyle") and GetSpellCooldown("Unholy Frenzy")==0 and IsUsableSpell("Unholy Frenzy") then CastSpellByName("Unholy Frenzy") end;
        /run if GetSpellCooldown("Summon Gargoyle")==0 and UnitAura("player", "Unholy Frenzy") then CastSpellByName("Summon Gargoyle") end;
        /run if IsUsableSpell("Dark Transformation") then CastSpellByName("Dark Transformation") end;
        /run if IsUsableSpell("Death and Decay") and GetSpellCooldown("Death and Decay")==0 then CastSpellByName("Death and Decay") CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end;
        /run if IsUsableSpell("Scourge Strike") and GetSpellCooldown("Death and Decay")>0 then CastSpellByName("Scourge Strike") end;
        /run if IsUsableSpell("Festering Strike") then CastSpellByName("Festering Strike") end;
        /run if UnitBuff("player","sudden doom") then CastSpellByName("Death Coil") end;
        /run if GetRuneCooldown(1)>0 and GetRuneType(1)==1 then CastSpellByName("Blood Tap") end;
        /run if GetRuneCooldown(2)>0 and GetRuneType(2)==1 then CastSpellByName("Blood Tap") end;
        /run if GetSpellCooldown("Horn Of Winter") then CastSpellByName("Horn of Winter") end

    Does 8,5k dps on my unenchanted and pvp geared (339 blues) Death Knight, with proper gear and glyphs I can see this macro performing on par with a good player or better.


    WHAT YOU NEED FOR THIS TO WORK:
    - an hack that enables protected lua api (don't know any product for windows, but if you need a plua macro there are good chances that your hack is running in the background while you're looking for a macro)
    - super duper macro, it's an addon and if you have issues updating it for 4.0 I can upload it somewhere; when in game type /sdm, create a new macro and place the macro button on your bars.. you'll need to smash that button.


    WHAT THE MACRO IS SUPPOSED TO DO:

    performs a complete unholy dps rotation including every cooldown and ability in your arsenal (unholy frenzy, summon gargoyle, DnD, blood tap) while being able to do blazing fast interrupts.

    trinket usage is left out because you might prefer to use them during burn phases


    Even if I added a lot of features, CREDIT GOES TO THIS GUY he gave me an insight on building a smaller and efficient macro instead of using stupidly long statements based on other APIs.
    Last edited by Clueless_noob; 03-31-2011 at 09:09 AM.
    Holding a sandwich in my hand.

    [Release] Basic Unholy Death Knight protected lua dps macro
  2. #2
    KuRIoS's Avatar Admin
    Authenticator enabled
    Reputation
    2984
    Join Date
    Apr 2006
    Posts
    9,811
    Thanks G/R
    353/298
    Trade Feedback
    9 (100%)
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

  3. #3
    Clueless_noob's Avatar Contributor
    Reputation
    121
    Join Date
    Jun 2008
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    updated with new macro, this thing rocks!
    Holding a sandwich in my hand.

  4. #4
    emilfriberg's Avatar Member
    Reputation
    4
    Join Date
    Jan 2008
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome! Thank you!

  5. #5
    Clueless_noob's Avatar Contributor
    Reputation
    121
    Join Date
    Jun 2008
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    UPDATE!
    fixed summon gargoyle often not being cast out when not on cooldown (my macro didn't pool rp and just dumped it on death coil)

    it'll now pool rp when summon gargoyle is not on cd and will cast death coil after triggering the summon garg cd

    enjoy
    Holding a sandwich in my hand.

  6. #6
    Pwnzor187's Avatar Master Sergeant
    Reputation
    23
    Join Date
    Jan 2011
    Posts
    78
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Soo, any free hack that enables protected lua api that can be used?

  7. #7
    TheGreatRowaH's Avatar Member
    Reputation
    47
    Join Date
    May 2008
    Posts
    377
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why do I keep getting the error
    Date: 2011-07-02 12:32:25
    ID: 5
    Error occured in: Global
    Count: 1
    Message: [string " /run if GetSpellCooldown("Strangulate")==0 and UnitExists("..."] line 1:
    unexpected symbol near '/'

  8. #8
    Stige's Avatar Contributor
    Reputation
    115
    Join Date
    May 2009
    Posts
    1,324
    Thanks G/R
    7/13
    Trade Feedback
    1 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TheGreatRowaH View Post
    Why do I keep getting the error
    Date: 2011-07-02 12:32:25
    ID: 5
    Error occured in: Global
    Count: 1
    Message: [string " /run if GetSpellCooldown("Strangulate")==0 and UnitExists("..."] line 1:
    unexpected symbol near '/'
    Shouldnt taht be ("...") and not ("..."] ?
    Super Unicum

  9. #9
    TheGreatRowaH's Avatar Member
    Reputation
    47
    Join Date
    May 2008
    Posts
    377
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind, I was just using scripts in SDM instead of button macro. Awesome job, +rep. You wouldn't happen to have a blood dk or prot warr macro would you?

    Also, is it a possibility to add in pestilence and blood boil based on nearby adds?

    EDIT: Oh lawd, might wanna remove those spaces at the beginning of /run, I ran it and it wasn't pretty.

    /run if GetSpellCooldown("Strangulate")==0 and UnitExists("focus") and IsSpellInRange("Strangulate","focus") and (UnitCastingInfo("focus") or UnitChannelInfo("focus")) then RunMacroText("/cast [@focus] Strangulate") end;
    /run if GetSpellCooldown("Mind Freeze")==0 and IsSpellInRange("Mind Freeze","target") and (UnitCastingInfo("target") or UnitChannelInfo("target")) then CastSpellByName("Mind Freeze") end;
    /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Frost Fever" and y[8]=="player" then break else z=z+1 end end; if z>40 and IsUsableSpell("Outbreak") and GetSpellCooldown("Outbreak")==0 then CastSpellByName("Outbreak") end;
    /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Blood Plague" and y[8]=="player" then break else z=z+1 end end; if z>40 and IsUsableSpell("Outbreak") and GetSpellCooldown("Outbreak")==0 then CastSpellByName("Outbreak") end;
    /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Frost Fever" and y[8]=="player" then break else z=z+1 end end; if z>40 then CastSpellByName("Icy Touch") end;
    /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Blood Plague" and y[8]=="player" then break else z=z+1 end end; if z>40 then CastSpellByName("Plague Strike") end;
    /run local _, d, _ = GetSpellCooldown("Summon Gargoyle") if ((UnitPower("player") >= 34) and (d == 180)) then CastSpellByName("Death Coil") end;
    /run if GetSpellCooldown("Summon Gargoyle")==0 and IsUsableSpell("Summon Gargoyle") and GetSpellCooldown("Unholy Frenzy")==0 and IsUsableSpell("Unholy Frenzy") then CastSpellByName("Unholy Frenzy") end;
    /run if GetSpellCooldown("Summon Gargoyle")==0 and UnitAura("player", "Unholy Frenzy") then CastSpellByName("Summon Gargoyle") end;
    /run if IsUsableSpell("Dark Transformation") then CastSpellByName("Dark Transformation") end;
    /run if IsUsableSpell("Death and Decay") and GetSpellCooldown("Death and Decay")==0 then CastSpellByName("Death and Decay") CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end;
    /run if IsUsableSpell("Scourge Strike") and GetSpellCooldown("Death and Decay")>0 then CastSpellByName("Scourge Strike") end;
    /run if IsUsableSpell("Festering Strike") then CastSpellByName("Festering Strike") end;
    /run if UnitBuff("player","sudden doom") then CastSpellByName("Death Coil") end;
    /run if GetRuneCooldown(1)>0 and GetRuneType(1)==1 then CastSpellByName("Blood Tap") end;
    /run if GetRuneCooldown(2)>0 and GetRuneType(2)==1 then CastSpellByName("Blood Tap") end;
    /run if GetSpellCooldown("Horn Of Winter") then CastSpellByName("Horn of Winter") end
    Last edited by TheGreatRowaH; 07-04-2011 at 04:52 AM.

  10. #10
    Ssateneth's Avatar Contributor
    Reputation
    142
    Join Date
    May 2008
    Posts
    866
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For those that have a viable LUA unprotection hack, be it public or private, and wish to make 1 button do (mostly) everything for you, I suggest moving away from SuperDuperMacro and towards addons such as _DevPad (my favorite) or Hack, both of which are on Curse. They are presently maintained, and don't suffer from some of the bugs SDM has (Limit of 1024 chars for a /run, frame strata suddenly going behind other stuff making it impossible to edit or drag SDM macros to your bars, etc). They can also be called via /hack <name of your script goes here> or Hack or /pad <stuff> for Devpad in chat commands or inside a macro.

    I'm probably going to start helping people again with their macros/scripts so they can get it to do what they want, but no guarantees. I'm sure some people have seen my arms warrior script for devpad and can vouch for my quality/solutions.
    KuRIoS is awesome!

  11. #11
    Sikas's Avatar Active Member
    Reputation
    69
    Join Date
    Feb 2007
    Posts
    386
    Thanks G/R
    6/2
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ssateneth View Post
    For those that have a viable LUA unprotection hack, be it public or private, and wish to make 1 button do (mostly) everything for you, I suggest moving away from SuperDuperMacro and towards addons such as _DevPad (my favorite) or Hack, both of which are on Curse. They are presently maintained, and don't suffer from some of the bugs SDM has (Limit of 1024 chars for a /run, frame strata suddenly going behind other stuff making it impossible to edit or drag SDM macros to your bars, etc). They can also be called via /hack <name of your script goes here> or Hack or /pad <stuff> for Devpad in chat commands or inside a macro.

    I'm probably going to start helping people again with their macros/scripts so they can get it to do what they want, but no guarantees. I'm sure some people have seen my arms warrior script for devpad and can vouch for my quality/solutions.
    I've seen and used Ssateneth's Arms Macro.. and it's a damn beast. I've actually learned mostly from his work. If anyone needs help, he's definitely the person you want to talk to.

    Though, I can help out as well if people need it. If you have requests, I suggest at least giving us an outline of what you want it to do. A priority list would work. I personally use SuperDuperMacro. :P

  12. #12
    nick_533's Avatar Member
    Reputation
    1
    Join Date
    Sep 2007
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Everything works in order, except wont cast deathcoil and dk is sitting at full power

  13. #13
    Sikas's Avatar Active Member
    Reputation
    69
    Join Date
    Feb 2007
    Posts
    386
    Thanks G/R
    6/2
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nick_533 View Post
    Everything works in order, except wont cast deathcoil and dk is sitting at full power
    The macro will only cast Death Coil if you have a Sudden Doom proc, otherwise it won't cast it.
    -> /run if UnitBuff("player","sudden doom") then CastSpellByName("Death Coil") end;

    This should fix what you're looking for, place this line of code below the current Death Coil line. It should work.
    -> /run if GetSpellCooldown("Death Coil")==0 then CastSpellByName("Death Coil") end;
    Last edited by Zoidberg; 07-12-2011 at 05:57 AM.

  14. #14
    nick_533's Avatar Member
    Reputation
    1
    Join Date
    Sep 2007
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep that worked. Also instead of spamming ourself this macro, any autoscript to run it non-stop ?

    EDIT: got it done with autoit key spam!
    Last edited by nick_533; 07-06-2011 at 08:31 PM.

  15. #15
    Yangpa's Avatar Private
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could u make a frost dk 1 plezz, sorry for the request

Page 1 of 2 12 LastLast

Similar Threads

  1. [Selling] ilvl 533 Unholy Death Knight (H)
    By Ashbank in forum WoW-US Account Buy Sell Trade
    Replies: 3
    Last Post: 07-21-2013, 03:00 AM
  2. [unholy death knight] start a BG with a powered up ghoul
    By smeata in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 11-22-2010, 12:29 AM
  3. [Help] 3.1 Unholy Death Knight Tank Spec
    By Novalok in forum WoW UI, Macros and Talent Specs
    Replies: 3
    Last Post: 05-29-2009, 11:50 PM
  4. [Unholy] Death Knight no durability loss.
    By halofan619 in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 11-14-2008, 10:55 PM
All times are GMT -5. The time now is 11:03 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search