Download
(133Kb)
Download
Updated: 12-10-23 10:52 AM
Pictures
File Info
Compatibility:
Classic (1.15.0)
WOTLK Patch (3.4.3)
Updated:12-10-23 10:52 AM
Created:06-24-19 05:05 PM
Downloads:15,358
Favorites:38
MD5:
Categories:Classic - General, WOTLK Classic, Mage

MageButtons (Classic)  Popular! (More than 5000 hits)

Version: 1.15
by: Moxey [More]

MageButtons
- Purpose: Adds "menu" buttons for mage spell categories: water, food, teleports, portals, mana gems, polymorph

WOTLK NOTE: If "Show all spell ranks" is not checked in your spellbook, tooltips of lower ranks will only display the spell name.

Features
- Consolidates spells into collapsible buttons to save bar space (like modern teleports/portals buttons)
- Horizontal or Vertical layouts
- Menu direction left/right/up/down
- Customizable button size, padding, background color, border
- Can specify button order
- Buttons can be keybound via standard bindings page (under Addons)

Other
- First time loading it will default to a set button order, need to go into Options and actually set them for them to save (will say "not set")

Known issues / TODO:
- Keybindings are wonky, probably because I'm doing something wrong, but they mostly work?
- Need to reload UI when new spells are learned from trainer so the addon will pick them up
- Not sure if the Polymorph button is worth it, was thinking it would be nice to easily switch from Sheep to Turtle to Pig

1.15 - Updated for Season of Discovery
1.14 - ToC bump for 30403
1.13 - Disabled backdrop colors for new API compatibility
1.12 - Fixed error when summon Water Elemental in combat (but disables button order showing in options)
1.11 - Fixed some incorrect WotLK spells and added more
1.10 - Added WotLK spells, finally added required levels option for food and water
1.04 - Hopefully fixed startup error
1.03 - Increased startup delay
1.02 - Updated with TBC spells
1.01 - Set menu button strata to HIGH, updated usage
1.00 - Added mouseover option, minimap icon will now default to on
0.99 - Fix to minimap button, slash commands
0.99 - Largely rewritten, most settings changes should now occur without needing to reload
0.90 - Added check to config file to not load if character isn't a mage
Archived Files (5)
File Name
Version
Size
Author
Date
1.14
133kB
Moxey
10-11-23 06:22 PM
1.13
132kB
Moxey
01-19-23 12:10 PM
1.11
133kB
Moxey
07-21-22 03:13 PM
1.10
168kB
Moxey
07-16-22 08:49 PM
1.04
132kB
Moxey
06-20-21 04:07 PM


Post A Reply Comment Options
Unread Today, 07:11 AM  
Himitsu1990
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Manage to get a lua error when addon not load, type /reload fix it somehow:

Lua Code:
  1. 1x MageButtons/MageButtons.lua:206: attempt to concatenate a nil value
  2. [string "@MageButtons/MageButtons.lua"]:206: in function <MageButtons/MageButtons.lua:145>
  3.  
  4. Locals:
  5. spellTables = <table> {
  6.  Water = <table> {
  7.  }
  8.  Teleports = <table> {
  9.  }
  10.  Food = <table> {
  11.  }
  12.  Gems = <table> {
  13.  }
  14.  Polymorph = <table> {
  15.  }
  16.  Portals = <table> {
  17.  }
  18. }
  19. (for index) = 11
  20. (for limit) = 12
  21. (for step) = 1
  22. i = 11
  23. (*temporary) = "Сотворение яств"
  24. (*temporary) = "("
  25. (*temporary) = nil
  26. (*temporary) = ")"
  27. (*temporary) = nil
  28. (*temporary) = 2413
  29. (*temporary) = 0
  30. (*temporary) = 0
  31. (*temporary) = 42955
  32. (*temporary) = 42955
  33. (*temporary) = 42956
  34. (*temporary) = "attempt to concatenate a nil value"
  35. WaterSpells = <table> {
  36.  1 = 5504
  37.  2 = 5505
  38.  3 = 5506
  39.  4 = 6127
  40.  5 = 10138
  41.  6 = 10139
  42.  7 = 10140
  43.  8 = 37420
  44.  9 = 27090
  45.  10 = 43523
  46.  11 = 42955
  47.  12 = 42956
  48. }
  49. FoodSpells = <table> {
  50.  1 = 587
  51.  2 = 597
  52.  3 = 990
  53.  4 = 6129
  54.  5 = 10144
  55.  6 = 10145
  56.  7 = 28612
  57.  8 = 43987
  58.  9 = 33717
  59.  10 = 43523
  60.  11 = 58659
  61. }
  62. TelportsSpells = <table> {
  63. }
  64. PortalsSpells = <table> {
  65.  1 = 11420
  66.  2 = 11418
  67.  3 = 11417
  68.  4 = 32267
  69.  5 = 49361
  70.  6 = 35717
  71.  7 = 53142
  72. }
  73. GemsSpells = <table> {
  74.  1 = 759
  75.  2 = 3552
  76.  3 = 10053
  77.  4 = 10054
  78.  5 = 27101
  79.  6 = 42985
  80. }
  81. PolymorphSpells = <table> {
  82.  1 = 118
  83.  2 = 28272
  84.  3 = 28271
  85.  4 = 28270
  86. }
  87. WaterTable = <table> {
  88. }
  89. FoodTable = <table> {
  90. }
  91. TeleportsTable = <table> {
  92. }
  93. PortalsTable = <table> {
  94. }
  95. GemsTable = <table> {
  96. }
  97. PolymorphTable = <table> {
  98. }
  99. addon = <table> {
  100.  hideButtons = <function> defined @MageButtons/MageButtons.lua:817
  101.  getAnchorPosition = <function> defined @MageButtons/MageButtons.lua:376
  102.  unlockAnchor = <function> defined @MageButtons/MageButtons.lua:361
  103.  setAnchorPosition = <function> defined @MageButtons/MageButtons.lua:392
  104.  maptoggle = <function> defined @MageButtons/MageButtons.lua:321
  105.  showLevel = <function> defined @MageButtons/MageButtons.lua:858
  106.  getTooltipNumber = <function> defined @MageButtons/MageButtons.lua:825
  107.  getSV = <function> defined @MageButtons/MageButtons.lua:843
  108.  makeButtons = <function> defined @MageButtons/MageButtons.lua:609
  109.  makeBaseButtons = <function> defined @MageButtons/MageButtons.lua:416
  110.  showButtons = <function> defined @MageButtons/MageButtons.lua:809
  111.  healthCheck = true
  112.  lockAnchor = <function> defined @MageButtons/MageButtons.lua:346
  113. }
  114. lockStatus = 1
  115. db = nil
  116. ldb = <table> {
  117.  attributestorage = <table> {
  118.  }
  119.  pairs = <function> defined @AtlasLootClassic/Libs/LibDataBroker-1.1/LibDataBroker-1.1.lua:70
  120.  NewDataObject = <function> defined @AtlasLootClassic/Libs/LibDataBroker-1.1/LibDataBroker-1.1.lua:36
  121.  callbacks = <table> {
  122.  }
  123.  ipairs = <function> defined @AtlasLootClassic/Libs/LibDataBroker-1.1/LibDataBroker-1.1.lua:81
  124.  RegisterCallback = <function> defined @AtlasLootClassic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
  125.  GetNameByDataObject = <function> defined @AtlasLootClassic/Libs/LibDataBroker-1.1/LibDataBroker-1.1.lua:63
  126.  GetDataObjectByName = <function> defined @AtlasLootClassic/Libs/LibDataBroker-1.1/LibDataBroker-1.1.lua:59
  127.  UnregisterCallback = <function> defined @AtlasLootClassic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
  128.  domt = <table> {
  129.  }
  130.  proxystorage = <table> {
  131.  }
  132.  DataObjectIterator = <function> defined @AtlasLootClassic/Libs/LibDataBroker-1.1/LibDataBroker-1.1.lua:55
  133.  namestorage = <table> {
  134.  }
  135.  UnregisterAllCallbacks = <function> defined @AtlasLootClassic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
  136. }
  137. MageButtonsMinimapIcon = <table> {
  138.  Register = <function> defined @AtlasLootClassic/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:372
  139.  callbacks = <table> {
  140.  }
  141.  Unlock = <function> defined @AtlasLootClassic/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:389
  142.  IsButtonInCompartment = <function> defined @AtlasLootClassic/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:491
  143.  IsButtonCompartmentAvailable = <function> defined @AtlasLootClassic/Libs/LibDB
Last edited by Himitsu1990 : 05-04-24 at 07:15 AM.
Report comment to moderator  
Reply With Quote
Unread 05-01-24, 06:16 PM  
Himitsu1990
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Hello. Can we expect new version of this wonderful addon for cata? For pre-patch it works, but sometimes fail to load, like it was before 1.04 version in bcc. Reload command fix it but kinda annoying nevertheless... Almost every login to a mage force to type reload for addon to work.
Report comment to moderator  
Reply With Quote
Unread 12-10-23, 10:53 AM  
Moxey
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 21
Uploads: 4
Originally Posted by hobox10
The addon's a pretty broken again, in my case on classic era Season of Mastery. It will not save most configuration settings between loads. It will remember position but not the direction, size, any visuals, etc. Mousing over buttons doesn't seem to open the spell flyout anymore either
Please try version 1.15.
Report comment to moderator  
Reply With Quote
Unread 12-07-23, 05:25 PM  
Moxey
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 21
Uploads: 4
Originally Posted by hobox10
The addon's a pretty broken again, in my case on classic era Season of Mastery. It will not save most configuration settings between loads. It will remember position but not the direction, size, any visuals, etc. Mousing over buttons doesn't seem to open the spell flyout anymore either
I think I have the options saving working again, I hope to play my mage some this weekend and do some testing. I'll also need to see if the new changes break anything for WotLK client.
Report comment to moderator  
Reply With Quote
Unread 12-02-23, 04:08 AM  
hobox10
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
The addon's a pretty broken again, in my case on classic era Season of Mastery. It will not save most configuration settings between loads. It will remember position but not the direction, size, any visuals, etc. Mousing over buttons doesn't seem to open the spell flyout anymore either
Last edited by hobox10 : 12-02-23 at 02:10 PM.
Report comment to moderator  
Reply With Quote
Unread 04-19-23, 01:26 AM  
P3tr0666
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Bug report

Great addon, been using it since TBC classic, thanks for developing it!

Wanted to report a bug that occurs since one of the latest patches of WOTLK Classic.

This LUA error appears when mousing over sheep button:

Message: Interface/AddOns/MageButtons/MageButtons.lua:511: Invalid spell slot in GameTooltip:SetSpell
Time: Wed Apr 19 10:23:57 2023
Count: 1
Stack: Interface/AddOns/MageButtons/MageButtons.lua:511: Invalid spell slot in GameTooltip:SetSpell

Locals:

The workaround is to right click the sheep button and pick Polymorph(Rank4), this solves it until next relog.

Looking forward to a fix! thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 01-31-23, 01:40 PM  
hobox10
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Not to be annoying, but don't forget to push updates to github

Thanks for fixin!
Report comment to moderator  
Reply With Quote
Unread 01-20-23, 06:10 AM  
Himitsu1990
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Thank you very much, Moxey! It one of a kind addon I can play classic without.
Report comment to moderator  
Reply With Quote
Unread 01-19-23, 03:24 PM  
shoebox
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
thank you

Thank you for fixing it again, Moxey. Addon is so helpful, it eliminates clutter around my UI, actionbars.
Last edited by shoebox : 01-19-23 at 03:24 PM.
Report comment to moderator  
Reply With Quote
Unread 01-19-23, 12:13 PM  
Moxey
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 21
Uploads: 4
New version up, had to disable custom background colors however, so I'll try to get real fix up in the future. This version also includes the fix to the error when summoning water ele in combat.
Report comment to moderator  
Reply With Quote
Unread 01-18-23, 05:04 PM  
Moxey
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 21
Uploads: 4
Originally Posted by Himitsu1990
Once again, addon is broken since 3.4.1 Ulduar Patch. Can we hope for a quick fix?
I've started looking at it, but haven't solved it yet.

Update: Should be fixed, I'll get it up tomorrow.
Last edited by Moxey : 01-18-23 at 10:14 PM.
Report comment to moderator  
Reply With Quote
Unread 01-18-23, 09:07 AM  
Himitsu1990
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Once again, addon is broken since 3.4.1 Ulduar Patch. Can we hope for a quick fix?
Report comment to moderator  
Reply With Quote
Unread 12-01-22, 10:59 AM  
Moxey
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 21
Uploads: 4
Originally Posted by hobox10
So far so good with the Lua error fix that you posted to Github. Haven't had it happen since updating, will report back if it happens again.
Excellent, thanks for reporting back, I will update the file here on wowinterface.
Report comment to moderator  
Reply With Quote
Unread 11-29-22, 07:28 PM  
hobox10
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
So far so good with the Lua error fix that you posted to Github. Haven't had it happen since updating, will report back if it happens again.
Report comment to moderator  
Reply With Quote
Unread 11-27-22, 11:54 AM  
hobox10
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Originally Posted by Moxey
Originally Posted by hobox10
In Wrath Classic, I am getting this Lua error any time I summon my Water Elemental. It might only be happening when I am in Battlegrounds (it mentions Raid Frames?):

Code:
Message: [ADDON_ACTION_BLOCKED] AddOn 'MageButtons' tried to call the protected function 'CompactRaidFrame1:Show()'.
	Time: Wed Nov  9 17:32:34 2022
	Count: 1
	Stack: [ADDON_ACTION_BLOCKED] AddOn 'MageButtons' tried to call the protected function 'CompactRaidFrame1:Show()'.
	[string "@Interface_Wrath\FrameXML\CompactUnitFrame.lua"]:291: in function `CompactUnitFrame_UpdateAll'
	[string "@Interface_Wrath\FrameXML\CompactUnitFrame.lua"]:124: in function <Interface_Wrath\FrameXML\CompactUnitFrame.lua:53>
	
	Locals: <none>
I think I figured this out (it was related to the options panel, oddly enough). I can't figure out how to mark an upload as beta here on WoWInterface, so I gave the github approach a try - assuming I did that right, you can try it from here: https://github.com/emildoc/MageButtons
Sorry I missed your response as well. Happy to try this out. Thank you for helping! And woo Github!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: