LuaNinja Macro Collection menu

User Tag List

Page 33 of 42 FirstFirst ... 293031323334353637 ... LastLast
Results 481 to 495 of 629
  1. #481
    frallan123's Avatar Active Member
    Reputation
    24
    Join Date
    Apr 2007
    Posts
    140
    Thanks G/R
    0/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kxy1983 View Post
    I still use the other macro for single target dps.
    .
    what macro ?

    LuaNinja Macro Collection
  2. #482
    pulse1200's Avatar Member
    Reputation
    4
    Join Date
    Jul 2009
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey viral,

    ty for the feral macro I wont get a chance to test until tomorrow. I did however use the mutilate macro. I tested the previous one which isnt as in depth just to make sure everything was going ok.

    So I copied pasted your macro into SDM, did a quick fly by to make sure itall looked good. Went down to a dummy and tried it out. Nothing happened but the screen froze for like a second and then resumed. Im usually worried Ill spam gchat or trade lol but none of that. All it did when I pressed the macro was freeze the screen for a full second.

    Sorry if that isnt enough info, I wish I could say more like it started HFB or auto attacked but thats all it did presently and hope that can help.

    Cant wait to test the feral one.

    Cheers.

  3. #483
    ToonsThatPwn's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any way to make the healing macros run some kind of IfInRange check? Also is there a way for it to detect if your moving so to only cast instants?

  4. #484
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Fropper View Post
    Viral Fly-by the feral macro isn't working. first i thought i made a mistake translating the names of the abilitys into german, but after installing the english wow version it still doesn't work.
    btw there are (atleast) two different faerie fire debuffs and spells (dunno about the skilled moonkin one). the feral one is actually called Faerie Fire (Feral).
    after changing the Faerie Fire to Faerie Fire (Feral) the macro atleast casted Faerie Fire (Feral). But nothing else, its just doing nothing. (yep luaninja works, the old feral macro is working)
    Now fixed...see my previous post...I updated it with corrected code...I tested it on my druid and it was working nicely. I'm not completely satisfied with its behavior, but it was DPSing basically the same as me really playing.

  5. #485
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ToonsThatPwn View Post
    Any way to make the healing macros run some kind of IfInRange check? Also is there a way for it to detect if your moving so to only cast instants?
    All of the healing macros I've written DO a range check to make sure they're not trying to heal someone out of range. I have noticed that they struggle if the focus is out of range and they get stuck trying to refresh Earth Shield or Beacon of Light or whatever...I plan to correct them for that...

    To the second part of your question, yes, that is possible. That is ALSO something I'm going to add to them. I also plan to add "moving use instant cast" to my DPS macros where possible/appropriate.

  6. #486
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by pulse1200 View Post
    Hey viral,

    ty for the feral macro I wont get a chance to test until tomorrow. I did however use the mutilate macro. I tested the previous one which isnt as in depth just to make sure everything was going ok.

    So I copied pasted your macro into SDM, did a quick fly by to make sure itall looked good. Went down to a dummy and tried it out. Nothing happened but the screen froze for like a second and then resumed. Im usually worried Ill spam gchat or trade lol but none of that. All it did when I pressed the macro was freeze the screen for a full second.

    Sorry if that isnt enough info, I wish I could say more like it started HFB or auto attacked but thats all it did presently and hope that can help.

    Cant wait to test the feral one.

    Cheers.
    Feral one is now working confirmed....I tested it on my own druid.

    I made a change to the rogue one to fix an error it had...but I don't have a rogue to test that one with (my rogue is only 60 /cry). Can you try it?


    As an aside to all who test macros...please go into the Main Menu, under Interface, under Help, and check the box "Display Lua Errors". It will make simple Lua errors in the macros appear as a popup to you so you can read and relay them to me. It can make a huge difference if it's "doing nothing". I don't have toons in all these classes so I can't test them all.

  7. #487
    pulse1200's Avatar Member
    Reputation
    4
    Join Date
    Jul 2009
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jummpin on now to test the mutilate again. I didnt even think to show the lua errors, will update post momentarily.

    Edit: Copied the latest mutilate...pasted into SDM and hit the macro. So got the following in the lua error box.

    Message: [string "ud=UnitDebuff; c=CastSpellByName; p=UnitPower("player"); if _G[..."]:1: 'end' expected near '<eof>'
    Time: 12/29/09 19:40:02
    Count: 1
    Stack: [C]: in function `RunScript'
    Interface\FrameXML\ChatFrame.lua:1897: in function `?'
    Interface\FrameXML\ChatFrame.lua:3544: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText'
    Interface\FrameXML\ChatFrame.lua:2304: in function <Interface\FrameXML\ChatFrame.lua:2297>
    [C]: in function `RunMacroText'
    Interface\FrameXML\SecureTemplates.lua:378: in function `handler'
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>
    [C]: in function `Click'
    Interface\FrameXML\ChatFrame.lua:1345: in function `?'
    Interface\FrameXML\ChatFrame.lua:3526: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText'
    ...
    Interface\FrameXML\SecureTemplates.lua:378: in function `handler'
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>
    [C]: in function `Click'
    Interface\FrameXML\ChatFrame.lua:1345: in function `?'
    Interface\FrameXML\ChatFrame.lua:3526: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText'
    Interface\FrameXML\ChatFrame.lua:2304: in function <Interface\FrameXML\ChatFrame.lua:2297>
    [C]: in function `UseAction'
    Interface\FrameXML\SecureTemplates.lua:310: in function `handler'
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>

    Locals: (*temporary) = "ud=UnitDebuff; c=CastSpellByName; p=UnitPower("player"); if _G["vHfB"]<4 then if ud("target","Rupture") or ud("target","Garrote") or ud("target","Deep Wounds") or ud("target","Rend") or ud("target","Savage Rend") or ud("target","Pounce Bleed") or ud("target","Rake") or ud("target","Rip") or ud("target","Piercing Shots") then if p>=15 then c("Hunger for Blood") end else if GetComboPoints("player")>0 then if p>=25 then c("Rupture") end else if p>=55 then c("Mutilate") end end end"
    Last edited by pulse1200; 12-29-2009 at 03:44 AM.

  8. #488
    Mynewt's Avatar Sergeant
    Reputation
    1
    Join Date
    Dec 2009
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Back to my pally, I noticed the script earlier wasn't casting Divine Plea so i've managed to alter it so it does (see below). I'm sure there's afar better way of ding it but for now it kinda works.
    Code:
    #showtooltip Holy Light
    /console Sound_EnableSFX 0
    /use [combat] 13
    /use [combat] 14
    /use [combat] 10
    /run if UnitMana('player')<25000 then RunMacroText("/cast Divine Plea") end
    /run if UnitMana('player')<25000 then RunMacroText("/cast Arcane Torrent") end
    /run if UnitMana('player')<20000 then RunMacroText("/cast Avenging Wrath") end
    /run if UnitHealth("player")/UnitHealthMax("player")<0.10 and GetSpellCooldown("Divine Shield")==0 and IsUsableSpell("Divine Shield") then CastSpellByName("Divine Shield") end;
    /run f=0; if UnitExists("focus") then for i=1,40 do d={UnitBuff("focus",i)}; if d~=nil and d[1]=="Beacon of Light" and d[8]=="player" and d[7]-GetTime()>=3 then f=1; break end end if f==0 then RunMacroText("/cast [@focus] Beacon of Light") end end;
    /run FoL=3000; HS=6000; HL=8000; t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; e=UnitExists; n=UnitName; h=UnitHealth; hm=UnitHealthMax; s=nil; f="focus"; fh=0; if e(f) then fh=hm(f)-h(f) end; m=0; w=f; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if e(tt) and (e(f)==nil or n(tt)~=n(f)) then a=hm(tt)-h(tt); if a>m and UnitInRange(tt)==1 and UnitIsDeadOrGhost(tt)~=1 then m=a w=tt end end end; if fh>2*m then m=fh end; if GetSpellCooldown("Holy Shock")==0 and m>=HS then s="Holy Shock" elseif m>=HL then s="Holy Light" elseif m>=FoL then s="Flash of Light" end; if s~=nil then RunMacroText("/cast [@"..w.."] "..s) end;
    /run if GetSpellCooldown("Judgement of Light") == 0 then RunMacroText("/cast [@focustarget] Judgement of Light") end;
    /run f=0; if UnitExists("focus") then for i=1,40 do d={UnitBuff("focus",i)}; if d~=nil and d[1]=="Sacred Shield" and d[8]=="player" and d[7]-GetTime()>=3 then f=1; break end end if f==0 then RunMacroText("/cast [@focus] Sacred Shield") end end;
    /run t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; w=nil; m=0; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if UnitExists(tt) and UnitInRange(tt)==1 and UnitIsDeadorGhost(tt)~=1 then for j=1,40 do d={UnitDebuff(tt,j)}; if d~=nil and (d[5]=="Magic" or d[5]=="Poison" or d[5]=="Disease") and d[7]>m then w=tt; m=d[7] end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] Cleanse") end;
    /run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");
    /console Sound_EnableSFX 1
    I have noticed however I get the following error messages:

    Code:
    19x <string>:"t="raid"; nps=1; npe=GetNumRaidMembers(); i...":1: attempt to call global 'UnitIsDeadorGhost' (a nil value)
    <in C code>: in function `RunScript'
    Interface\FrameXML\ChatFrame.lua:1897: in function `?':
    Interface\FrameXML\ChatFrame.lua:3544: in function <Interface\FrameXML\ChatFrame.lua:3497>:
    <in C code>: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText':
    Interface\FrameXML\ChatFrame.lua:2304: in function <Interface\FrameXML\ChatFrame.lua:2297>:
    <in C code>: in function `RunMacroText'
    Interface\FrameXML\SecureTemplates.lua:378: in function `handler':
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>:
    <in C code>: in function `Click'
    Interface\FrameXML\ChatFrame.lua:1345: in function `?':
    Interface\FrameXML\ChatFrame.lua:3526: in function <Interface\FrameXML\ChatFrame.lua:3497>:
    ...:
    <in C code>: in function `Click'
    Interface\FrameXML\ChatFrame.lua:1345: in function `?':
    Interface\FrameXML\ChatFrame.lua:3526: in function <Interface\FrameXML\ChatFrame.lua:3497>:
    <in C code>: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText':
    Interface\FrameXML\ChatFrame.lua:2304: in function <Interface\FrameXML\ChatFrame.lua:2297>:
    <in C code>: ?
    <in C code>: in function `UseAction'
    Interface\FrameXML\SecureTemplates.lua:310: in function `handler':
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>:
    
    Locals:
    (*temporary) = "t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; w=nil; m=0; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if UnitExists(tt) and UnitInRange(tt)==1 and UnitIsDeadorGhost(tt)~=1 then for j=1,40 do d={UnitDebuff(tt,j)}; if d~=nil and (d[5]=="Magic" or d[5]=="Poison" or d[5]=="Disease") and d[7]>m then w=tt; m=d[7] end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] Cleanse") end;"
    (*temporary) = <function> defined =[C]:-1
    
      ---
    and

    Code:
    2041x <string>:"t="raid"; nps=1; npe=GetNumRaidMembers(); i...":1: attempt to call global 'UnitIsDeadorGhost' (a nil value)
    <in C code>: in function `RunScript'
    Interface\FrameXML\ChatFrame.lua:1897: in function `?':
    Interface\FrameXML\ChatFrame.lua:3544: in function <Interface\FrameXML\ChatFrame.lua:3497>:
    <in C code>: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText':
    Interface\FrameXML\ChatFrame.lua:2304: in function <Interface\FrameXML\ChatFrame.lua:2297>:
    <in C code>: in function `RunMacroText'
    Interface\FrameXML\SecureTemplates.lua:378: in function `handler':
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>:
    <in C code>: in function `Click'
    Interface\FrameXML\ChatFrame.lua:1345: in function `?':
    Interface\FrameXML\ChatFrame.lua:3526: in function <Interface\FrameXML\ChatFrame.lua:3497>:
    ...:
    <in C code>: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText':
    Interface\FrameXML\ChatFrame.lua:2304: in function <Interface\FrameXML\ChatFrame.lua:2297>:
    <in C code>: ?
    <in C code>: in function `UseAction'
    Interface\FrameXML\SecureTemplates.lua:310: in function `handler':
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>:
    <in C code>: in function `Click'
    Interface\FrameXML\SecureTemplates.lua:458: in function `handler':
    Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>:
    
    Locals:
    (*temporary) = "t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; w=nil; m=0; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if UnitExists(tt) and UnitInRange(tt)==1 and UnitIsDeadorGhost(tt)~=1 then for j=1,40 do d={UnitDebuff(tt,j)}; if d~=nil and (d[5]=="Magic" or d[5]=="Poison" or d[5]=="Disease") and d[7]>m then w=tt; m=d[7] end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] Cleanse") end;"
    (*temporary) = <function> defined =[C]:-1
    
      ---
    I also have a question: Is there a method of getting the icon to show what spell/ability it will be casting next?

  9. #489
    Mynewt's Avatar Sergeant
    Reputation
    1
    Join Date
    Dec 2009
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The changes I made had a few issues a si'm sure you can see, the following now works:

    Code:
    #showtooltip Holy Light
    /console Sound_EnableSFX 0
    /use [combat] 13
    /use [combat] 14
    /use [combat] 10
    /run if UnitMana('player')<25000 and GetSpellCooldown("Divine Plea")==0 and IsUsableSpell("Divine Plea")==1 then CastSpellByName("Divine Plea") end;
    /run if UnitMana('player')<25000 and GetSpellCooldown("Arcane Torrent")==0 and IsUsableSpell("Arcane Torrent")==1 then CastSpellByName("Arcane Torrent") end;
    /run if UnitMana('player')<25000 and GetSpellCooldown("Avenging Wrath")==0 and IsUsableSpell("Avenging Wrath")==1 then CastSpellByName("Avenging Wrath") end;
    /run if UnitHealth("player")/UnitHealthMax("player")<0.10 and GetSpellCooldown("Divine Shield")==0 and IsUsableSpell("Divine Shield") then CastSpellByName("Divine Shield") end;
    /run f=0; if UnitExists("focus") then for i=1,40 do d={UnitBuff("focus",i)}; if d~=nil and d[1]=="Beacon of Light" and d[8]=="player" and d[7]-GetTime()>=3 then f=1; break end end if f==0 then RunMacroText("/cast [@focus] Beacon of Light") end end;
    /run FoL=3000; HS=6000; HL=8000; t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; e=UnitExists; n=UnitName; h=UnitHealth; hm=UnitHealthMax; s=nil; f="focus"; fh=0; if e(f) then fh=hm(f)-h(f) end; m=0; w=f; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if e(tt) and (e(f)==nil or n(tt)~=n(f)) then a=hm(tt)-h(tt); if a>m and UnitInRange(tt)==1 and UnitIsDeadOrGhost(tt)~=1 then m=a w=tt end end end; if fh>2*m then m=fh end; if GetSpellCooldown("Holy Shock")==0 and m>=HS then s="Holy Shock" elseif m>=HL then s="Holy Light" elseif m>=FoL then s="Flash of Light" end; if s~=nil then RunMacroText("/cast [@"..w.."] "..s) end;
    /run if GetSpellCooldown("Judgement of Light") == 0 then RunMacroText("/cast [@focustarget] Judgement of Light") end;
    /run f=0; if UnitExists("focus") then for i=1,40 do d={UnitBuff("focus",i)}; if d~=nil and d[1]=="Sacred Shield" and d[8]=="player" and d[7]-GetTime()>=3 then f=1; break end end if f==0 then RunMacroText("/cast [@focus] Sacred Shield") end end;
    /run t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; w=nil; m=0; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if UnitExists(tt) and UnitInRange(tt)==1 and UnitIsDeadorGhost(tt)~=1 then for j=1,40 do d={UnitDebuff(tt,j)}; if d~=nil and (d[5]=="Magic" or d[5]=="Poison" or d[5]=="Disease") and d[7]>m then w=tt; m=d[7] end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] Cleanse") end;
    /run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");
    /console Sound_EnableSFX 1
    Would the folloing code actually work or have i made a mistake with it, I cna't yet get into a situation where it'll evne fire, but don't really want to wait till its needed to find out i screwed up and wiped the raid.

    Code:
    /run if UnitMana('player')<5000 and GetSpellCooldown("Lay on Hands")==0 and IsUsableSpell("Lay On Hands")==1 then RunMacroText("/cast [@"Mynewt"] Lay On Hands") end;
    Last edited by Mynewt; 12-29-2009 at 07:51 AM.

  10. #490
    kxy1983's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    68
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried out this new rogue macro and got the following.....

    Date: 2009-12-29 23:49:33
    ID: 4
    Error occured in: Global
    Count: 1
    Message: [string "b={UnitBuff("player", "Hunger for Blood")};..."] line 1:
    attempt to perform arithmetic on field '?' (a nil value)
    Debug:
    [C]: ?
    [string "b={UnitBuff("player", "Hunger for Blood")};..."]:1: in main chunk
    [C]: RunScript()
    ..\FrameXML\ChatFrame.lua:1897: ?()
    ..\FrameXML\ChatFrame.lua:3544: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: RunMacroText()
    ..\FrameXML\SecureTemplates.lua:378: handler()
    ..\FrameXML\SecureTemplates.lua:529:
    ..\FrameXML\SecureTemplates.lua:478
    [C]: Click()
    ..\FrameXML\ChatFrame.lua:1345: ?()
    ..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: RunMacroText()
    ..\FrameXML\SecureTemplates.lua:378: handler()
    ..\FrameXML\SecureTemplates.lua:529:
    ..\FrameXML\SecureTemplates.lua:478
    [C]: Click()
    ..\FrameXML\ChatFrame.lua:1345: ?()
    ..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: UseAction()
    ..\FrameXML\SecureTemplates.lua:310: handler()
    ..\FrameXML\SecureTemplates.lua:529: SecureActionButton_OnClick()
    ..\FrameXML\ActionButton.lua:40: ActionButtonUp()
    [string "ACTIONBUTTON1"]:4:
    [string "ACTIONBUTTON1"]:1
    Ive then tried the new one with the typo fix and it returned

    Date: 2009-12-29 23:53:22
    ID: 5
    Error occured in: Global
    Count: 1
    Message: [string "ud=UnitDebuff; c=CastSpellByName; p=UnitPower("player"); if _G[..."] line 1:
    'end' expected near '<eof>'
    Debug:
    [C]: ?
    [C]: RunScript()
    ..\FrameXML\ChatFrame.lua:1897: ?()
    ..\FrameXML\ChatFrame.lua:3544: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: RunMacroText()
    ..\FrameXML\SecureTemplates.lua:378: handler()
    ..\FrameXML\SecureTemplates.lua:529:
    ..\FrameXML\SecureTemplates.lua:478
    [C]: Click()
    ..\FrameXML\ChatFrame.lua:1345: ?()
    ..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: RunMacroText()
    ..\FrameXML\SecureTemplates.lua:378: handler()
    ..\FrameXML\SecureTemplates.lua:529:
    ..\FrameXML\SecureTemplates.lua:478
    [C]: Click()
    ..\FrameXML\ChatFrame.lua:1345: ?()
    ..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: UseAction()
    ..\FrameXML\SecureTemplates.lua:310: handler()
    ..\FrameXML\SecureTemplates.lua:529: SecureActionButton_OnClick()
    ..\FrameXML\ActionButton.lua:40: ActionButtonUp()
    [string "ACTIONBUTTON1"]:4:
    [string "ACTIONBUTTON1"]:1
    So im guessing theres another typo in there somewhere. Id proofread it, but dont know the code so i wouldnt know whats wrong

  11. #491
    kxy1983's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    68
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is the error i get on the new mut macro (with the typo fix) there must be another typo in there somewhere, tho no idea what im looking at myself.

    Date: 2009-12-30 00:19:07
    ID: 4
    Error occured in: Global
    Count: 1
    Message: [string "ud=UnitDebuff; c=CastSpellByName; p=UnitPower("player"); if _G[..."] line 1:
    'end' expected near '<eof>'
    Debug:
    [C]: ?
    [C]: RunScript()
    ..\FrameXML\ChatFrame.lua:1897: ?()
    ..\FrameXML\ChatFrame.lua:3544: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: RunMacroText()
    ..\FrameXML\SecureTemplates.lua:378: handler()
    ..\FrameXML\SecureTemplates.lua:529:
    ..\FrameXML\SecureTemplates.lua:478
    [C]: Click()
    ..\FrameXML\ChatFrame.lua:1345: ?()
    ..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: RunMacroText()
    ..\FrameXML\SecureTemplates.lua:378: handler()
    ..\FrameXML\SecureTemplates.lua:529:
    ..\FrameXML\SecureTemplates.lua:478
    [C]: Click()
    ..\FrameXML\ChatFrame.lua:1345: ?()
    ..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: UseAction()
    ..\FrameXML\SecureTemplates.lua:310: handler()
    ..\FrameXML\SecureTemplates.lua:529: SecureActionButton_OnClick()
    ..\FrameXML\ActionButton.lua:40: ActionButtonUp()
    [string "ACTIONBUTTON1"]:4:
    [string "ACTIONBUTTON1"]:1
    AddOns:
    Swatter, v3.1.14 (<%codename%>)
    NPCScan, v3.3.0.2
    Ace2, v
    Ace3, v
    AckisRecipeList, v1.0 2769
    ACP, v3.2.0.26
    AdvancedTradeSkillWindow, v
    Altoholic, v3.3.001b
    Atlas, v1.15.2
    AtlasBattlegrounds, v1.15.2
    AtlasDungeonLocs, v1.15.2
    AtlasOutdoorRaids, v1.15.2
    AtlasTransportation, v1.15.2
    AtlasLoot, vv5.09.02
    AtlasLootFu, vv5.09.02
    AucAdvanced, v5.6.4330 (KangaII)
    AucDb, v5.1.DEV.3583
    AucFilterBasic, v5.6.4330 (KangaII)
    AucFilterOutlier, v5.6.4330.2531
    AucMatchUndercut, v5.6.4330.2531
    AucScanData, v5.6.4330 (KangaII)
    AucStatClassic, v5.6.4330 (KangaII)
    AucStatHistogram, v5.6.4330 (KangaII)
    AucStatiLevel, v5.6.4330 (KangaII)
    AucStatPurchased, v5.6.4330 (KangaII)
    AucStatSales, v5.6.4330.2842
    AucStatSimple, v5.6.4330 (KangaII)
    AucStatStdDev, v5.6.4330 (KangaII)
    AucStatWOWEcon, v5.6.4330.2530
    AucUtilAHWindowControl, v5.6.4330.3311
    AucUtilAppraiser, v5.6.4330.2530
    AucUtilAskPrice, v5.6.4330.3175
    AucUtilAutoMagic, v5.6.4330.3142
    AucUtilCompactUI, v5.6.4330.2530
    AucUtilEasyBuyout, v5.6.4330.3583
    AucUtilItemSuggest, v5.6.4330.3108
    AucUtilPriceLevel, v5.6.4330.2545
    AucUtilScanButton, v5.6.4330.2530
    AucUtilScanFinish, v5.6.4330.2530
    AucUtilScanProgress, v5.6.4330.2530
    AucUtilSearchUI, v5.6.4330.3655
    AucUtilSimpleAuction, v5.6.4330.0
    AucUtilVendMarkup, v5.6.4330.2530
    AuctionProfit, v1.0
    AuctionFilterPlus, v30300.1
    Babylonian, v5.1.DEV.130
    BagSort, v2.0.2
    Bagnon, v2.12.3
    BagnonBrighter, v1.2.0
    BagnonForever, v1.1.2
    BagnonTooltips, v
    BankItems, v30300
    BankStack, vv15
    BeanCounter, v5.6.4330 (KangaII)
    BigWigs, v3.16
    BulkMail2, v3.0.0
    Chatter, v1.0
    Configator, v5.1.DEV.130
    CurseProfiler, v
    DataStore, v3.3.001
    DataStoreAchievements, v3.3.001
    DataStoreAuctions, v3.3.001
    DataStoreCharacters, v3.3.001
    DataStoreContainers, v3.3.001
    DataStoreCrafts, v3.3.001
    DataStoreCurrencies, v3.3.001
    DataStoreInventory, v3.3.001
    DataStoreMails, v3.3.001
    DataStorePets, v3.3.001
    DataStoreQuests, v3.3.001
    DataStoreReputations, v3.3.001
    DataStoreSkills, v3.3.001
    DataStoreSpells, v3.3.001
    DataStoreStats, v3.3.001
    DataStoreTalents, v3.3.001
    DBMCore, v
    DeathClock, v3.2.0.11
    DebugLib, v5.1.DEV.130
    Dominos, v1.15.1
    DominosCast, v
    DominosRoll, v
    DominosTotems, v
    DominosXP, v
    EasyMail, v
    EavesDrop, v2.1
    ElkBuffBars, v2.2.5-150
    Enchantrix, v5.6.4330 (KangaII)
    EnchantrixBarker, v5.6.4330 (KangaII)
    ExplorerCoords, v1.0
    FaceSmasher, v2.032
    Factionizer, v30300.1
    Gatherer, v3.1.14
    GearScore, v3.0.14 - Release
    GEM3Core, v3.70
    GEM3DataConverter, v1.29
    GEM3UI, v2.03
    GridLib, v1.0
    IceHUD, v1.5.16 (Revision: 451)
    Informant, v5.6.4330 (KangaII)
    LibHealComm30, v
    LibRock10, v
    LootFilter, v3.13.1
    NeedToKnow, v2.8.4
    Omen, v3.0.9
    oRA2, v2.0.$Revision: 673 $
    Overachiever, v0.52
    PallyPower, vv3.2.10-release
    Panda, v3.2.0.25
    pError, v30200.3-Beta
    Poisoner, v3.0
    ProximoGrid, v
    Recount, v
    sct, v6.2
    sctd, v3.1
    SexyMap, v
    SimpleRaidTargetIcons, v1.08
    Skinner, vb2.11159.2
    SlideBar, v3.1.14 (<%codename%>)
    Stubby, v5.6.4330 (KangaII)
    SuperDuperMacro, v1.8.3
    TinyTip, v0.3-Beta
    Titan, v4.3.2.30300 - Revision 339
    TitanAmmo, v4.3.2.30300
    TitanBag, v4.3.2.30300
    TitanClock, v4.3.2.30300
    TitanCoords, v4.3.2.30300
    TitanGoldTracker, v4.3.2.30300
    TitanGuild, v5.1 (WoTLK)
    TitanHonorMarks, v2.2.1
    TitanLootType, v4.3.2.30300
    TitanPerformance, v4.3.2.30300
    TitanRaidIds, v2.4.41
    TitanRecount, v0.05
    TitanRegen, v4.3.2.30300
    TitanRepair, v4.3.2.30300
    TitanSpec, v1.5.30300
    TitanSpeed, v3.3.001
    TitanVolume, v4.3.2.30300
    TitanWG, v1.1.8.30300
    TitanXP, v4.3.2.30300
    TweakWoW, v2.9.6
    XPerl, v3.0.8
    XPerlArcaneBar, v
    XPerlParty, v
    XPerlPartyPet, v
    XPerlPlayer, v
    XPerlPlayerBuffs, v
    XPerlPlayerPet, v
    XPerlRaidAdmin, v
    XPerlRaidFrames, v
    XPerlRaidHelper, v
    XPerlRaidMonitor, v
    XPerlRaidPets, v
    XPerlTarget, v
    XPerlTargetTarget, v
    BlizRuntimeLib_enUS v3.3.0.30300 <us>
    (ck=fca)

  12. #492
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Mynewt View Post
    Would the folloing code actually work or have i made a mistake with it, I cna't yet get into a situation where it'll evne fire, but don't really want to wait till its needed to find out i screwed up and wiped the raid.

    Code:
    /run if UnitMana('player')<5000 and GetSpellCooldown("Lay on Hands")==0 and IsUsableSpell("Lay On Hands")==1 then RunMacroText("/cast [@"Mynewt"] Lay On Hands") end;

    Mynewt, my original holy paladin macro was already casting Divine Plea so I'm not sure why you think you needed to add that...

    Second, why do you have it casting Avenging Wrath because you're low on mana? LOL

    Third, in your addition for Lay on Hands, make it just do "[@player]" rather than "[@Mynewt]"...player is the unitid for yourself.

    Finally, your LoH logic will work...BUT...you also need to check for Forbearance since the change to LoH in the last patch.

  13. #493
    Fropper's Avatar Member
    Reputation
    8
    Join Date
    Mar 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    still not working for me, getting the following lua error
    Code:
    Message: [string "cp=GetComboPoints("player"); p=UnitPower("p..."]:1: attempt to compare nil with number
    Time: 12/29/09 16:04:32
    Count: 18
    Stack: (tail call): ?
    [C]: ?
    [string "cp=GetComboPoints("player"); p=UnitPower("p..."]:1: in main chunk
    Last edited by Fropper; 12-29-2009 at 10:18 AM.
    nothing here

  14. #494
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kxy1983 View Post
    I tried out this new rogue macro and got the following.....



    Ive then tried the new one with the typo fix and it returned



    So im guessing theres another typo in there somewhere. Id proofread it, but dont know the code so i wouldnt know whats wrong

    kxy and pulse, can you guys try the new one? I just updated my original post. There was indeed a missing "end" on one of the lines. I dunno how I missed it lol.


    As an aside...for the error messages...I only really need the first few lines...so you don't need to put the full spammity calamity and make pages of the thread long and scary. Alternatively, put the error inside a "spoiler" tag in the forum.

    [ SPOILER ] PASTE ERROR HERE [ /SPOILER ]

    It will show up like this:
    [spoiler]
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    zomg
    [/spoiler]

  15. #495
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Fropper View Post
    still not working for me
    I assume you're talking about the Feral one?

    That one I know works...I stood there spamming it for like 15 minutes at the test dummy while I tweaked it.

    I've noticed the game doesn't seem to like the variables at times....can you just close the Lua error and try again? Try a few times...is it always giving you exact same error on each press?

Page 33 of 42 FirstFirst ... 293031323334353637 ... LastLast

Similar Threads

  1. [Macro-Collection] All-In-One-Button Macro for all Classes from Level 15-90!
    By Classicclean in forum WoW UI, Macros and Talent Specs
    Replies: 21
    Last Post: 01-21-2014, 08:16 AM
  2. Addon For LuaNinja Macros
    By Tracerv0 in forum WoW UI, Macros and Talent Specs
    Replies: 7
    Last Post: 01-06-2010, 02:21 PM
  3. /Dump Macro Collection (WIP at mo!)
    By Anotherfox in forum WoW UI, Macros and Talent Specs
    Replies: 97
    Last Post: 01-04-2010, 03:21 PM
  4. [HOW TO] Ascii Macro + my collection
    By wickermanz in forum World of Warcraft Guides
    Replies: 12
    Last Post: 01-05-2009, 12:58 PM
  5. Macro Love - My Collection of useful and/or Space saving Macro's!
    By Anotherfox in forum World of Warcraft Guides
    Replies: 15
    Last Post: 12-28-2008, 12:29 AM
All times are GMT -5. The time now is 10:12 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