Download
(60Kb)
Download
Updated: 10-01-19 01:47 AM
Pictures
File Info
Compatibility:
BfA content patch (8.2.5)
Rise of Azshara (8.2.0)
Updated:10-01-19 01:47 AM
Created:unknown
Downloads:230,108
Favorites:349
MD5:
Categories:Miscellaneous, Utility Mods, Developer Utilities, WoW Tools & Utilities

Super Duper Macro  Popular! (More than 5000 hits)

Version: 8.2.5.0
by: hypehuman, spiralofhope

This addon is under new maintenance

WowInterface will be kept up-to-date, but still needs to be cleaned up a bit. The source code, a list of all past releases, documentation, and issue tracker, can be found at:

https://github.com/spiralofhope/SuperDuperMacro

This description still needs to be audited.

----

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")


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.


Alternately, create a pull request to my GitHub repo: https://github.com/hypehuman/super-duper-macro


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.


See CHANGELOG.markdown within this zip file or online at:

https://github.com/spiralofhope/SuperDuperMacro/blob/master/CHANGELOG.markdown
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


Post A Reply Comment Options
Unread 09-01-17, 08:45 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Originally Posted by Zindex
This addon makes the sound also for when I open the map which is annoying.
I agree.

https://github.com/spiralofhope/Supe...Macro/issues/2
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 09-01-17, 08:42 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Re: Re: Updated!

[quote=androlite]
Originally Posted by spiralofhope
Thanks for the update. Could you also fix the alignment of text in the text box please? The alignment offsets as the line goes down.
No.

This seems to be a problem on Blizzard's end. I'm struggling with it on another addon. Notes are here:

https://github.com/spiralofhope/_DevPad.GUI/issues/1

I know of the problem and I'll keep on top of it. Someone else has to fix this, and I'll copy their solution or wait for Blizzard to fix it.
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 09-01-17, 09:31 AM  
androlite
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Updated!

Originally Posted by spiralofhope
Thanks for the update. Could you also fix the alignment of text in the text box please? The alignment offsets as the line goes down.
Report comment to moderator  
Reply With Quote
Unread 08-29-17, 06:03 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Updated!

__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 12-26-15, 03:05 AM  
Zindex
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
This addon makes the sound also for when I open the map which is annoying.
Report comment to moderator  
Reply With Quote
Unread 09-17-15, 10:57 AM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Originally Posted by Xeco
Hello,I've just noticed that the macro I've created, as well as the new macro I'm creating doesn't show one the list anymore.
The solution was posted earlier.


Originally Posted by DagonX
I know that it is in no way a true "fix" for the addon, but maybe some ppl can get a use out of it until a proper patch is released
TL;DR it worked in the end.

Strangely, I only used to get errors upon login, but after playing with MacroToolkit and then switching back to SDM I'm getting the error when closing pretty much any dialog, just as you described.

Then I applied your fix, which didn't work. In fact, SDM was busted, showing a blank panel.

Then I exited, restored my SDM savedvariable from backup, made the .lua edit you recommended, logged back in and everything worked.

Thanks.. I think. =) I'm technically back where I started.

(edit: in the middle of all this, macrotoolkit got re-enabled, which probably screwed things up)
__________________
spiralofhope.com
Last edited by spiralofhope : 09-17-15 at 11:28 AM.
Report comment to moderator  
Reply With Quote
Unread 06-06-15, 06:53 AM  
Xeco
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Hello,

I've just noticed that the macro I've created, as well as the new macro I'm creating doesn't show one the list anymore.

When I create a new macro, I can see that the number of macros that I have is increasing, but nothing show on the list, and I can't see them.

The only thing that I can rembmer having doing differently, is that some days ago, I created a macro and I gave it the icon of a treasure map, something like that.

Do you know how can I see my macro ?

Thanks
Report comment to moderator  
Reply With Quote
Unread 03-05-15, 08:22 PM  
DagonX
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I recently tried to use SDM again, as I love the functionality it provides with macros. Unfortunatley it throws an error whenever I do right about anything (open/close the map, open/close the game menu, etc.).
On top of that there is a bug which doesn't let me create new macros and the addon deleted some of my old macros.
I decided to have a look at the line in which the error occurs:
SuperDuperMacro_interface.lua:430
Code:
				if mTab.icon:upper() == sdm_defaultIcon and mTab.type=="b" and (sdm_UsedByThisChar(mTab)) then
					_,texture = GetMacroInfo(sdm_GetMacroIndex(mTab.ID))
				else
					texture = "INTERFACE\\ICONS\\"..mTab.icon
				end
The error being that mTab.icon is a nil value and can therefore not be indexed. After checking for a nil value, mTab.icon sometimes is a number value which can not be indexed.
So here's my Quick&Dirty workaround, which allowed me to restore it to full functionality (even my old macros re-appeared and I was able to save new ones!):
Code:
			if mTab.icon ~= nil and type(mTab.icon) ~= "number" then
				if mTab.icon:upper() == sdm_defaultIcon and mTab.type=="b" and (sdm_UsedByThisChar(mTab)) then
					_,texture = GetMacroInfo(sdm_GetMacroIndex(mTab.ID))
				else
					texture = "INTERFACE\\ICONS\\"..mTab.icon
				end
			end
I know that it is in no way a true "fix" for the addon, but maybe some ppl can get a use out of it until a proper patch is released
Report comment to moderator  
Reply With Quote
Unread 02-11-15, 07:04 PM  
Baeon
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Problem assigning Icon

Originally Posted by Baeon
i recently made a macro and assigned the icon for the heart shaped box to it. as soon as this happened, ALL global macros vanished from my list.

is there a fix for this? i dont want all my macros to have to use the ? icon.
ok, i figured out a (painful) fix to this. if you happen to know which icon you are trying to assign, you can go to wowwiki, look up the item, and then click on the icon, it will give you the "name" of the icon, which you can then manually enter into the lua for superdupermacro. currently, SDM is using the numbers for some of the icons, which gives the error that many of us have noticed. in order to work, the icon must be referenced by name.
Report comment to moderator  
Reply With Quote
Unread 02-11-15, 06:43 PM  
Baeon
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Problem assigning Icon

i recently made a macro and assigned the icon for the heart shaped box to it. as soon as this happened, ALL global macros vanished from my list.

is there a fix for this? i dont want all my macros to have to use the ? icon.
Report comment to moderator  
Reply With Quote
Unread 01-21-15, 12:51 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Re: Re: Re: Macro not working

Originally Posted by Sand23
This error pops up as soon as I log on any toon, additionally it won't let me make/keep any new macros i make. I don;t get an error message when I use this addon alone but it still won;t let me create/keep new macros I make.
1 - Exit WoW

2 - Back up your SuperDuperMacro.lua - It will be in a directory something like this:

WTF\Account\YOUR_ACCOUNT_NAME\SavedVariables\SuperDuperMacro.lua

(do not tell anyone your account name)

3 - Delete SuperDuperMacro.lua

4 - Log in with all other addons disabled.

5 - Create a macro

6 - Test if it will let you save it.

What you're doing to test this? Making one, logging out and logging back in on the same character?

If it lets you save a new macro, then enable all your addons and test again.

If you have old macros you want to rescue from your backup SuperDuperMacro.lua, let me know.

--

The one problem I know about is setting an icon for an item which is very low on the list of icons. Otherwise, it works perfectly for me.
__________________
spiralofhope.com
Last edited by spiralofhope : 01-21-15 at 12:52 PM.
Report comment to moderator  
Reply With Quote
Unread 12-30-14, 06:39 PM  
Sand23
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Macro not working

Originally Posted by spiralofhope
Originally Posted by Sand23
Date: 2014-12-30 09:56:20
ID: 1
Error occured in: Global
1) What's the macro? Is it the one below?

Code:
#showtooltip Arcane Blast
/targetenemy [noharm,dead]
/startattack
/castsequence [nochanneling] reset=combat/5 Arcane Blast,Arcane Blast,Arcane Blast,Arcane Blast,Arcane Barrage
/castsequence [nochanneling] reset=0.5 !Arcane Missiles
/castsequence [nochanneling] reset=0.5 Supernova
/cast [combat,nochanneling] Presence of Mind
/script UIErrorsFrame:Clear()
2) Does this error happen with all other addons disabled?



This error pops up as soon as I log on any toon, additionally it won't let me make/keep any new macros i make. I don;t get an error message when I use this addon alone but it still won;t let me create/keep new macros I make.
Last edited by Sand23 : 12-30-14 at 06:47 PM.
Report comment to moderator  
Reply With Quote
Unread 12-30-14, 03:13 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Re: Macro not working

Originally Posted by Sand23
Date: 2014-12-30 09:56:20
ID: 1
Error occured in: Global
1) What's the macro? Is it the one below?

Code:
#showtooltip Arcane Blast
/targetenemy [noharm,dead]
/startattack
/castsequence [nochanneling] reset=combat/5 Arcane Blast,Arcane Blast,Arcane Blast,Arcane Blast,Arcane Barrage
/castsequence [nochanneling] reset=0.5 !Arcane Missiles
/castsequence [nochanneling] reset=0.5 Supernova
/cast [combat,nochanneling] Presence of Mind
/script UIErrorsFrame:Clear()
2) Does this error happen with all other addons disabled?
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 12-30-14, 08:59 AM  
Sand23
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Macro not working

Date: 2014-12-30 09:56:20
ID: 1
Error occured in: Global
Count: 10
Message: ...AddOns\SuperDuperMacro\SuperDuperMacro_Interface.lua line 430:
attempt to index field 'icon' (a number value)
Debug:
...AddOns\SuperDuperMacro\SuperDuperMacro_Interface.lua:430: sdm_UpdateList()
...ce\AddOns\SuperDuperMacro\SuperDuperMacro_Frames.lua:16:
...ce\AddOns\SuperDuperMacro\SuperDuperMacro_Frames.lua:14
[C]: Show()
...ce\AddOns\SuperDuperMacro\SuperDuperMacro_Frames.lua:32:
...ce\AddOns\SuperDuperMacro\SuperDuperMacro_Frames.lua:31
[C]: ?
[C]: securecall()
..\FrameXML\UIParent.lua:2662: CloseWindows()
..\FrameXML\UIParent.lua:2690: CloseAllWindows()
..\FrameXML\UIParent.lua:980:
..\FrameXML\UIParent.lua:789
Locals:
f = nil
sorted = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
}
offsets = <table> {
1 = 0
2 = 0
3 = 0
4 = 0
}
listItem = sdm_ListButton1 {
0 = <userdata>
highlight = <unnamed> {
}
isContainerFrame = false
slotIcon = <unnamed> {
}
text = <unnamed> {
}
icon = <unnamed> {
}
buttonHighlight = <unnamed> {
}
}
isContainer = false
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
}
(for control) = 1
i = 1
mTab = <table> {
type = "b"
name = "Arcane"
ID = 1
text = "#showtooltip Arcane Blast
/targetenemy [noharm,dead]
/startattack
/castsequence [nochanneling] reset=combat/5 Arcane Blast,Arcane Blast,Arcane Blast,Arcane Blast,Arcane Barrage
/castsequence [nochanneling] reset=0.5 !Arcane Missiles
/castsequence [nochanneling] reset=0.5 Supernova
/cast [combat,nochanneling] Presence of Mind
/script UIErrorsFrame:Clear()"
icon = 133253
}
(*temporary) = 133253
(*temporary) = 133253
(*temporary) = sdm_ListButton1 {
0 = <userdata>
highlight = <unnamed> {
}
isContainerFrame = false
slotIcon = <unnamed> {
}
text = <unnamed> {
}
icon = <unnamed> {
}
buttonHighlight = <unnamed> {
}
}
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "CENTER"
(*temporary) = <userdata>
(*temporary) = <userdata>
(*temporary) = "attempt to index field 'icon' (a number value)"

AddOns:
Swatter, v5.0.0 (<%codename%>)
NPCScan, v6.0.3.4
NPCScanOverlay, v6.0.3.4
AtlasLoot, vv8.00.00beta5
AucAdvanced, v5.21c.5521 (SanctimoniousSwamprat)
AucFilterBasic, v5.21c.5521 (SanctimoniousSwamprat)
AucFilterOutlier, v5.21c.5521.5459(5.21c/embedded)
AucMatchUndercut, v5.21c.5521.5507(5.21c/embedded)
AucStatHistogram, v5.21c.5521 (SanctimoniousSwamprat)
AucStatiLevel, v5.21c.5521 (SanctimoniousSwamprat)
AucStatPurchased, v5.21c.5521 (SanctimoniousSwamprat)
AucStatSales, v5.21c.5521.5476(5.21c/embedded)
AucStatSimple, v5.21c.5521 (SanctimoniousSwamprat)
AucStatStdDev, v5.21c.5521 (SanctimoniousSwamprat)
AucStatWOWEcon, v5.21c.5521.5323(5.21c/embedded)
AucUtilAHWindowControl, v5.21c.5521.5347(5.21c/embedded)
AucUtilAppraiser, v5.21c.5521.5495(5.21c/embedded)
AucUtilAskPrice, v5.21c.5521.5447(5.21c/embedded)
AucUtilAutoMagic, v5.21c.5521.5443(5.21c/embedded)
AucUtilCompactUI, v5.21c.5521.5496(5.21c/embedded)
AucUtilEasyBuyout, v5.21c.5521.5507(5.21c/embedded)
AucUtilFixAH, v5.21c.5521 (SanctimoniousSwamprat)
AucUtilItemSuggest, v5.21c.5521.5417(5.21c/embedded)
AucUtilPriceLevel, v5.21c.5521.5458(5.21c/embedded)
AucUtilScanButton, v5.21c.5521.5403(5.21c/embedded)
AucUtilScanFinish, v5.21c.5521.5515(5.21c/embedded)
AucUtilScanProgress, v5.21c.5521.4979(5.21c/embedded)
AucUtilScanStart, v5.21c.5521.5347(5.21c/embedded)
AucUtilSearchUI, v5.21c.5521.5515(5.21c/embedded)
AucUtilSimpleAuction, v5.21c.5521.5514(5.21c/embedded)
AucUtilVendMarkup, v5.21c.5521.4828(5.21c/embedded)
Babylonian, v5.1.DEV.332(/embedded)
BeanCounter, v5.21c.5521 (SanctimoniousSwamprat)
Configator, v5.1.DEV.376(/embedded)
DBMCore, v
DBMDefaultSkin, v
DBMLDB, v
DBMSpellTimers, v
DBMStatusBarTimers, v
DebugLib, v5.1.DEV.337(/embedded)
Gatherer, v5.0.0
HandyNotes, vv1.3.2
HandyNotesDraenorTreasures, v1.07
HandyNotesTimelessIsleRareElites, v2.32
HandynotesTimelessTreasures, v1.0.2
HandyNotesTreasureHunter, v1
Informant, v5.21c.5521 (SanctimoniousSwamprat)
LibExtraTip, v5.12.DEV.363(/embedded)
LibSharedMedia30, v3.0-89
Prat30, v3.5.10
Prat30Libraries, v
RareCoordinator, v
Skada, v1.4-27
SlideBar, v5.0.0 (<%codename%>)
SpellFlash, v6.17
SpellFlashCore, v2.0.5
Stubby, v5.21c.5521 (SanctimoniousSwamprat)
SuperDuperMacro, v2.6.1
TipHelper, v5.12.DEV.351(/embedded)
TomTom, vv60000-1.1.1
BlizRuntimeLib_enUS v6.0.3.60000 <none>
(ck=992)
Report comment to moderator  
Reply With Quote
Unread 12-09-14, 07:57 AM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Re: Re: Re: Re: Can't see macros

Wonderful addon. I still use it heavily after all this time. I have extremely complex macros and code which are essential to my gameplay.

Originally Posted by Blanckaert
Also getting this creating a macro and assigning an icon to it... I did delete SDM and lua/lua.bak files and re installed, but same thing. any other ideas?
I believe I have this same problem.

I noticed that when I assign a custom icon, all entries underneath that one are removed from the list. I can re-edit that entry and change the icon back to '?' and all items reappear.

I believe someone else reported having this problem in their earlier comment.

[edit] This only occurs when the icon I select is at the bottom of the list and not at the top. Perhaps Super Duper Macro only understands a specific range of Icons, and new ones added with this new expansion somehow break it.

--

I also noticed that I am unable to edit Blizzard's default macros. Any additions, deletions or modifications are discarded on logout. My solution was to disable Super Duper Macro, restart the client, make my changes, restart the client, and enable Super Duper Macro. This was frustrating to reproduce, and that workaround was the only one I discovered.

--

I'd also love to be able to have snippets of SDM (or other) code able to reach into SDM macros to modify them. I use code to modify my macros on the fly, but I'm limited to standard Blizzard macros and not more advanced or lengthy stuff in SDM.

--

I'm presently using SDM alongside BindPad and _Dev, since all of these solve somewhat different problems. I'd love to get rid of BindPad if SDM had easy hotkey functionality.

I've had macro toolkit on my radar for some time, but still haven't tried it.
__________________
spiralofhope.com
Last edited by spiralofhope : 12-30-14 at 03:09 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: