Download
(124 Kb)
Download
Updated: 02-20-12 02:11 PM
Pictures
File Info
Updated:02-20-12 02:11 PM
Created:unknown
Downloads:128,688
Favorites:342
MD5:
Super Duper Macro  Popular! (More than 5000 hits)
Version: 2.4.6
by: hypehuman [More]

To view recent changes, click the "Change Log" tab at the top of this page.


Open the in-game interface by typing /sdm


This addon allows you to create macros beyond the 255-character limit, and even beyond the 1023-character macrotext limit. However, no individual line in a macro may be more than 1023 characters long (you will get a warning). The number of lines is unlimited. Super Duper Macro also allows you to share macros with your friends in-game.


This mod allows you to make two types of macros:
  • Button macros are just like regular macros, but they can be as long as you want. You cannot make an unlimited number of them; they share a limit with your regular macros (36 global and 18 character-specific for each character).
  • Floating macros do not have buttons, and are accessed by /click. You can make as many of these as you want.
  • You can also make lua scripts of unlimited length that you can call using "/sdm run <name>" or via sdm_RunScript("name")


If you find this addon useful, I encourage you to consider contributing to its development via PayPal by clicking this link. You will be showing your appreciation for the time I've spent getting this addon to the point it's at now, and you will also make it possible for me to continue to set aside time to make it even better.

Suggestions and bug reports are always welcome. You can post comments on the wowinterface.com page for this addon, or if you want to add something yourself, you can upload it in the "Optional Files" tab.


Special thanks to:
  • SuperMacro, which inspired the idea for this addon.
  • All the regulars on the UI & Macro forums, who taught me how to program for WoW.


2.4.6 (2/20/12)
*Fixed a bug where the interface sometimes inappropriately prevented you from making new macros

2.4.5 (1/17/12)
*Fixed a bug that caused the "Change Name/Icon" window to sometimes be unresponsive
*Now the "Change Name/Icon" always deselects the icon when it opens so that you don't accidentally change the icon of one of your macros

2.4.4 (12/17/11)
*Fixed a bug where the button on the macro frame that opens SDM would sometimes appear in the wrong place.

2.4.3 (11/30/11)
*Re-enabled the text that shows how many more button macros you can create

2.4.2 (11/30/11)
*Fixed a minor error that occurs when running SDM for the first time
*When attempting to pick up a macro during combat, you will get an error message created by SDM instead of Blizzard's "Interface action failed due to an addon".

2.4.1 (11/30/11)
*Updated for version 4.0 - you will lose any custom icons for your macros. Sorry!

2.4 (11/20/11)
*Fixed the Send/Receive feature; now you can share macros with your friends again, as long as you are both using the latest version.
Fixed a bug where buttons on the SDM frame would sometimes stretch away
*Many UI Improvements

2.3 (11/16/11)
*The SDM frame now hides when you press escape!
*Added more tooltips; still more to come

2.2.1 (11/15/11)
*Fixed a bug where the macro list sometimes became unclickable

2.2 (11/4/11)
*Upgraded macros will now appropriately change their icons based on the macro code (unless an icon other than the Question Mark icon was selected). If you upgraded a macro with version 2.1, you will need to manually change the icon to the Question Mark icon.
*Added a "Downgrade" button that converts a Super Duper macro into a standard macro
*Added a "Claim"/"Disown" button that allows you to have a single character-specific macro or script that applies to multiple characters
*Added a "Save As..." button that allows you to save an existing macro as a different type or character. For example, you can save a button macro as a floating macro if you want to free up a macro slot.
*Several UI improvements; more to come!

2.1 (10/19/11)
*Added an "Upgrade" button to the standard macro frame, allowing you to convert a standard macro into a Super Duper macro
*Removed an overbearing version-checking system

2.0 (10/16/11)
Incorporated compatibility updates by survivorx and ambro

1.8.3 (2/26/09)
*Changing the name of a macro will now properly update the title text above the edit box.
*Improved the "/sdm test" function. Please re-test it and submit your results!

1.8.2 (2/26/09)
*Fixed a bug that caused the image on button macros to show as a question mark more often than necessary.
*Added a command "/sdm test" that does nothing but check some nyi code. Please run this command and report the results at wowinterface.com.

1.8.1 (2/21/09)
*SDM no longer conflicts with LayMacroTooltip or with other addons that modify the macro frame.

1.8 (2/20/09)
*Added the option of creating folders to organize your macros
*Numerous minor UI improvements

1.7 (2/8/09)
*Made the macro list better
- Color-coded the different macro types
- Created a slider below the menu to adjust the size of the icons
- Added drop-down menus to filter the list by type and character
*Changed the storage of macros in preparation for a future version that will include a sortable macro list with user-defined folders
*Bug fixes
- The save confirmation dialog box now shows while dead
- Fixed a typo in the "Usage..." text for scripts

1.6.1 (1/27/09)
*Fixed a serious bug that happened upon login after leaving "different name on button" blank. You may now safely leave it blank if you wish to show no text on the button.

1.6 (1/19/09)
Changed the slash command to run a floating macro. Also added a command to run button macros. Click the "Usage..." button for more details.
*Added an interface for changing the name and icon of a macro within the SDM window.
Button macro names now conflict with each other (unless they are specific to different characters)
Disallowed some characters in macro/script names because they were causing problems. You may find that some of these problematic characters still work on button macros, for which you can select a different name in the Change Name/Icon frame.
*Changed the appearance of button macros when viewed in the default macro frame
Added a clickable, scrolling menu of macros. This will be further improved later.
*Several efficiency improvements. As a consequence, your SDM-created button macros will be removed from action bars and lose thieir icons. Sorry!

1.5.1 (1/12/09)
*Minor bug fixes

1.5 (1/12/09)
*Added the ability to share macros with other players (click "Send/Receive" to check it out!)
Fixed a bug where the Save button was sometimes inappropriately disabled

1.4.1 (1/9/09)
*Fixed a minor bug that sometimes occurred while loading

1.4 (1/8/09)
Added an option to show/hide the text on macro buttons
Fixed ">" to be more accurate
SDM will no longer attempt to create, delete, or modify macros during combat. You can still do these things, but the changes will not take effect until after combat.
*Deleting floating macros will now actually disable them
Greatly increased the efficiency of operations like saving and deleting
*Increased the limit on the length of each line to 1023, and made the number of lines limitless (actually, the maximum length of any string is 2^24 characters, so the limit is somewhere below that, but that's the length of about 20 average novels and it will probably crash your client).
*Changed the structure of the macro frames to eliminate the chance of a recently discovered "C stack overflow" error on very long macros

1.3.1 (12/16/08)
*Fixed an occasional bug with the "Get Link" and "Delete" buttons
Blocked you from attempting to make more button macros than the standard macro interface can hold

1.3 (12/15/08)
You can now use the addon to store long scripts and call them via a function or slash command.
SDM now keeps track of the button macros it creates, and deletes orphaned ones upon login. If you are upgrading from a previous version, you can delete the old button macros that SDM created (the text of the new ones all start with "#sdm").
Because of this, SDM will no longer ever replace your macros, and their names do not need to be unique at all. Floating macros and Scripts still have some restrictions on naming, you will get a warning it you try to violate them.
Added many UI improvements to make working with the addon more intuitive:
- Pressing tab will now add four spaces
- Pressing enter will now be equivalent to the appropriate button click
- Moved some buttons around to more appropriate places
- Added buttons that link between the regular macro window and the SDM window
- Buttons will now "gray out" when appropriate
- The SDM window will now become unresponsive during confirmation dialogs

1.2 (12/13/08)
Fixed a bug that caused major problems when there were no macros in the list.

1.1 (12/12/08)
More UI improvements. Some UI elements are still placeholders.

1.0 (11/13/08)
just two minor updates in code to make it 3.0-ready. More UI improvements to come!
Optional Files (2)
File Name
Version
Size
Author
Date
Type
2.5
128kB
03-04-12 10:27 PM
Patch
1.8.3-4
16kB
06-30-11 11:50 AM
Patch


Archived Files (26)
File Name
Version
Size
Author
Date
2.4.5
124kB
hypehuman
01-17-12 10:43 PM
2.4.4
124kB
hypehuman
12-17-11 09:12 AM
2.4.3
124kB
hypehuman
11-30-11 07:03 PM
2.4.2
124kB
hypehuman
11-30-11 05:53 PM
2.4.1
123kB
hypehuman
11-30-11 03:12 AM
2.4
123kB
hypehuman
11-20-11 05:39 AM
2.3
57kB
hypehuman
11-16-11 09:21 PM
2.2.1
55kB
hypehuman
11-15-11 12:57 PM
2.2
55kB
hypehuman
11-04-11 01:46 PM
2.1
28kB
hypehuman
10-19-11 01:48 AM
2.1
29kB
hypehuman
10-16-11 10:53 AM
1.8.3
29kB
hypehuman
02-26-09 09:23 PM
1.8.3
28kB
hypehuman
02-25-09 11:20 PM
1.8.1
25kB
hypehuman
02-21-09 11:24 AM
1.8
25kB
hypehuman
02-20-09 11:38 AM
1.7
23kB
hypehuman
02-08-09 11:13 PM
1.6.1
21kB
hypehuman
01-27-09 10:55 PM
1.6
21kB
hypehuman
01-19-09 08:50 PM
1.5.1
18kB
hypehuman
01-12-09 09:12 PM
1.5
17kB
hypehuman
01-12-09 05:46 PM
1.5
14kB
hypehuman
01-09-09 04:20 AM
1.4
13kB
hypehuman
01-08-09 11:12 PM
1.3.1
10kB
hypehuman
12-16-08 12:46 PM
1.3
10kB
hypehuman
12-15-08 06:55 PM
1.2
8kB
hypehuman
12-13-08 09:59 AM
1.1
8kB
hypehuman
12-12-08 03:06 AM


Post A Reply Comment Options
Unread 01-16-09, 03:07 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 81
Uploads: 8
Well I have good and bad news for your problems, deep. The first one (the icon not always showing) is a bug that I'm aware of; it comes about because lines of the macro that are shunted off to the added frames are not evaluated by the macro button. I think there are ways around this, but it seems like they would be quite memory-intensive (involving the scanning of every macro on your bars on every OnUpdate and running the macro-icon-generating function on the entire code). If there's anyone who can give me some ideas on how to do this better, please let me know.

As for the second problem, I have it fixed in the next version. There are some more features I want to add before pushing it out, but rest assured that you will be able to scroll through your macros very soon
Last edited by hypehuman : 01-16-09 at 03:10 PM.
hypehuman is offline Report comment to moderator  
Reply With Quote
Unread 01-16-09, 03:09 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 81
Uploads: 8
Originally posted by Dekarx
As when you finally get to see a doctor after hours of waiting, everything seems fine now.

I had been using the macro for a day or 2 when I started getting DC'd every mob I mashed it on. I switched it for a good old normal shorter macro and I could play fine, switched back to it mid-instance to make sure it was the problem and DC'd first mob I used it on.

Today it's working fine. /shrug
I'm glad to know that your macro is working now. Nevertheless, I would still be interested in seeing the macro, just so I can make sure it's not a problem with the addon. If you could post it, I would be eternally grateful.
hypehuman is offline Report comment to moderator  
Reply With Quote
Unread 01-16-09, 06:38 PM  
Dekarx
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Actually I did some research after seeing my fps destroyed using that macro(sometimes up to DCing), with SDM or in a shorter normal macro.

I found those interesting things on EJ forums posted in 2007:
"macros with conditionals are constantly tested for accuracy"
"Macros with conditions may cause UI errors even when they are not being used"

Supposedly planned to be fixed in a later patch, but saw a few posts of people having the same problem I did(fps dropping from 60 to 5 in fights) from Dec 2008. Sure enough, I tested renaming my macro files and only kept the SDM dps macro and had no drop in fps.

I logged on an old unused warrior and deleted the stance condition macros(if in battle do X, if in defensive do Y...) and LITERALLY saw my FPS go up as I deleted those 4-5 macros(from a stable 40 to a stable 44fps, standing there looking at a wall).

In conclusion, the addon seems fine I love it and everything is peachy yet. I'll be testing this in Naxx 25 next Tuesday, where I used to drop to 3FPS with every settings on minimum(C2D3ghz, 4gb ram, 8800GTS).
Last edited by Dekarx : 01-16-09 at 06:43 PM.
Dekarx is offline Report comment to moderator  
Reply With Quote
Unread 01-16-09, 07:58 PM  
malaika
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Does this mean we will not be able to see the button? This is frustrating when using a /castsequence.


Originally posted by hypehuman
Well I have good and bad news for your problems, deep. The first one (the icon not always showing) is a bug that I'm aware of; it comes about because lines of the macro that are shunted off to the added frames are not evaluated by the macro button.
malaika is offline Report comment to moderator  
Reply With Quote
Unread 01-16-09, 11:23 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 81
Uploads: 8
Originally posted by malaika
Does this mean we will not be able to see the button? This is frustrating when using a /castsequence.
If the castsequence extends beyond the first 200-250 characters or so, then yes. I do want to put in a fix for this eventually, I just haven't figured out how yet.
hypehuman is offline Report comment to moderator  
Reply With Quote
Unread 01-19-09, 08:59 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 81
Uploads: 8
1.6

Happy MLK day everyone! I hope you like some of the new features in 1.6. I have a question about the direction I should take the macro menu, and I made a forum post so that we can discuss it.
hypehuman is offline Report comment to moderator  
Reply With Quote
Unread 01-20-09, 02:50 PM  
thelys
A Defias Bandit

Forum posts: 2
File comments: 30
Uploads: 0
Firstly, thanks so much for this absolute must!
Now I have a little problem: the macros' icons on the left of the window are simply huge, for some reason, like 2x2 the size of normal ones. I disabled all my addons just to verify it's not an incompatibility problem with one of them: same result. I use a french client on a french server, don't know if it could be the cause.
thelys is offline Report comment to moderator  
Reply With Quote
Unread 01-20-09, 03:32 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 81
Uploads: 8
Originally posted by thelys
...the macros' icons on the left of the window are simply huge, for some reason,...
There's nothing wrong with your client, I just made them really big. Since the icon textures are 64x64, I figured I would make them that size so that they could show in all their glory. However, I found out last night that the "pixels" used by the UI don't necessarily match your monitor's resolution, so they might be a bit too large. I'll probably make them smaller in the next patch, and if it really bothers people to have them bigger than the default macro buttons, I'll make it even smaller.

EDIT: I think I may have just found a use for the little gold-outlined portion in the bottom-left of the window (where the AH frame shows how much money you have). Button size slider!
Last edited by hypehuman : 01-20-09 at 03:38 PM.
hypehuman is offline Report comment to moderator  
Reply With Quote
Unread 01-21-09, 01:44 PM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
Haha, nice idea :P
Is there a problem with 3.0.8? cause some macro's seem to be broken..

Check on the forum, I think I'm the only one responding tho ;p
__________________
Stupid sig #666
Last edited by deep92 : 01-21-09 at 02:57 PM.
deep92 is offline Report comment to moderator  
Reply With Quote
Unread 01-22-09, 04:27 AM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
About the image issue, if you're able to add your (as addon author) code for macro's then you could make players able to change the images/tooltips themselfs in the midst of the macro. Instead of only being able to pick an image or use #showtooltip/#show.

Like using some sort of conditional with {} or <> I don't know
Say: {sdm [imagename]}

example macro: (This is within the 255 character limit, 212 chars, but just see it as if the last line exceeds it)
Code:
/cast [stance:3, nocombat, mod:shift] Intercept
/cast [stance:1, nocombat] Charge
/cast [nostance:1, nocombat, nomod:shift] Battle Stance
/cast [stance:3, combat] Intercept
/cast {sdm Berserker Stance} [nostance:3, combat] Berserker Stance
The first 4 lines are within the 255 limit, then the last line is missing the image because it's outside the 255 limit, using {sdm Berserker Stance} will make that line show the Berserker Stance Image.

I don't know if it's possible, but it's an idea
__________________
Stupid sig #666
deep92 is offline Report comment to moderator  
Reply With Quote
Unread 01-22-09, 06:17 PM  
thelys
A Defias Bandit

Forum posts: 2
File comments: 30
Uploads: 0
Originally posted by hypehuman
There's nothing wrong with your client, I just made them really big. Since the icon textures are 64x64, I figured I would make them that size so that they could show in all their glory.
Well, my only concern about the size of the icons is that I have a certain number of macros so I have to scroll the menu to reach the later ones, while I would have all of them on the screen at once if the icons were of the normal size. So if there's a way to have them only 64x64 I'm interested, for clarity reasons.

PS: while waiting for a new version, could you tell me here what to change in the lua/xml to have icons 64x64 please?
Last edited by thelys : 01-22-09 at 06:36 PM.
thelys is offline Report comment to moderator  
Reply With Quote
Unread 01-23-09, 02:49 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 81
Uploads: 8
Originally posted by thelys
PS: while waiting for a new version, could you tell me here what to change in the lua/xml to have icons 64x64 please?
It would be kind of complicated to get it to any specific number of pixels (see this thread for more info), but I can tell you what to do in the mean time. Go into SuperDuperMacro.xml (line 7) and reduce both the "64"s to whatever you want (the size in the standard macro frame is 36x36). Then find the "70"s (in lines 3, 19, 170, and 174) and change all of those to about 110% of what you changed the "64"s to.

EDIT: oh yeah... thanks for reminding me about the highlight
Last edited by hypehuman : 01-23-09 at 06:44 PM.
hypehuman is offline Report comment to moderator  
Reply With Quote
Unread 01-23-09, 05:40 PM  
thelys
A Defias Bandit

Forum posts: 2
File comments: 30
Uploads: 0
I used values 36 and 40, worked greatly thanks. Modified the highlight too
thelys is offline Report comment to moderator  
Reply With Quote
Unread 01-25-09, 07:25 AM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
Small, annoying bug
I used /reloadui, after that non of my sdm macros worked anymore. They were in the list, but not on the bars and without an image.
Maybe some issue with saving the macros while playing? Idk..
__________________
Stupid sig #666
deep92 is offline Report comment to moderator  
Reply With Quote
Unread 01-25-09, 01:28 PM  
hypehuman
A Deviate Faerie Dragon
 
hypehuman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 81
Uploads: 8
Originally posted by deep92
Small, annoying bug
I used /reloadui, after that non of my sdm macros worked anymore. They were in the list, but not on the bars and without an image.
Maybe some issue with saving the macros while playing? Idk..
Hmm... I do that all the time, and this has never happened to me. It actually removed your icons and bar positions? Was this the first time you loaded version 1.6 of this addon? Because that's what it does the first time.
hypehuman is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.