LuaNinja Macro Collection menu

Shout-Out

User Tag List

Page 35 of 42 FirstFirst ... 313233343536373839 ... LastLast
Results 511 to 525 of 629
  1. #511
    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 Jibberish View Post
    Viral what is the line that I put in my macro to spam it every tenth of a second until I am out of combat?
    Code:
    /run if UnitAffectingCombat("player") then RunMacroText("/in 0.1 /run RunMacro(\"NAME_OF_YOUR_MACRO_HERE\")) end
    Note that this isn't working for a lot of people...it works fine for me...but I personally find it very annoying and downright silly... You're using these macros because you can't be bothered to push multiple buttons in the right order at the right times....now you can't be bothered just to push 1 button over and over? LOL. But anyway it doesn't work for some because of problems with the /in command in their game. /shrug

    Originally Posted by Jibberish View Post
    EDIT: Also have you tried working with any of the movement commands? I can get my character to begin moving, but can't get him to stop.
    You don't spend much time looking at the API do you? If you want to start moving forward, you call "MoveForwardStart()"... Well...amazing enough...to stop moving forward, you call "MoveForwardStop()". AMAZING!

    LuaNinja Macro Collection
  2. #512
    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)
    I'm having issues with this part of the script
    Code:
    /run if UnitPower('Player')<0.50 and GetSpellCooldown("Lay on Hands")==0 and IsUsableSpell("Lay On Hands")==1 then RunMacroText("/cast [@"Player"] Lay on Hands") end;
    I get the following error:
    Code:
    1x <string>:"if UnitPower('player')<0.50 and GetSpellCooldown("Lay on Hands"...":1: ')' expected near 'Player'
    Any idea what i'm doing wrong?

  3. #513
    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
    I'm having issues with this part of the script
    Code:
    /run if UnitPower('Player')<0.50 and GetSpellCooldown("Lay on Hands")==0 and IsUsableSpell("Lay On Hands")==1 then RunMacroText("/cast [@"Player"] Lay on Hands") end;
    I get the following error:
    Code:
    1x <string>:"if UnitPower('player')<0.50 and GetSpellCooldown("Lay on Hands"...":1: ')' expected near 'Player'
    Any idea what i'm doing wrong?

    No quotes inside your "RunMacroText"... just [@player] not [@"player"].

    Also...why are you checking that your mana is less 0.5...that will only be true if you are at 0 mana...that's not what you want? If you are trying to do a percentage, then you need to divide UnitPower("player") by UnitPowerMax("player")...but also you don't want to use LoH at 0.50 which is 50% mana.

  4. #514
    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)
    Originally Posted by Viral Fly-by View Post
    No quotes inside your "RunMacroText"... just [@player] not [@"player"].

    Also...why are you checking that your mana is less 0.5...that will only be true if you are at 0 mana...that's not what you want? If you are trying to do a percentage, then you need to divide UnitPower("player") by UnitPowerMax("player")...but also you don't want to use LoH at 0.50 which is 50% mana.
    50% was a figure i used just to get the damn thing working, when i swap armour sets.

    Finally think i've cracked it.
    Code:
    /run if UnitPower("player")/UnitPowerMax("player")<0.50 and GetSpellCooldown("Lay on Hands")==0 and IsUsableSpell("Lay On Hands")==1 then RunMacroText("/cast [@Player] Lay on Hands") end;
    Now just need to work out when i want to use it -g-
    Last edited by Mynewt; 12-29-2009 at 02:43 PM.

  5. #515
    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)
    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.

    Heya,

    Not a prob with the spoiler tag =))

    Ok the latest mutilate macro went well at the start no errors started up attacking, got a HFB up on the dummy, got a snd up and then crashed the game. Not a complete shutdown just a freeze with game not responding.

    Tried a few times and always at about the same time 6-8 secs in, i think after putting up the first snd with 3 combo points. I tried not spamming just hitting the bind at every 50 energy got about 5-6 clicks in.

    Hope this helps...will check back often to help out in anyway I can.

  6. #516
    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
    Ok the latest mutilate macro went well at the start no errors started up attacking, got a HFB up on the dummy, got a snd up and then crashed the game. Not a complete shutdown just a freeze with game not responding.

    Tried a few times and always at about the same time 6-8 secs in, i think after putting up the first snd with 3 combo points. I tried not spamming just hitting the bind at every 50 energy got about 5-6 clicks in.

    Hope this helps...will check back often to help out in anyway I can.
    Hehehe...I knew exactly what I had done as soon as you said the game froze/crashed. =) I should have fixed that...can you grab latest from updated post and try?

  7. #517
    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)
    Viral, you sir are a legend.

    Muti macro working perfect. Will update with dps progress.

    Edit: Rogue being an alt but in almost all the badge gear u can get with some decent gear from
    the new 5mans i was peaking at about 4.9k dps on the dummys. I dont really have the best mainhand dagger
    as its way to fast but all i have atm. I ran one dungeon and it did fine around 4.5k dps. I am completely
    new to mutilate tho so someone who knows the spec well could test it more thoroughly for you viral.

    I was more than fine with the result as like i said I know nothing about mutilate.

    Cheers.
    Last edited by pulse1200; 12-29-2009 at 03:54 PM.

  8. #518
    Jibberish's Avatar Member
    Reputation
    12
    Join Date
    Jan 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Viral Fly-by View Post
    Code:
    /run if UnitAffectingCombat("player") then RunMacroText("/in 0.1 /run RunMacro(\"NAME_OF_YOUR_MACRO_HERE\")) end
    Note that this isn't working for a lot of people...it works fine for me...but I personally find it very annoying and downright silly... You're using these macros because you can't be bothered to push multiple buttons in the right order at the right times....now you can't be bothered just to push 1 button over and over? LOL. But anyway it doesn't work for some because of problems with the /in command in their game. /shrug



    You don't spend much time looking at the API do you? If you want to start moving forward, you call "MoveForwardStart()"... Well...amazing enough...to stop moving forward, you call "MoveForwardStop()". AMAZING!
    Really, I'm not that big of a dumbass Viral.

    I have tried the MoveForwardStop(), and it does in fact stop me... Although the /in command is not working for me, and neither does the MoveForwardStop(GetTime()*1000 + 3000). So I was wondering if maybe I typed my code incorrectly or if LuaNinja did not fully unlock the commands.

    Any clue as to why my /in command isn't working correctly?

    ALSO: Here is my current Survival Spec Hunter...
    Code:
    #Aggro Management
    /run if IsUsableSpell("Disengage")==1 and GetSpellCooldown("Disengage")==0 and IsSpellInRange("Wing Clip", "target")==1 then CastSpellByName("Disengage") end
    /run if IsSpellInRange("Wing Clip", "target")==1 and GetSpellCooldown("Feign Death")==0 then CastSpellByName("Feign Death") end
    #Aspects 
    #Tracking
    /stopmacro [noexists]
    /run for i=1,GetNumTrackingTypes() do local n, t, a, c = GetTrackingInfo(i); if string.find(n, UnitCreatureType("target")) then if t~=GetTrackingTexture(i) then SetTracking(i); end end end
    #MAIN Combat
    /startattack
    /run if not UnitDebuff("target", "Hunter's Mark") then CastSpellByName("Hunter's Mark") end
    /run local _,d,_ = GetSpellCooldown("Black Arrow") if (d == 0) then CastSpellByName("Black Arrow") end
    /run local _,d,_ = GetSpellCooldown("Explosive Shot") if not UnitDebuff("target", "Explosive Shot") and (d == 0) and UnitBuff("player", "Lock and Load") then CastSpellByName("Explosive Shot") end
    #/run local _,d,_ = GetSpellCooldown("Aimed Shot") if (d == 0) then CastSpellByName("Aimed Shot") end
    #/run local _,d,_ = GetSpellCooldown("Steady Shot") if (d == 0) then CastSpellByName("Steady Shot") end
    #Meelee Combat
    /run local _,d,_ = GetSpellCooldown("Mongoose Bite") if (d == 0) and IsSpellInRange("Mongoose Bite", "target")==1 then CastSpellByName("Mongoose Bite") end
    /run local _,d,_ = GetSpellCooldown("Raptor Strike") if (d == 0) and IsSpellInRange("Raptor Strike", "target")==1 then CastSpellByName("Raptor Strike") end
    #Interrupt
    /run if UnitCastingInfo("target") then CastSpellByName("Scatter Shot") end
    #Cooldowns
    /run local _,d,_ = GetSpellCooldown("Kill Command") if (d == 0) then CastSpellByName("Kill Command") end
    /run local _,d,_ = GetSpellCooldown("Rapid Fire") if (d == 0) then CastSpellByName("Rapid Fire") end
    #Error Message
    /run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");
    What it does:

    1. If target is in melee distance, then you will Disengage and Feign Death (Sometimes you also get a Mongoose Bite in).
    2. Will automatically switch what Tracking spell you have enabled to the one that corresponds to your target.
    3. Will cast Black Arrow if target does not have debuff.
    4. Will cast Explosive Shot if player has "Lock and Load" proc, but will wait until each Explosive Shot debuff is off the target.
    5. If FD and DE are on cooldown, player will use Raptor Strike and Mongoose Bite.
    6. If target is casting, player will use Scatter Shot to interrupt cast.
    7. Will use Rapid Fire and Kill Command when they are done on cooldown.

    Currently Working on:

    1. Aspect of the Viper when out of combat, Aspect of the Hawk when in combat.
    2. Utilization of traps
    3. Movement
    4. Better threat management using the UnitDetailedThreatSituation (if possible).

    All of this code has been based off what I found here on the forums. And I'm just beginning to learn all of the API functions etc, so PLEASE give me help / suggestions!

  9. #519
    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 Jibberish View Post
    Really, I'm not that big of a dumbass Viral.

    I have tried the MoveForwardStop(), and it does in fact stop me... Although the /in command is not working for me, and neither does the MoveForwardStop(GetTime()*1000 + 3000). So I was wondering if maybe I typed my code incorrectly or if LuaNinja did not fully unlock the commands.
    I call shenanigans. MoveForwardStop() doesn't take any parameters anyway. Based on your example, I assume you are trying to pass in a time at which to stop moving because you read WowWiki about MoveForwardStop. But that same page very clearly states: "As of 1.6, the time parameter seems to be ignored, and this function needs to be called as the result of a button press." The ability to pass in a time was removed by Blizzard.


    Originally Posted by Jibberish View Post
    Any clue as to why my /in command isn't working correctly?
    I believe it comes from some addon actually...or a commonly-used library...I have not had time to investigate.

  10. #520
    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 Jibberish View Post
    ALSO: Here is my current Survival Spec Hunter...
    <snip />

    What it does:

    1. If target is in melee distance, then you will Disengage and Feign Death (Sometimes you also get a Mongoose Bite in).
    2. Will automatically switch what Tracking spell you have enabled to the one that corresponds to your target.
    3. Will cast Black Arrow if target does not have debuff.
    4. Will cast Explosive Shot if player has "Lock and Load" proc, but will wait until each Explosive Shot debuff is off the target.
    5. If FD and DE are on cooldown, player will use Raptor Strike and Mongoose Bite.
    6. If target is casting, player will use Scatter Shot to interrupt cast.
    7. Will use Rapid Fire and Kill Command when they are done on cooldown.

    Currently Working on:

    1. Aspect of the Viper when out of combat, Aspect of the Hawk when in combat.
    2. Utilization of traps
    3. Movement
    4. Better threat management using the UnitDetailedThreatSituation (if possible).

    All of this code has been based off what I found here on the forums. And I'm just beginning to learn all of the API functions etc, so PLEASE give me help / suggestions!
    A few notes:
    1. Your description lies...it will cast Black Arrow on cooldown regardless of debuff.
    2. Your check for Explosive Shot debuff can fail if another Survival Hunter is in the party/raid...check out my macros for examples.
    3. You should check both UnitCastingInfo AND UnitChannelInfo for interrupts...again see examples.
    4. Interrupt at the beginning of macro since it's a high priority.
    5. Just for less typing and readability, you can just do GetSpellCooldown("MY_SPELL")==0 instead of putting it into a variable.


    Outta curiosity...why Explosive only when LnL? Explosive is your mainstay as Survival. =)

  11. #521
    Doughal's Avatar Member
    Reputation
    18
    Join Date
    Apr 2009
    Posts
    53
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any chance for some PvP macros?

    Especially arms warr, I'd do it myself if i was good enough to make one ><

  12. #522
    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 Doughal View Post
    Any chance for some PvP macros?

    Especially arms warr, I'd do it myself if i was good enough to make one ><

    Do this...
    Code:
    /target Healer
    /cast Charge
    /cast Mortal Strike
    /cast Rend
    /cast Sweeping Strikes
    /cast Bladestorm 
    /yell LOLZ SKILLSTORM!
    Wait a few whirlwinds in...the following will be true:
    1. You've procced Taste for Blood
    2. You've procced Sudden Death
    3. They're casting a heal


    Then do this...
    Code:
    /cancelaura Bladestorm
    /cast Overpower
    /yell 75% MS LOLZ
    /yell FREE EXECUTE LOLZ
    /cast Execute
    Then you discover their health is low enough now...so...
    Code:
    /cast Execute
    /yell KILLING BLOW BITCH!
    Then do...
    Code:
    /use Shield
    /use 1H Weapon
    /cast Defensive Stance
    /cast Shield Wall
    /yell INVINCIBLE LOLZ!
    /cast [@ArenaPartner] Intervene
    /yell TIME TO RUN AWAY LOLZ!
    When your heatlh is full, run over to the remaining enemy and smash your face into the keyboard until the screen pops up telling you how much rating you won.

  13. #523
    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)
    Originally Posted by Viral Fly-by View Post

    When your heatlh is full, run over to the remaining enemy and smash your face into the keyboard until the screen pops up telling you how much rating you won.

    Hahaha...win.

  14. #524
    Doughal's Avatar Member
    Reputation
    18
    Join Date
    Apr 2009
    Posts
    53
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Viral Fly-by View Post
    Do this...
    Code:
    /target Healer
    /cast Charge
    /cast Mortal Strike
    /cast Rend
    /cast Sweeping Strikes
    /cast Bladestorm 
    /yell LOLZ SKILLSTORM!
    Wait a few whirlwinds in...the following will be true:
    1. You've procced Taste for Blood
    2. You've procced Sudden Death
    3. They're casting a heal


    Then do this...
    Code:
    /cancelaura Bladestorm
    /cast Overpower
    /yell 75% MS LOLZ
    /yell FREE EXECUTE LOLZ
    /cast Execute
    Then you discover their health is low enough now...so...
    Code:
    /cast Execute
    /yell KILLING BLOW BITCH!
    Then do...
    Code:
    /use Shield
    /use 1H Weapon
    /cast Defensive Stance
    /cast Shield Wall
    /yell INVINCIBLE LOLZ!
    /cast [@ArenaPartner] Intervene
    /yell TIME TO RUN AWAY LOLZ!
    When your heatlh is full, run over to the remaining enemy and smash your face into the keyboard until the screen pops up telling you how much rating you won.
    Hmm,

    I don't know what im doing wrong but when i try that macro it comes up with

    Not enough rage
    There is nothing to attack
    You have no target

    any guidance?

  15. #525
    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 Doughal View Post
    Hmm,

    I don't know what im doing wrong but when i try that macro it comes up with

    Not enough rage
    There is nothing to attack
    You have no target

    any guidance?
    One of two possibilities here:
    1. You're a helluva troll
    2. You didn't understand the beautiful hilarity of my post


    Either way...you have my pity kind sir.

Page 35 of 42 FirstFirst ... 313233343536373839 ... 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:08 AM. 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