• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Macro Extender

 
Project Updated:
Files Updated: Mon, Dec 21 2009
Supports Game Version: 3.3.0
Category: Miscellaneous
Tags:

, , , , , , and [Edit Tags]

Project Manager: unclego
Additional Authors: No additional authors
Current Version: MacroEx 1.0.10
License: GNU Lesser General Public License version 3 (LGPLv
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 3
Downloads Total: 2,525
Favorites: 8
Comments: 10
  • About Macro Extender
  •  

About Macro Extender


Lightweight addon that provides functions to use in macros.
Simple in function and rather small in size.
Warning this addon isn't supposed to make macros longer than 255.
I don't add rich GUI or configuration options.
If you are semi advanced user and are able to to find your saved variables files it is ok for you. If you are not - better search for something else.
IMHO there is no point to add 50-100K XML and LUA just to configure options for 10K code.

Usage

  • Instalation
    Unzip MacroEx in your \World of Warcraft\Interface\AddOns folder and run the game. Enter the world with all characters you want to use functions. Exit the game.
  • Provided functions
    MEX:SmartMount() - Dismount if you are mounted. If you are in flyable zone try to pick a flying mount, else pick a land mount.
    MEX:SmartMountLand() - Dismount if you are mounted else pick a land mount.
    Make macro : /run MEX:SmartMount()
    For druids. Because Druid forms are protected addon can't CancelUnitBuff.
    You need to do it inside macro.
    /cancelform [nocombat]
    /run MEX:SmartMount()

MEX.AutoSell() - sell all gray item to merchant. Invoked automaticaly if AutoSellGrayItems set to true.

MEX.AdvertiseTS( msg_beg, tradeskill, msg_end, channel ) - Advertise TradeSkill link. (New in 1.0.5)
msg_beg - Start of your message
tradeskill - Name of tradeskill ( "Enchanting" for example )
msg_end - End of your message
channel - channel name to spam ( "Trade - City" )
/run MEX.AdvertiseTS( "WTS ", "Enchanting", " all WotLK recipes", "Trade - City")

  • Configuration
    See provided ReadMe.txt in addon folder.
  • Known bugs and troubleshooting

    Changelog

    See provided ReadMe.txt in addon folder.

    Localizations


    So far only enGB and ruRU completed. If you want to help translate to another language or help update a language file you can post a Patch ticket with your translations and I'll include it in the next version.

    • Downloads (1)
    •  
    File Name Release Type Game Version Downloads Date
    Addon Curse.com Beta 2.3.3 0 9/29/2008
      File Name Release Type Game Version Downloads Date  
      Macro Extender MacroEx 1.0.10 Release 3.3.0 276 12/21/2009
    • 1 page(s)
    • Comments

    Add Comment  

    Add

    You need to login or register to post.

    Benefits of Registration

    • Interact with hundreds of thousands of other gamers on an open social network.
    • Post your stories, news, images, videos, and other content to share.
    • Create a network with your fellow gamers or join an existing one.
    • Gain reputation for everything you do.
    • Hi, I was wondering if this addon will help with the new /castrandom and /castsequence problems I am having with my hunter. Yes I am a lazy hunter and want to add all my instant shots to one button, but since last patch I am unable to use /castrandom. Any ideas? Thank you.

      Reply Report Permalink
    • Grub said

      they removed /castrandom for that reason. Just be pro and play ur rotation properly rather than smashing at it

      Reply Report Permalink
    • unclego said

      I'm afraid not.

      Reply Report Permalink
    • MrCroup said

      I know you cant have it call druid forms directly, but could yet set it up so that we can have it do nothing if it is a flyable area. IE, if we passed "Druid" to the function it wouldnt mount up if the area was flyable or swimmable. With that we could create a macro like.

      /cancelform [nocombat]
      /run if IsModifierKeyDown() then MEX:SmartMountLand() else MEX:SmartMount(Druid) end
      /cast [swimming]Aquatic Form;[combat]Travel Form;[flyable]Swift Flight Form


      Reply Report Permalink
    • MrCroup said

      guess I should explain what I have in that macro

      1) cancelform is obvious
      2) if I am holding a modifier key down such as shift, force a land mount
      otherwise check to see if the area is flyable/swimable, if it isnt, then call a land mount, else fall thru
      3) If I'm swimming, aquatic form, if I'm in combat, travel form, and if I can fly, flight form

      Reply Report Permalink
    • unclego said

      As i understand, you want do nothing when druid is in flyable area. I suggest you to rewrite macro and use internal helper function for flyable areas detection.
      /cancelform [nocombat]
      /run if not MEX.IsFlyableArea() then MEX:SmartMountLand() end
      /cast [swimming]Aquatic Form;[combat]Travel Form;[flyable]Swift Flight Form
      Don't know about API to detect swimmable area.

      Reply Report Permalink
    • daxdax said

      confused. Does this make macros able to be longer than 255 characters? Extends macros?

      Reply Report Permalink
    • laeg said

      Can I use this to create a standard PVP macro that is longer than 255, that is can I create my only functions? This isn't documented in the readme.txt file...

      Could you make it so we just need to put our macro in a text file in the standard syntax and in wow all the macro need to have is /runMEX.MyPVPMacro()?

      Reply Report Permalink
    • unclego said

      Macros are restricted to 255. It doesn't matter how they are created by addon code or typed by hand. Ages ago addons use some tricks to replace macros code, but now it's restricted to noncombat only, so it's totally useless.

      Reply Report Permalink
    • i am doing something wrong. When I use the simple macro /run MEX:SmartMount(), it says "No Useable Flying Mounts detected. Trying a Land one. No Useable Land Mounts Detected."

      what am I doing wrong?

      Reply Report Permalink
    • unclego said

      http://my.curse.com/downloads/wow-addons/details/macroex.aspx#358946

      Reply Report Permalink
    • darkboz said

      I have some issues regarding the detection of "class mount" like druid flightform / paladin charger etc... they don't appear automatically in the list and adding them manually doesn't work too. Any hint about that ?

      Reply Report Permalink
    • unclego said

      I have a lock and paladin and Dreadsteed and Charger work as intended.
      Class mounts are like all normal mounts after 3.0.2. They disappear from spellbook and moved to mounts tab.
      Can you check your mounts tab?
      Also (excuse me if i sound like a Blizzard support talking about "holy trinity" :D) can you disable all other addons and check again. I need to reproduce the possible bug beahvior to investigate this issue.
      One more question. Does this issues start after 3.0.8?

      Druid forms are something different.
      I was very disappointed when Blizzard broke my universal reshifting macro in Northrend. I still can't understand how hard is to add few lines of code (i do this in ten minutes to complete Northrend flyable areas detection) and make flyable modifier to work as intended.
      So i take a look for possibility to add shapeshifting to SmartMount function.
      They are considered as spells and are sitll in spell book which is handled by different API unfortunately protected. So i decide don't add any frames buttons etc to keep addon simple and small in size.

      Reply Report Permalink
    • darkboz said

      Ok i confirm class mount for paladin / dk work 100% now as you have stated 3.0.8 broken it so i've resetted the addon by deleting the LUA & made a detection again (checking mount in book + mounting it) and it's working.

      Druid flightform as you have explained are not detected because it's still a spell maybe you can add some function on the MEX:SmartMount() to do a "/cast Swift Flight form" instead of what you are doing normally, or maybe a sort of "druid detection" that will add some line in the LUA allowing us to add custom mount name that will be used with the /cast command. Anything would be awesome anyway i really like this macro for my others chars please try to give some love for my druid too ;)

      Thanks for lookin' into this, keep up the good work these functions rox :)

      PS : When i debug an addon of course i use it without anything else loaded :p

      Reply Report Permalink
    • unclego said

      This was my original idea about special handling for some classes
      1. Turn On/Off Crusader aura for paladins when mount/dismount - unfortunately Blizzard put Auras on GCD.
      2. Use Swift Fly Form form for druids intead of mount, use travel form when u try to mount in combat etc. Unfortunately as a i say before druid forms are protected.
      3. Using Ghostwolf for Shamans
      etc to make it "really smart".

      AddOns are not allowed to cast spells directly without user interaction (press a key, mouse click ... ) and even CancelUnitBuff function is not protected nor limited in any way to Blizzard event restriction at all, druid forms are still protected. This is reason druids need special macro with /cancelform.
      Releasing of this features requires adding some frames, button or whatever to make user interaction and allow to cast spell. If you remember pre TBC versions of Decursive with simple macro /decursive and 1 button spam, now you need to click MUF to decurse.
      I was almost compete druid code in initial version, but run into restrictions issue and code was removed. You can still find player class detection, entering/leaving combat events etc, but rest is gone.

      But this is really out of scope of this AddOn, it's supposed to provide only functions for macros.
      Probably in the future i make some hidden button and key bind for SmartMount in anoter addon or expand this one.

      Reply Report Permalink
    • darkboz said

      Ah yeah i remember of these limitations, too bad really but you are right the functions must remain lightweight, i'll try to find something like a super huge macro to do it for my drood. Thanks anyway :)

      Reply Report Permalink
    • kishinriki said

      Love the mod, however I have a slight problem. I'm using a macro like darkboz below, but it says no usable flying mounts detected, then no usable land mounts detected. I looked through the lua file and found the MEX:Enum_Mounts() function and ran that and it works. So when I log in, I have to first /run MEX:Enum_Mounts() before the macro works.

      It looks like it should be running when I log in, so is there some kind of conflict I'm running into?

      Reply Report Permalink
    • unclego said

      MEX:Enum_Mounts() is running every time when PLAYER_LOGIN event is fired.
      So if you learn a new mount it will be added to mounts table with default value from MountsNewDefaultUse.
      Saved Variables are saved every time when logout or reload UI.
      So if you are running addon 1st time you need to exit the game and edit saved variables file as described in ReadMe.
      ________________________________________________
      From ReadMe.txt

      * Instalation
      Unzip MacroEx in your \World of Warcraft\Interface\AddOns folder and run the game.
      Enter the world with all characters you want to use functions. Exit the game.
      ...
      * Configuration
      After this you will find in \World of Warcraft\WTF\Account\AccountName\RealmName\CharName\SavedVariables file named MacroEx.lua.
      etc.

      Reply Report Permalink
    • nineoneone said

      been there done that, still doesent work =(

      Reply Report Permalink
    • kishinriki said

      Ahh, I missed the part where I had to set the mounts to true in the var file.

      It works now, thanks for the help.

      Reply Report Permalink
    • Addon Packs Containing Macro Extender

    Most Downloads / Day

    Macro Extender has not been added to any Addon Packs yet.

    • Similar Addons
    •  

    Average downloads per day

    1. 681 Skinner Miscellaneous
    2. 522 FuBar 3.6 Miscellaneous
    3. 359 Talented Miscellaneous
    4. 242 Fishing Buddy -- Tracking Miscellaneous
    5. 222 MoveAnything Miscellaneous