1. #3741
    Need Help of the Following Macros:

    This is a set of Macros that I use to monitor specified BUFFs. But when I run it, I find I can't change Talent anymore, and a message pops up saying that it conflicts with Blizzard UI and I need to disable it. Anyone can help me with it? I don't wanna use Addons. Thanks a lot (Hope my English works, haha)

    /run bl={57934,51713,5171,73651,31224,5277,1966,74001,11426,543,12472}

    /run bs=28;xb=-208;yb=170;br=6;bdr="BORDER"be="UNIT_AURA"cbf=CreateFrame;gi=GetSpellInfo;bm=math.ceil;fm= math.floor;st=STANDARD_TEXT_FONT;function cu(s) return UnitBuff("player",gi(s))end

    /run function Cb(i,s)local _,_,t3=gi(s)local f=cbf("Frame")f:SetSize(bs,bs)f.t=f:CreateTexture(nil,bdr)f.t:SetAllPoints(true)f.t:SetTex ture(t3)f.f=f:CreateFontString(nil,bdr)f.f:SetFont(st,12,"OUTLINE")f.f:SetPoint("BOTTOMRIG HT",0,0)return f;end

    /run function vb(s,i,row)local b1,_,_,b4=cu(s)local f=_G["B"..i]if b1 then f:Show()f:SetPoint("CENTER",xb+(bs+5)*bm((row-1)%br),yb-(bs+10)*bm(row/br))if(b4>1)then f.f:SetText(b4)end row=row+1;end return row;end

    /run function ub()for i,s in ipairs(bl)do local b,_,_,_,_,_,k=cu(s)if b then local vt=fm(k-GetTime())if (vt>=60)then vt=bm(vt/60)_G["B"..i].c:SetText(vt.."m")elseif vt >= 0 then _G["B"..i].c:SetText(vt.."s")end end end end

    /run function Cc(f)f.c=f:CreateFontString(nil,bdr)f.c:SetFont(st,14,"OUTLINE")f.c:SetPoint("CENTER",0,20 )end function db()for i in ipairs(bl)do _G["B"..i]:Hide()end end

    /run for i,s in ipairs(bl)do _G["B"..i]=Cb(i,s)Cc(_G["B"..i])_G["B"..i]:Hide()end function bb()db()local bw=1;for i,s in ipairs(bl)do bw=vb(s,i,bw)end end bk=cbf("Frame")bk:SetScript("OnEvent",bb)bk:SetScript("OnUpdate",ub)bk:RegisterEvent(be)
    Last edited by mchwxj; 2012-09-20 at 02:23 PM.

  2. #3742
    Quote Originally Posted by mchwxj View Post
    Need Help of the Following Macros:

    This is a set of Macros that I use to monitor specified BUFFs. But when I run it, I find I can't change Talent anymore, and a message pops up saying that it conflicts with Blizzard UI and I need to disable it. Anyone can help me with it? I don't wanna use Addons. Thanks a lot (Hope my English works, haha)

    In addition, as I need to click all of these seven Macros when I log in game. I find system will pop up error message as following every time I hit the last Macro. Is this the problem of the last Macro that makes me unable to change Talent?
    You're basically just running an addon via macros. This patch, it seems pretty much every addon, even those up to date, are causing issues with changing glyphs and talents. The only way I've been able to work around this is to r-click the talent/glyph you want to change out initially, and then select a new one. Occasionally this does not work either, then a reload is required.

    Someone who knows LUA better than I might be able to debug your code, but that's the workaround I've been using.

  3. #3743
    Deleted
    /cancelaura Moonkin Form
    /cast [@mouseover] Wild Charge

    using this macro at the moment to use the caster form of wild charge (intervene for druids). Is there a way to make the macro so it doesnt run unless you are in the correct range of your mouseover target? (between 5 and 25, just under 25 works as well seing as minimum range usually isnt the problem).

  4. #3744
    Quote Originally Posted by Davoo2080 View Post
    /cancelaura Moonkin Form
    /cast [@mouseover] Wild Charge

    using this macro at the moment to use the caster form of wild charge (intervene for druids). Is there a way to make the macro so it doesnt run unless you are in the correct range of your mouseover target? (between 5 and 25, just under 25 works as well seing as minimum range usually isnt the problem).
    Macros can't check range.

    I don't know if this is useful to you, but you could use this macro to accomplish the same thing, but from any form:

    Code:
    /cancelform
    /cast [@mouseover] Wild Charge
    Last edited by Squirl; 2012-09-20 at 10:08 PM.

  5. #3745
    So Im looking for a macro that casts Power Word: Shield on my target if I have one, pressing alt will PW: S myself and if I have a mouseover target it casts on that target.
    So far what I have is:

    #showtooltip Power Word: Shield
    /cast [nomod] Power Word: Shield
    /cast [modifier:alt,target=player] power word: shield; [target=mouseover] power word: shield

    All others seem to be working fine except that mouseover part. Is it even possible to have all that stuff in one macro?

  6. #3746
    Quote Originally Posted by Hnngh View Post
    So Im looking for a macro that casts Power Word: Shield on my target if I have one, pressing alt will PW: S myself and if I have a mouseover target it casts on that target.
    So far what I have is:

    #showtooltip Power Word: Shield
    /cast [nomod] Power Word: Shield
    /cast [modifier:alt,target=player] power word: shield; [target=mouseover] power word: shield

    All others seem to be working fine except that mouseover part. Is it even possible to have all that stuff in one macro?
    Code:
    #show
    /use [mod:alt,@player][@mouseover,help,nodead][]Power Word: Shield

  7. #3747
    Quote Originally Posted by Newbie95816 View Post
    Code:
    #show
    /use [mod:alt,@player][@mouseover,help,nodead][]Power Word: Shield
    Thanks alot!

  8. #3748
    Is it possible to announce different things to the raid with an alt modifier? I'm trying to make a macro that uses last stand on click and rallying cry on alt+click, and then announce in /p or /raid which ability is cast like so:
    Code:
    #showtooltip
    /cast [mod:alt]Rallying Cry; Last Stand
    if Rallying Cry -> /raid Rallying Cry up for X seconds.
    if Last Stand -> /raid Last Stand up for X seconds.

  9. #3749
    Pandaren Monk Ettan's Avatar
    10+ Year Old Account
    Join Date
    Oct 2011
    Location
    Kekistan
    Posts
    1,937
    One that combines feign death + a gear swap, possibly using a modifier?
    Currently I use two buttons for this and that is working decently, I would love to have it cut down tho as I am rather full on binds as it is.
    I use it in bgs on my 70 twink, fd in combat + swap to a much higher resi/stam set when I am being heavily focused.
    I do need to spam the equipment set to make it work however...

  10. #3750
    Deleted
    Quote Originally Posted by arons4 View Post
    Is it possible to announce different things to the raid with an alt modifier? I'm trying to make a macro that uses last stand on click and rallying cry on alt+click, and then announce in /p or /raid which ability is cast like so:
    /run commands aren't exactly my strong side, so this is the best I could come up with, it announces it as a yell though (you can change it by replacing the "yell" in the end with "party" or "raid" depending on where you want to announce it)
    And it'll trigger the announcement even if the spell you try to cast is on cooldown or something.
    Code:
    #showtooltip
    /cast [mod:alt]Rallying Cry; Last Stand
    /run SendChatMessage(IsAltKeyDown()and"Rallying Cry up for 10 seconds."or"Last Stand up for 20 seconds.","yell")

  11. #3751
    Deleted
    Hi, since the patch my target of target macro has bugged!

    This is what I use:

    #showtooltip Tricks of the Trade
    /cast [@targettarget] Tricks of the Trade

    It works when I'm in stealth but doesn't work when I'm out of stealth.

    Any fix would be greatly appreciated! I've tried multiple others tar of tar macros but to no avail.

  12. #3752
    Deleted
    Quote Originally Posted by Ettan View Post
    One that combines feign death + a gear swap, possibly using a modifier?
    Currently I use two buttons for this and that is working decently, I would love to have it cut down tho as I am rather full on binds as it is.
    I use it in bgs on my 70 twink, fd in combat + swap to a much higher resi/stam set when I am being heavily focused.
    I do need to spam the equipment set to make it work however...
    Replace SetName with whatever your set is called in the equipmentmanager.

    What it'll do is cast feign death when not pressing any modifiers and attempt to equip the gearset, but that most likely won't work due to the small delay there is between pressing the macro and going out of combat, so you will still have to press it twice.
    However when you use a mod while pressing the macro it'll equip the gearset without triggering feign death.
    Code:
    #showtooltip
    /cast [nomod]feign death
    /equipset [mod][]SetName
    Last edited by mmoc161c352136; 2012-09-22 at 06:53 PM.

  13. #3753
    Quote Originally Posted by mchwxj View Post
    Need Help of the Following Macros:

    This is a set of Macros that I use to monitor specified BUFFs. But when I run it, I find I can't change Talent anymore, and a message pops up saying that it conflicts with Blizzard UI and I need to disable it. Anyone can help me with it? I don't wanna use Addons. Thanks a lot (Hope my English works, haha)
    You're creating a lot of global functions and variables in those macros, and referencing _G, which I believe may cause some taint.

    Any reason you are using a cluster of macros instead of making a .lua file with all the code from the macros? The performance should be the same, and you can skip some shorthand variables and if wanted, use a function tied in with a slash command to enable/disable the functionality of the code.

  14. #3754
    Quote Originally Posted by Mutix View Post
    Hi, since the patch my target of target macro has bugged!

    This is what I use:

    #showtooltip Tricks of the Trade
    /cast [@targettarget] Tricks of the Trade

    It works when I'm in stealth but doesn't work when I'm out of stealth.

    Any fix would be greatly appreciated! I've tried multiple others tar of tar macros but to no avail.
    Are you sure you have the macro on your non-stealth bar, not just the ability? Macro looks fine.

  15. #3755
    Deleted
    Errr, fixed ;D

  16. #3756
    Pandaren Monk Ettan's Avatar
    10+ Year Old Account
    Join Date
    Oct 2011
    Location
    Kekistan
    Posts
    1,937
    Quote Originally Posted by madorable View Post
    Replace SetName with whatever your set is called in the equipmentmanager.

    What it'll do is cast feign death when not pressing any modifiers and attempt to equip the gearset, but that most likely won't work due to the small delay there is between pressing the macro and going out of combat, so you will still have to press it twice.
    However when you use a mod while pressing the macro it'll equip the gearset without triggering feign death.
    Code:
    #showtooltip
    /cast [nomod]feign death
    /equipset [mod][]SetName
    Thx this one worked great, I could just spam it and the gear swap worked even w/o the modifier.

  17. #3757
    Deleted
    I know you can spam it, I just added the modifier part because I wasn't completely sure what you meant with "possibly using a modifier?"
    And I figured being able to switch sets without triggering FD could be handy.

  18. #3758
    Blademaster Othniel's Avatar
    10+ Year Old Account
    Join Date
    Dec 2011
    Location
    Light's Hope Chapel
    Posts
    40
    I was wondering if it was possible, for my healers, to make a macro that when i used it would use smite/lightning bolt on my target's target. This would be nice becuase then i could use these spells without untargeting the tank. Any help would me amazing!
    Quote Originally Posted by Boubouille View Post
    Different people. I just yell at chaud a lot until his posts look like mine.

    Then he yells at me until my posts look like his.

    There's a lot of screaming, front page news are basically just a bad porno.

  19. #3759
    Deleted
    Quote Originally Posted by Othniel View Post
    I was wondering if it was possible, for my healers, to make a macro that when i used it would use smite/lightning bolt on my target's target. This would be nice becuase then i could use these spells without untargeting the tank. Any help would me amazing!
    Code:
    #showtooltip
    /cast [@targettarget] smite
    Code:
    #showtooltip
    /cast [@targettarget] lightning bolt

  20. #3760
    Quote Originally Posted by madorable View Post
    Code:
    #showtooltip
    /cast [@targettarget] smite
    Code:
    #showtooltip
    /cast [@targettarget] lightning bolt
    To make it more universal I'd use this.

    Code:
    #showtooltip
    /cast [harm][@targettarget,harm][]Smite
    Code:
    #showtooltip
    /cast [harm][@targettarget,harm][]Lightning Bolt

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •