| | UI & Macro Discussions Talk about User Interface upgrades and World of Warcraft Macros here. [Questions allowed here] |  | | 
08-21-2009
| | New User | | | Join Date: Apr 2006
Posts: 16
Reputation: 1 Level up: 52%, 243 Points needed | | | Quote:
Originally Posted by johm2 I have not had a chance to test it, just threw this together with the little coding knowledge I have. Code: /dump loadstring("local c,_,_,_,_,_,_,_,_=UnitDebuff(\"party\", 1); if c==\"Polymorph\" or c==\"Fear\" then CastSpellByName(\"Cleanse\") end")()
EDIT: Didn't realize that the \ were required :-/. This gets an empty result in-game now so I'm assuming it works.
And to contribute my own /dump macro. Edit the red text with your own mounts. Will mount flying mount if you can else your ground mount. (I know there are other, easier ways I just wanted to learn how to write my own. Code: /dump loadstring("local f=(IsFlyableArea()) if f==1 then CastSpellByName(\"Bronze Drake\") else CastSpellByName(\"Ice Mammoth\") end")()
| Many thanks Johm, I'll go test it for you in game right now (The cleanse macro that is). Just one question, will this auto-target and cleanse the individual being feared/poly'd? I was able to make a working macro before that detected and cleansed however you had to target the individual for it to work. | Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx. 
08-21-2009
| | New User | | | Join Date: Apr 2006
Posts: 16
Reputation: 1 Level up: 52%, 243 Points needed | | | Tried the cleanse macro in game, appears to do nothing at all, even if you click the individual it wont cleanse them  . | 
08-21-2009
| | New User | | | Join Date: Aug 2009
Posts: 16
Reputation: 1 Level up: 21%, 319 Points needed | | | Hey, well i came across a couple more.
this one is for mages who can deep freeze rogues out of vanish. ( Can also fireblast them out of vanish if you don't want to wait for fof) Code: /dump loadstring("if (UnitBuff(\"target\", \"Vanish\")) then TargetUnit(\"target\") CastSpellByName(\"Deep Freeze\") TargetLastTarget() end")()
Im currently trying to fix this one its for rogues to instant blind other players who trinket under set focus and regular.
This is what i have so far. Code: #showtooltip Blind
/dump loadstring("if (UnitBuff(\"target\", \"PvP Trinket\")) then TargetUnit(\"target\") CastSpellByName(\"Blind\") TargetLastTarget() end")()
you can also make it so warriors can rush rogues out of vanish with the above macro or throw weapon them just replace Deep freeze with the move.
Im trying to make a rogue FOK out of vanish macro this is what i got so far Code: /dump loadstring("if (UnitBuff(\"target\", \"Vanish\")) then TargetUnit(\"target\") CastSpellByName(\"Fan of Knives\") TargetLastTarget() end")()

Blind one works fine by the way.
Last edited by pkaa4eva_jr; 08-21-2009 at 02:20 PM.
| 
08-21-2009
|  | Site Donator | | | Join Date: Nov 2007
Posts: 141
Reputation: 12 Level up: 83%, 86 Points needed |   | | Quote:
Originally Posted by dirdir207 Many thanks Johm, I'll go test it for you in game right now (The cleanse macro that is). Just one question, will this auto-target and cleanse the individual being feared/poly'd? I was able to make a working macro before that detected and cleansed however you had to target the individual for it to work.  | Care to share that one? Interested to see how it works. | 
08-21-2009
| | New User | | | Join Date: Apr 2006
Posts: 16
Reputation: 1 Level up: 52%, 243 Points needed | | | | The macro I made is extremely similar to yours.
/dump loadstring("if(UnitDebuff('party','Fear'))==exists then CastSpellByName('Cleanse') end") ()
Its the only one that I have tested thus far that has actually even attempted at casting cleanse, but you have to be targeting the individual. Your macro did the same thing as the first cleanse macro that was posted, which is curiously nothing at all, even when targeting the individual. Also the macro I made was fear only just for the purposes of testing. Perhaps if we could somehow modify this one to actually target the party member with the debuff it would work, however, after looking back and forth over all the WoW api commands I cant for the life of me figure out how to make this work. | 
08-21-2009
| | New User | | | Join Date: Aug 2009
Posts: 6
Reputation: 1 | | | I was under the impression that this was fixed in the patch Tuesday? Perhaps I was wrong.. | 
08-21-2009
| | New User | | | Join Date: Nov 2008
Posts: 11
Reputation: 1 | | I've tried to use the hunter macros and turn them into a working Ret Paladin pvp dps cycle but i cant seem to get it working heres what it looks like. Code: Macro 1: "1"
/dump loadstring("local p = ((UnitHealth(\"Target\") / UnitHealthMax(\"Target\")) * 100) if (p < 20) then RunMacro(\"2\") else RunMacro(\"3\") end") ()
Macro 2: "2"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Hammer of Wrath\") if (a == 0) then CastSpellByName(\"Hammer of Wrath\") else RunMacro(\"3\") end") ()
Macro 3: "3"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Crusader Strike\") if (a == 0) then CastSpellByName(\"Crusader Strike\") else RunMacro(\"4\") end") ()
Macro 4: "4"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Judgement of Justice\") if (a == 0) then CastSpellByName(\"Judgement of Justice\") else RunMacro(\"5\") end") ()
Macro 5: "5"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Divine Storm\") if (a == 0) then CastSpellByName(\"Divine Storm\") else RunMacro(\"6\") end") ()
Macro 6: "6"
/dump loadstring("if (UnitBuff(\"player\", \"Art of War\")) then RunMacro(\"7\") else RunMacro(\"1\") end") ()
Macro 7: "7"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Exorcism\") if (a == 0) then CastSpellByName(\"Exorcism\") else RunMacro(\"1\") end") ()
this does nothing at all, so i thought my macro 1 was messed up somehow so i made this as a cycle Code: Macro 1: "1"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Crusader Strike\") if (a == 0) then CastSpellByName(\"Crusader Strike\") else RunMacro(2) end") ()
Macro 2: "2"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Judgement of Justice\") if (a == 0) then CastSpellByName(\"Judgement of Justice\") else RunMacro(3) end") ()
Macro 3: "3"
/dump loadstring("local _,a,_ = GetSpellCooldown(\"Divine Storm\") if (a == 0) then CastSpellByName(\"Divine Storm\") else RunMacro(1) end") ()
but all this will do is hit Crusader Strike every time the cooldown is up, what am i doing wrong can someone correct this code for me plz? | 
08-22-2009
|  | Master Sergeant | | | Join Date: May 2007
Posts: 100
Reputation: 12 Level up: 13%, 438 Points needed |    | | WTB priest /dump macros  (((((
__________________ Scammed Accounts : 2 Scammed Gold : 2000 | 
08-23-2009
| | Sergeant | | | Join Date: Aug 2008
Posts: 53
Reputation: 23 Level up: 70%, 150 Points needed |    | | | I can attest that the Rogue macros are broken/too long at times. At least for combat anyways. | 
09-08-2009
| | Master Sergeant | | | Join Date: Aug 2007
Posts: 119
Reputation: 9 Level up: 45%, 278 Points needed |   | | | This is funny, after looking at some of the changes they made to the dump command it seems like they went right after my .toc changing. (was a download in the original thread)
Im glad someone knows their own software.
__________________ http://darkness.imageboard4free.com/ | 
09-11-2009
| | New User | | | Join Date: Aug 2009
Posts: 21
Reputation: 1 Level up: 17%, 333 Points needed | | | | sweat deal mate | 
09-12-2009
| | New User | | | Join Date: Oct 2007
Posts: 34
Reputation: 4 Level up: 24%, 380 Points needed |  | | Quote:
Originally Posted by madroxic Macro 1: "1":
/dump loadstring("if(UnitDebuff('target','Curse of the Elements'))==exists then CastSpellByName('Curse of the Elements')else RunMacro(2) end") ()
Macro 2: "2":
/dump loadstring("local _,_,_,_,_,_,_,caster,_ = UnitDebuff(\"target\", \"immolate\")if(caster~=\"player\")then CastSpellByName(\"immolate\")else RunMacro(3) end") ()
Macro 3: "3":
/dump loadstring("local _, d, _ = GetSpellCooldown(\"conflagrate\") if (d == 0) then CastSpellByName(\"conflagrate\") else RunMacro(4) end") ()
Macro 4: "4":
/dump loadstring("local _, d, _ = GetSpellCooldown(\"chaos bolt\") if (d == 0) then CastSpellByName(\"chaos bolt\") else RunMacro(5) end") ()
Macro 5: "5":
/cast incinerate
Macro 6: "6":
/dump loadstring("if ((UnitPower(\"player\") < 4000)) then RunMacro(7) else RunMacro(1) end") ()
Macro 7: "7":
/dump loadstring("if UnitHealth(\"Player\") > 15000 then CastSpellByName(\"Life Tap\") else RunMacro(\"1\") end") () | First of all, this all sounds really nice and I have to thank you all for these nice macros. Iam interesting in the destro dps cycle and did test already the hunter dps macro which works excellent and rep to kipsor here, thx a lot.
I have problems with the destro dps macro cycle, when i press the macro 6 (spammable macro), nothing happens. Since i dont have problems with the hunter macros I wonder why i cant run the destro version. I did name the macros 1 or 2 or 3 and so on...
The individual macros work all except macro 6 for the spam....dont know whats up with macro 6 here.
Btw, is it possible to use the UH DK macros just for a blood build...?
Thx a lot
Last edited by duddle; 09-12-2009 at 11:16 PM.
| 
09-13-2009
| | Corporal | | | Join Date: Apr 2007
Posts: 18
Reputation: 8 Level up: 43%, 288 Points needed |  | | Quote:
Originally Posted by duddle First of all, this all sounds really nice and I have to thank you all for these nice macros. Iam interesting in the destro dps cycle and did test already the hunter dps macro which works excellent and rep to kipsor here, thx a lot.
I have problems with the destro dps macro cycle, when i press the macro 6 (spammable macro), nothing happens. Since i dont have problems with the hunter macros I wonder why i cant run the destro version. I did name the macros 1 or 2 or 3 and so on...
The individual macros work all except macro 6 for the spam....dont know whats up with macro 6 here.
Btw, is it possible to use the UH DK macros just for a blood build...?
Thx a lot | Macro 6 and 7 are linked together for lifetap, I''m not certain but it seems it will only life tap if your HP is greater then a certain amount. | 
09-13-2009
|  | Contributor | | | Join Date: Sep 2006
Posts: 318
Reputation: 126 Level up: 19%, 571 Points needed |     | | | Anyone experienced in these /dump macros mind testing this in the 3.2.2 PTR? Getting an error and spam in chat when using these macros (mainly hunter one i've been testing) | 
09-13-2009
| | New User | | | Join Date: Oct 2007
Posts: 34
Reputation: 4 Level up: 24%, 380 Points needed |  | | Quote:
Originally Posted by sh00k Macro 6 and 7 are linked together for lifetap, I''m not certain but it seems it will only life tap if your HP is greater then a certain amount. | Well it doesnt work at all, when i press macro 6 (spamm macro) nothing happens. But the single macros 1-7 (except 6) work when i press them. |  | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -4. The time now is 08:26 PM. |