Icepick

Macro Help

Sign in to follow this  

15 posts in this topic

Hey. Looking for help on a basic handy to have type Macro.

After a quick search i see there are plenty of macros for specific classes but I want a general one made up.

 

A couple of yrs ago while i was still running around on ground mounts on my priest i'd made one that helped with FARMING.

 

I would ride up (on ground mount) click on the Herb and it would dismount me, Harvest the Herb and then remount me afterwards so i could ride on and get the next one.

 

After some reading and experimenting I got that to work. I don't have the macro anymore and don't remember how I did it.

 

If any gifted individual with macros could help on this I'd appreciate it. 

I now farm typically on the Panda Red flying disc for visibility reasons and i use it on my Ore farming toons and my Herb farming toons.

 

I remember the macro had something to do with if/when a focus was there or gone.

 

M.

Share this post


Link to post
Share on other sites

Nope, still not got it. Good write up but not got it figured out yet.

Wondering   how /if  an object can be a target / focus  ?

Share this post


Link to post
Share on other sites

Looks like I was wrong.

/run local f=AtH or CreateFrame("Frame","AtH") f:SetScript("OnEvent",function() CallCompanion("MOUNT",1) end) f:RegisterEvent("LOOT_CLOSED") 

This is a clever piece of code..  This is the reason why I kinda wish I knew more about the wow API.   It finds out once you loot something and waits for that event, when it happens it calls the mount function..  Pretty neat..  I definitely didn't have the insight to do that, but i see how it works.

 

Change the number (currently a 1) to the mount of your choice from your mount book.

 

You have to press this macro each time you open wow, but it does what you want it seems

Share this post


Link to post
Share on other sites

Yes !  Lazy gatherer.... I remember seeing this one yrs ago. I need to figure out how to modify it so it works with specific mounts. I"m not sure the # of the one i want to use but i think I should be able to describe it by name..... no ? (red flying cloud)

 

And if i must press this macro each time I open wow.... how about Each time i go into Farm Mode.

For instance i've just que'd for a dungeon I could have 20-45 min. wait, I might like to go pick flowers.

I'd like to hit Farmmode (which changes my mini map) and head out to go farming Herbs. My Que comes up I'd like to click Farmmode macro again to shut it off. that way i'm not trying to mount my flying trash can lid every time i loot monsters.

 

Does this sound do able ? Or maybe the "Looting" could be specific to only include  Herbs/ ore. I don't think i've ever seen Ore drop off of a dead monster/crittter.

 

Although it would be handy to farm cloth..........

 

/run local f=AtH or CreateFrame("Frame","AtH") f:SetScript("OnEvent",function() CallCompanion("MOUNT",1) end) f:RegisterEvent("LOOT_CLOSED") 

 

Is all of this text necessary or does the "or" only describe an option to the reader ?

Edited by Icepick

Share this post


Link to post
Share on other sites

Ok, copied the macro couldn't paste.  Pasted it in word pad printed it and typed it out. Macro didn't work. Checked , rechecked 3-4 times, got wife to check. didn't work. changed mount number, reloaded ui. Still didn't work. (pulled out more hair).

Went back to origional site, re read from the top... suggested  Ctrl V (d'oh, forgot about that) Went back in deleted what was done did the control V. Saved, clicked, 

 

MARCO WORKS, Yeah !!

 

Works on any type of loot. changed mount, still worked.

Now...... if I could get it to call a flying mount in flying zones and a ground mount in No fly zones it would be perfect.

 

Thanks guys.

M.

Share this post


Link to post
Share on other sites

Might be able to build this in,

/run if not IsMounted() then local g,f,x={G,G,G},{F,F,F},strfind local t=(IsFlyableArea() and not IsShiftKeyDown()) and f or g CallCompanion("MOUNT",t[random(#t)]) end     
/dismount

Replace G and F with the number of the mounts you want. (Ground and flying respectively) for example "{4,11,27},{7,8,16}"

So what this does is it checks what zone you are in and if you can fly. if you can fly it will choose a random mount out of the ones you choose (The numbers) and it will choose a random ground mount of your choice if you can't fly. Holding shift will cause you to select a random ground mount as well.

You can have as many numbers in the curly brackets as you can fit. The numbers are just the order they are in in the mount journal. Abyssal seahorse is 1 for most people.

  • Like 1

Share this post


Link to post
Share on other sites

I havn't tried the flying  vs. ground mount bit yet. (Red flying clould would do both) But I did pass on the macro to Jr. and he'd noticed that everytime you MILL AN HERB it tries to remount you.........hhmmmmm.

Gotta find an off switch short of relogging.

 

M.

Share this post


Link to post
Share on other sites

Yes that works to stop the mount and gives you a message every time saying can't do that here. While that stops you from getting on your mount it doesn't make it right.

Share this post


Link to post
Share on other sites

I mean, maybe its just casue I'm a programmer and I've been there before, but i just seems you're doing too much work to be lazy =P

  • Like 1

Share this post


Link to post
Share on other sites

This one's a little different but its one Ive been using for a long time.

/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=2,GetNumCompanions(m) do tinsert(t[bit.band(2,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end

this macro will summon a random flying mount if you're in a flying zone, or a random ground mount if you're not (including fliers that can walk on the ground).
The only problem is it attempting to summon Qiraji mounts that aren't usable outside of AQ.

 

Works like a charm. maybe it's possible to even link this one to the one you're using for automounting. I wouldnt know how tho.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Djingy
      Title, died to Trilliax during Annihilation when using DoS. Stupid on my part but just wondering if theres a cancelaura for it and/or other trinkets. Thanks
    • By Bruddawulf
      I am Disabled Slightly So Macro's help me by activating 2+ abilities per macro. Hope this helps others as well:
      1)   This Macro allows the Paladin to Self Heal constantly, for every 3 Shield of the Righteous you receive 2 Light of the Protector.
      #showtooltip Shield of the Righteous
      /cast Shield of the Righteous
      /stopcasting
      /cast Light of the Protector
       
      2)   This Macro Activates Hand of Reckoning every time you use Judgement. The Cooldown on Judgement is much faster than on Hand of Reckoning so you get Hand activating once per 2 Judgements.
      #showtooltip Judgment
      /cast Judgment
      /stopcasting
      /cast Hand of Reckoning
       
      3)    Eye of Tyr shares the exact same CD as  [Gift of Radiance] Lowest Trinket, which Pierces your Target with a Spear of Light dealing 77,681 Holy Damage & Stunning said Target for 5 seconds (Eye of Tyr &  [Gift of Radiance] both share a 60 second GCD.
      #showtooltip Eye of Tyr(Artifact)
      /cast Eye of Tyr(Artifact)
      /stopcasting
      /use 14
      For those Players that do not know the Item Slot Number here are the Slot Numbers & Locations;
        Head = 1, Neck = 2, Shoulder = 3, Shirt = 4, Chest = 5, Belt = 6, Legs = 7, Feet = 8, Wrist = 9, Gloves = 10, Finger 1 (Top)= 11, Finger 2 (Bottom)= 12, Trinket 1 (Top)= 13, Trinket 2 (Bottom)= 14, Back= 15, Main Hand= 16,,Off Hand= 17, Tabard =19
       
      That's Right For Those of You wishing to Activate Talbards such as  [Theramore Tabard] here is what you would type;
      #showtooltip Theramore Tabard
      /use 19
      /e proudly plants his Theramore Flag for all can see.
       
      Here is what happens when you activate this macro (let's say I use it on my Paladin)
      Captamerica activates the macro,  use 19 activates whatever is in the Tabard Slot, The Theramore Flag appears,  then Captamerica emotes the following (shows up as Orange in the general chat window,  Captamerica proudly plants his Theramore Flag for all can see. 
      This macro has no real game value it is more of an Role Playing macro.
       
    • By Archimage
      Macros for mage talents in 7.1 just putting it out there:   Frost: /use [talent:1/1] Ray of Frost; [talent:1/2] Lonely Winter; [talent:1/3] Bone Chilling
      /use [talent:2/1] Shimmer; [talent:2/2] Cauterize; [talent:2/3] Cold Snap
      /use [talent:3/1] Mirror Image; [talent:3/2] Rune of Power; [talent:3/3] Incanter's Flow
      /use [talent:4/1] Ice Nova; [talent:4/2] Frozen Touch; [talent:4/3] Splitting Ice
      /use [talent:5/1] Ice Floes; [talent:5/2] Ring of Frost; [talent:5/3] Ice Ward
      /use [talent:6/1] Frost Bomb; [talent:6/2] Unstable Magic; [talent:6/3] Artic Gale
      /use [talent:7/1] Thermal Void; [talent:7/2] Glacial Spike; [talent:7/3] Comet Storm   Fire: /use [talent:1/1] Pyromaniac; [talent:1/2] Conflagration; [talent:1/3] Firestarter
      /use [talent:2/1] Shimmer; [talent:2/2] Cauterize; [talent:2/3] Cold Snap
      /use [talent:3/1] Mirror Image; [talent:3/2] Rune of Power; [talent:3/3] Incanter's Flow
      /use [talent:4/1] Blast Wave; [talent:4/2] Flame ON; [talent:4/3] Controlled Burn
      /use [talent:5/1] Ice Floes; [talent:5/2] Ring of Frost; [talent:5/3] Ice Ward
      /use [talent:6/1] Living Bomb; [talent:6/2] Unstable Magic; [talent:6/3] Flame Patch
      /use [talent:7/1] Kindling; [talent:7/2] Cinderstorm; [talent:7/3] Meteor   Arcane: /use [talent:1/1] Arcane Familiar; [talent:1/2] Presence of Mind; [talent:1/3] Words of Power
      /use [talent:2/1] Shimmer; [talent:2/2] Cauterize; [talent:2/3] Cold Snap
      /use [talent:3/1] Mirror Image; [talent:3/2] Rune of Power; [talent:3/3] Incanter's Flow
      /use [talent:4/1] Supernova; [talent:4/2] Charged Up; [talent:4/3] Resonance
      /use [talent:5/1] Ice Floes; [talent:5/2] Ring of Frost; [talent:5/3] Ice Ward
      /use [talent:6/1] Nether Tempest; [talent:6/2] Unstable Magic; [talent:6/3] Erosion
      /use [talent:7/1] Overpowered; [talent:7/2] Quickening; [talent:7/3] Arcane Orb     General Focus Macros: /cast [@focus, exists, nodead][] Polymorph
      /cast [@focus, exists, nodead][] Counterspell
    • By Corvin1313
      Hey everyone... 
      So, I am having some troubles find a good keybind layout that I feel comfortable with for all three specs. I was wondering if anyone wanted to post their keybinds and any macros that they use to make things a little easier? 
    • By NoMAM
      dear WOWs,
       
      can you help or find if can be done that, a Macro can be to created to caste spell harm or help in series?
       
      like clicking only one that well cast the spells in sequence.
       
      thanks NoMAM