Download
(403Kb)
Download
Updated: 03-11-18 02:04 PM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Updated:03-11-18 02:04 PM
Created:unknown
Downloads:575,978
Favorites:1,058
MD5:

Minimap Button Frame  Popular! (More than 5000 hits)

Version: 3.1.10f
by: Bachlott [More]

This little addon will gather up all of your addon minimap buttons and put them into a movable frame.

Features

- Minimap Button Skinning (Square Minimap Buttons)
- Add or Remove almost any minimap button
- Multiple Sorting Options - Including Custom!
- Collection of Blizzard Buttons
- Collect only the buttons you want
- Background Color can be changed from the config screen
- Hide most of the Blizzard Minimap Icons
- LDB Support
- Key Bindings
- Profile Support
- Basic Localization in English, Spanish, French, German, Korean, Russian, and Chinese (Simplified and Traditional)

Future Features

- Full LDB version of MBF

Known Issues

Metamap minimap button is incompatable due to the way it is handled in the addon.

The addon does not grab button that do not have a name currently.

Currently discovered addons that are this way are:

Enchantrix (Part of Auctioneer Advanced)
onRaid

The Blizzard buttons that only show up under certain conditions, (battleground, LFG) will only display on the Frame when they are shown normally and active scanning is enabled. Otherwise they will apprear on the minimap when they are shown.

The Add feature is a little more powerful than I originally expected. So you can accidentally grab things that you didn't expect to be able to. (Other Addons) I've tried to protect the blizzard interface features and a couple other things, but let me know if you can grab something that you don't think you should be able to. If you do accidentally add something to the bag you can always remove it.

I've added a lot to the Localization, so it's another quick and dirty, horrible translation. Thanks again for the crazyness Google. So if you can do a better translation please help me out and submit it to me so I can add it to MBF. Hopefully Google didn't make them too funny or offensive.

Note:

The ability to add minimap icons to the table can be a general or partial name of the icons. The button override table add should be the exact name of the button that you want to override and collect.

As always your feedback is more than welcome!

3.1.10f
- Update - Toc updated to 70300
- Update - Ace3 Libraries updated
- Fixed - Small Bug

3.1.10e
- Update - Toc updated to 60200
- Fixed - Fixed conflict with ElvUI
- Fixed - Fixed conflict with SpartanUI

3.1.10d
- Update - Toc updated to 60000
- Update - Libraries Updated

3.1.10c
- Update - Toc updated to 50400

3.1.10b
- Fixed - Fixed unable to move bug

3.1.10
- Update - Toc updated to 50100
- Update - Code changes to fix a conflict with another addon using MBF in it's code
- Change - Changed MBF from global to a local. Got changed by accident at some point

3.1.9
- Update - Fixed Issue with the Queue Status button not behaving like other Blizz buttons
- Update - Fixed issue with buttons not having border restored upon removal
- New - Added option to exclude the Queue Status button from being gathered

3.1.8
- Update - Added a size check to gathering
- Update - Toc updated to 50001
Post A Reply Comment Options
Unread 10-02-08, 09:25 AM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
EpicMusicPlayer

I don't know why it is not collecting the minimap button of EpicMusicPlayer. The button is named and has parent Minimap.
minibutton = CreateFrame("Button","EMPMINIMAPBUTTON",Minimap)

Let me know if you need me to change something about the button.
Report comment to moderator  
Reply With Quote
Unread 10-02-08, 07:58 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 173
Uploads: 1
Re: EpicMusicPlayer

Originally posted by yess
I don't know why it is not collecting the minimap button of EpicMusicPlayer. The button is named and has parent Minimap.
minibutton = CreateFrame("Button","EMPMINIMAPBUTTON",Minimap)

Let me know if you need me to change something about the button.
I've looked into it and it doesn't collect due to a change I made to support pMinimap. So the buttonname partially matches it and gets excluded.

So the fix is very simple. I can add it to my exceptions list or if you want you can simply change the name of the button. I ran a test both ways and it works no problem.
Report comment to moderator  
Reply With Quote
Unread 10-02-08, 08:00 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 173
Uploads: 1
Originally posted by Nihlo
thanks a lot...the mod is just great. What I'm missing most is the possibility to split the frame or to make an additional frame...
The purpose of the addon was to put all the minimap buttons into one location, not more than one frame. So most likely this probably won't be an included feature in the foreseeable future.
Report comment to moderator  
Reply With Quote
Unread 10-02-08, 08:06 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 173
Uploads: 1
Originally posted by Nihlo
just the standart round clock-button with the sun and moon symbol. Now there's a ugly square in it



marked it red
Okay looking a little closer at the screenshot you put on imageshack. It looks like you're using a custom UI that is grabbing the gametimeframe after it's been put onto mbf. So it looks like a slight incompatibility. I think what you need to do to fix that would be to do a remove on the GameTimeFrame, put the cursor over it and press ctrl-r, then reload your UI. That will probably fix it.

Why the reload UI? Because right now MBF won't restore the frame border on removal. I haven't finished that part yet. I guess you could also change the border to the default, remove the button the set it back to what you want.
Report comment to moderator  
Reply With Quote
Unread 10-02-08, 08:19 PM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
EpicMusicPlayer

I've looked into it and it doesn't collect due to a change I made to support pMinimap. So the buttonname partially matches it and gets excluded.
Okay I will change the button name in my next version
Report comment to moderator  
Reply With Quote
Unread 10-02-08, 08:36 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 173
Uploads: 1
I added it to my exceptions list anyways. And I've uploaded a new version that has a few fixes in it. Hopefully that will fix the couple of errors people are receiving.

Please let me know if it doesn't of it there are new bugs. Or even if it's working correctly now if it wasn't before.

2.0b2
Fixed - Issue with EpicMusicPlayer
Fixed - Issue trying to restoreSettings that were nil
Fixed - Issue with savingSettings for things that didn't have a name (I shouldn't try to do it when I'm using the name as the storage key. lol)
Change - Hid Invisible Button error message for Blizz Buttons. Until I get this bug squashed.
Report comment to moderator  
Reply With Quote
Unread 10-03-08, 11:32 AM  
PlayfullyEvil
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I recieved this error on game load. I'm not sure what may be conflicting with it, but I am using a lot of mods.

[2008/10/03 13:24:51-2265-x1]: MinimapButtonFrame-1.9a\MinimapButtonFrame.lua:249: Usage: MBFRestoreButton:SetAlpha(alpha 0 to 1)
MinimapButtonFrame-1.9a\MinimapButtonFrame.lua:249: in function `MBF_OnEvent'
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Report comment to moderator  
Reply With Quote
Unread 10-03-08, 04:56 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 173
Uploads: 1
Originally posted by PlayfullyEvil
I recieved this error on game load. I'm not sure what may be conflicting with it, but I am using a lot of mods.

[2008/10/03 13:24:51-2265-x1]: MinimapButtonFrame-1.9a\MinimapButtonFrame.lua:249: Usage: MBFRestoreButton:SetAlpha(alpha 0 to 1)
MinimapButtonFrame-1.9a\MinimapButtonFrame.lua:249: in function `MBF_OnEvent'
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Looks like your settings got messed up somehow. If it will let you. Reset you setting to default from the config screen or you'll have to go to your saved variables and delete the MinimapButtonFrame.lua
Report comment to moderator  
Reply With Quote
Unread 10-05-08, 05:53 AM  
timberbear60
A Murloc Raider

Forum posts: 9
File comments: 36
Uploads: 0
Thumbs up odd behavior

When I try to right click on the MBF button to drag it, it oddly jumps to the left.I can still drag the button but as I do the distance between mu cursor and the button stretches, consequently I cannot get the button on the edge of my minimap, . This is only happening on my warrior,all my other characters are fine. Everything else works as it should, just can't get the button where I want it. Any suggestions?
Report comment to moderator  
Reply With Quote
Unread 10-05-08, 06:22 AM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 173
Uploads: 1
Re: odd behavior

Originally posted by timberbear60
When I try to right click on the MBF button to drag it, it oddly jumps to the left.I can still drag the button but as I do the distance between mu cursor and the button stretches, consequently I cannot get the button on the edge of my minimap, . This is only happening on my warrior,all my other characters are fine. Everything else works as it should, just can't get the button where I want it. Any suggestions?
Yeah that seems to be a bug with WoW. Sometimes things get screwy with the cursor and dragging. It's not just MBF that does it. I've had issues with it even from the WoW Raid interface as well. The only thing that seems to fix it sometimes is deleting the layout cache from the saved Variables folder.
Report comment to moderator  
Reply With Quote
Unread 10-05-08, 06:25 AM  
timberbear60
A Murloc Raider

Forum posts: 9
File comments: 36
Uploads: 0
Thumbs up Thanks

Thanks for the quick response. As you said I have seen that happen on occasion with other mods and was curious as to why. Keep up the good work. Awesome mod for cleaning up the clutter on your map!
Report comment to moderator  
Reply With Quote
Unread 10-05-08, 03:31 PM  
Jerricka
An Aku'mai Servant
 
Jerricka's Avatar

Forum posts: 30
File comments: 178
Uploads: 0
Latest version has 'empty' button space between the usual buttons..plz fix.
Report comment to moderator  
Reply With Quote
Unread 10-06-08, 12:04 AM  
jgomberg
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
MinimapButtonFrame.lua:772:stack overflow

(also posted on Curse) :

Getting the following error which has only occurred recently:

...\MinimapButtonFrame\MinimapButtonFrame.lua:772:stack overflow

MBF then fails to work and minimap buttons return back to the minimap from the MBF.

Additional details:

local version = "2.0";
MBF_DRAGTITLE = "MBF 2.0"

but the readme notes suggest that this is version 2.0b2 installed on or around October 2.

Code extract starting from line 772:

function saveOldData(button)

oldPoint, oldRelativeTo, oldRelativePoint, oldXofs, oldYofs = button:GetPoint();
if (oldPoint ~= nil) then
oldName = button:GetName();
oldParentName = button:GetParent():GetName();
oldFrameLevel = button:GetFrameLevel();
oldOnDragStart = button:GetScript('OnDragStart');
oldOnDragStop = button:GetScript('OnDragStop');
oldOnEvent = button:GetScript('OnEvent');
oldWidth = button:GetWidth();
oldHeight = button:GetHeight();
oldScale = button:GetScale();
oldLevel = button:GetFrameLevel();
oldStrata = button:GetFrameStrata();

MBF_ButtonInfoStorage[button:GetName()] = { oldName, oldParentName, oldFrameLevel, oldPoint, oldRelativeTo, oldRelativePoint, oldXofs, oldYofs, oldOnDragStart, oldOnDragStop, oldOnEvent, oldWidth, oldHeight, oldScale, oldLevel, oldStrata };
else
saveOldData(button)
end

end

Also does not occur when playing on my other toon so I am now suspecting another addin conflict.
Last edited by jgomberg : 10-06-08 at 12:52 AM.
Report comment to moderator  
Reply With Quote
Unread 10-06-08, 05:57 AM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 173
Uploads: 1
Originally posted by Jerricka
Latest version has 'empty' button space between the usual buttons..plz fix.
I'll need more info about exactly what's happening in order to fix it. Such as what version you're using, maybe a screenshot. Do you have active scanning on?

@jgomberg

Yeah I've seen this before. It's caused by what I did to fix one of the previous bugs. It only seems to happen when one of the buttons doesn't want to cooperate for a long period of time. My fix basically waited for the buttons location to be able to be read before grabbing it, but I think I can go about it a little better way than what I did.
Last edited by Bachlott : 10-07-08 at 08:07 AM.
Report comment to moderator  
Reply With Quote
Unread 10-07-08, 09:05 AM  
Nihlo
A Murloc Raider

Forum posts: 7
File comments: 158
Uploads: 0
Originally posted by Bachlott
Okay looking a little closer at the screenshot you put on imageshack. It looks like you're using a custom UI that is grabbing the gametimeframe after it's been put onto mbf. So it looks like a slight incompatibility. I think what you need to do to fix that would be to do a remove on the GameTimeFrame, put the cursor over it and press ctrl-r, then reload your UI. That will probably fix it.

Why the reload UI? Because right now MBF won't restore the frame border on removal. I haven't finished that part yet. I guess you could also change the border to the default, remove the button the set it back to what you want.
hmm both things didn't work. ctrl+r shows the fps and a reload doesn't change anything then. I move the gametime icon with MoveAnything and simpleMinimap to this location so they grab the frame. If I change the optic to blizzard the icon gets another smaler round sun-symbol^^
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.