Sign in to follow this  
Followers 0
Icepick

Macro Help

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

Just open your mount book and count down

And yes use the whole macro.

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.

1 person likes this

Share this post


Link to post
Share on other sites

Or use a mount that works as both a flying and ground mount =P

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

You can maybe fix that by milling indoors?

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

1 person likes this

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • 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
       
    • By lookathing
      Except that one works, and the other one doesn't.
       
      Polymorph Macro (Works):
       
      Counterspell Macro (Doesn't)
       
      Side by side comparison here; it's a bit wide, so I didn't want to embed the image.   I don’t see a bit of difference in the parlance, if you discount therandom bit of the polymorph macro, and that shit’s only there because I want pigs and turtles.   I have been using these macros since BC, and come WOD the counterspell one is like lolnope. I’ve taken to having to switch targets each time I need to counterspell, and that annoys me. I know that there are other macros posted on the mage page, but I want to know.... Does anybody have a clue why the counterspell macro is not working??  
    • By Gracilia
      Hello.
      I've been playing pve disc priest for a while. I have been using the addon Clique to bind my heals.
      However, I would like to try to use mouseover macros instead because they seem more versatile - for example they can be used both on the raid frame and on the characters' nameplate. I think that this would help my raid awareness during encounters.
      I've read the guide here on Icy-Veins that suggests the macro below. As stated it will cast the heal on one's current target as a default if one is not mousing over a friendly, living target.
      Here is my question: I would rather have the default to be to cast on my focus instead of my target. I always put the tank on focus and target the boss for atonement healing. I would be grateful to anyone who can tell me how to alter the macro so it will do this.
      I'm also interested in hearing how other disc priests heal using mouseover macros - just in case there is something that I can learn that I'm doing wrong. 
      Thank you very much.
      Grace
      #showtooltip Heal /cast [target=mouseover,help,nodead][]Heal This will cast Heal on your mouseover target, if it is a friendly target and it is not dead. Otherwise, it will cast heal on your current target.