Jump to content
laytya

[Addon] MinimapButtonFrame-vanilla

Recommended Posts

Minimap Button Frame Vanilla

Just backported some TBC addon like MBB =) 

 

Tkf3gaa.jpg Kn2r6R5.jpg

4swDXim.jpg

 


This addon gathers up all of your minimap addon buttons and puts them into a movable frame.

To Add a button not automatically gathered: Put your mouse over the button you want to add and type < /mbf add >.  
Will not work on unnamed buttons.  Can also use a key binding.
To Remove a button from the frame: put your mouse over the button and type < /mbf remove >.  A key binding can also be used.
It will return to it's previous spot and not be gathered next time.  You can set it to be gathered again by using < /mbf add > on it.

Blizzard minimap buttons that are not always visible (Battleground, LFG) will only appear on the frame when they are normally shown.
If Active Scanning is off they will not be gathered unless you do a < /mbf scan > while they are visible.


Basic install instructions
 

  • Extract the archive
  • Copy "MinimapButtonFrame" folder into your "<WOW FOLDER>/Interface/Addons/" directory
  • Optionaly (if you have FuBar) copy "MinimapButtonFrameFu" folder into your "<WOW FOLDER>/Interface/Addons/" directory


Commands:

   /mbf        - displays the command line options in the chat frame
   /mbf add    - adds a non gathered button under the mouse to the frame
   /mbf remove - removes a gathered button under the mouse from the frame
   /mbf show   - shows the Main MBF Frame
   /mbf hide   - hides the Main MBF Frame
   /mbf info   - shows information about the object under the cursor
   /mbf scan   - performs a manual scan for minimap buttons
   /mbf config - shows the configuration screen
   /mbf help   - shows command help and information

Minimap Button:

<Left-click>           - to show / hide the frame and all the buttons.
<Shift-click>          - to show the config screen.
<Right-click> and drag - to move the minimap button anywhere.


History

1.10d

  • Separate FuBar plugin (need translation of locales differ enUS and ruRU)

1.10c

  • Added ItemSync compatibility
  • Added DPSMate button to default auto include, if it not gathering by MBF use /mbf add command

1.10b

  • fixed finally MiniMapTrackingFrame error

1.10a

  • fix MiniMapTrackingFrame error
  • fix some interaddon compatibility, dont use such names: "minimapButton"

1.10

  • Backported to vanilla
  • update TOC
  • added ruRU locale
  • minor fixes

    
Download
Download HERE

Credits

Originaly made by Bachlott
 

Edited by laytya

Share this post


Link to post
Share on other sites

MBF more deeply scan for buttons. And this frame are not locked to button position.

HoGCQRg.jpg

And it have FuBar & Titan support

Share this post


Link to post
Share on other sites

It may not work again with the next build update of DPSMate :'D

So, please try it beforehand.

cheers!

Share this post


Link to post
Share on other sites
19 часов назад, Shino сказал:

It may not work again with the next build update of DPSMate :'D

So, please try it beforehand.

cheers!

what did you made for it?  now it bunch of folders insted of 1?

Edited by laytya

Share this post


Link to post
Share on other sites

[2017/02/28 15:27:18-568]: MinimapButtonFrame\MinimapButtonFrame.lua:1531: attempt to index local `frame' (a nil value)
MinimapButtonFrame\MinimapButtonFrame.lua:1531: in function `MBFC_Init'
MinimapButtonFrame\MinimapButtonFrame.lua:1098: in function `MBFC_Toggle'
<string>:"MBFButton:OnClick":3: in main chunk

  ---

[2017/02/28 15:44:35-569]: MinimapButtonFrame\MinimapButtonFrame.lua:1531: attempt to index local `frame' (a nil value)
MinimapButtonFrame\MinimapButtonFrame.lua:1531: in function `MBFC_Init'
MinimapButtonFrame\MinimapButtonFrame.lua:1098: in function `MBFC_Toggle'
<string>:"MinimapButtonFrameDragButton:OnClick":3: in main chunk

  ---

[2017/02/28 15:30:44-568]: MinimapButtonFrame\MinimapButtonFrame.lua:1531: attempt to index local `frame' (a nil value)
MinimapButtonFrame\MinimapButtonFrame.lua:1531: in function `MBFC_Init'
MinimapButtonFrame\MinimapButtonFrame.lua:1098: in function `MBFC_Toggle'
MinimapButtonFrame\MinimapButtonFrame.lua:339: in function `MBF_SlashCommandHandler'
MinimapButtonFrame\MinimapButtonFrame.lua:93: in function `value'
FrameXML\ChatFrame.lua:2170: in function `ChatEdit_ParseText'
modules\TellTarget.lua:100: in function <Interface\AddOns\Prat\modules\TellTarget.lua:99>
<unknown>:
FrameXML\ChatFrame.lua:1941: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:1963: in function `ChatEdit_OnEnterPressed'
modules\Editbox.lua:243: in function <Interface\AddOns\Prat\modules\Editbox.lua:243>

  ---

Edited by SealHeal

Share this post


Link to post
Share on other sites

1. When I use the command /MBF hide the button disappears addon ItemSync

c8acb049dbd718680ce1e00967027289.jpg

2. When I use the command /mbf show seam Itemsync button appears, but whether it DPSMate and moved to the list of keys? And why empty icons?

95612cd2064924b79350e6902de70776.jpg

 

Share this post


Link to post
Share on other sites

MinimapButtonFrame\MinimapButtonFrame.lua:1531 - fixed

1) what the  "ItemSync"?

about (2) can  give "/mbf debug"  command and make screen of output

Share this post


Link to post
Share on other sites

[2017/02/28 16:53:10-570]: MinimapButtonFrame\MinimapButtonFrame.lua:1531: attempt to index local `frame' (a nil value)
MinimapButtonFrame\MinimapButtonFrame.lua:1531: in function `MBFC_Init'
MinimapButtonFrame\MinimapButtonFrame.lua:1098: in function `MBFC_Toggle'
MinimapButtonFrame\MBFFu.lua:49: in function `OnClick'
FuBarPlugin-2.0\FuBarPlugin-2.0.lua:749: in function <...Ons\BigWigs\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:747>
FuBar\FuBar.lua:1151: in function <Interface\AddOns\FuBar\FuBar.lua:1149>

  ---

Share this post


Link to post
Share on other sites

I tested it for fun command tested the command /MBF add, adding icons and found an interesting thing, if you enter this command and press the mouse button on the Luna Frames, we can see an interesting thing and error

the removal of the frame, he still catches it and disengages the back...

dd769934467cce9d018101cf3118468c.jpeg

and errors:

/mbf add

[2017/02/28 17:26:51-570]: MinimapButtonFrame\MinimapButtonFrame.lua:679: table index is nil
MinimapButtonFrame\MinimapButtonFrame.lua:679: in function `saveAndDisableChildScripts'
MinimapButtonFrame\MinimapButtonFrame.lua:758: in function `addButton'
MinimapButtonFrame\MinimapButtonFrame.lua:914: in function `includeButton'
MinimapButtonFrame\MinimapButtonFrame.lua:347: in function `MBF_SlashCommandHandler'
MinimapButtonFrame\MinimapButtonFrame.lua:93: in function `value'
FrameXML\ChatFrame.lua:2170: in function `ChatEdit_ParseText'
modules\TellTarget.lua:100: in function <Interface\AddOns\Prat\modules\TellTarget.lua:99>
<unknown>:
FrameXML\ChatFrame.lua:1941: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:1963: in function `ChatEdit_OnEnterPressed'
modules\Editbox.lua:243: in function <Interface\AddOns\Prat\modules\Editbox.lua:243>

  ---

/mbf remove 

[2017/02/28 17:30:40-570]: MinimapButtonFrame\MinimapButtonFrame.lua:732: bad argument #1 to `unpack' (table expected, got nil)
<in C code>: in function `unpack'
MinimapButtonFrame\MinimapButtonFrame.lua:732: in function `restoreChildScripts'
MinimapButtonFrame\MinimapButtonFrame.lua:813: in function `restoreButtonSettings'
MinimapButtonFrame\MinimapButtonFrame.lua:847: in function `removeButton'
MinimapButtonFrame\MinimapButtonFrame.lua:343: in function `MBF_SlashCommandHandler'
MinimapButtonFrame\MinimapButtonFrame.lua:93: in function `value'
FrameXML\ChatFrame.lua:2170: in function `ChatEdit_ParseText'
modules\TellTarget.lua:100: in function <Interface\AddOns\Prat\modules\TellTarget.lua:99>
<unknown>:
FrameXML\ChatFrame.lua:1941: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:1963: in function `ChatEdit_OnEnterPressed'
modules\Editbox.lua:243: in function <Interface\AddOns\Prat\modules\Editbox.lua:243>

  ---

[2017/02/28 17:30:41-570]: MinimapButtonFrame\MinimapButtonFrame.lua:679: table index is nil
MinimapButtonFrame\MinimapButtonFrame.lua:679: in function `saveAndDisableChildScripts'
MinimapButtonFrame\MinimapButtonFrame.lua:758: in function `addButton'
MinimapButtonFrame\MinimapButtonFrame.lua:643: in function `findIncluded'
MinimapButtonFrame\MinimapButtonFrame.lua:1066: in function `MBF_Scan'
MinimapButtonFrame\MinimapButtonFrame.lua:122: in function `MBF_OnUpdate'
<string>:"MinimapButtonFrame:OnUpdate":2: in main chunk

  ---

Edited by SealHeal

Share this post


Link to post
Share on other sites

lol its funny.

First update simpleMinimap - you have old buggy version.

i cant test it w/ all addons in the world =))

 

ItemSync - its LootLink  clone...

and please update MBF from git

Edited by laytya

Share this post


Link to post
Share on other sites
5 hours ago, laytya said:

what did you made for it?  now it bunch of folders insted of 1?

I modulized DPSMate in order to increase the performance and reduce the loading time.

The parent of the DPSMate icon is no longer the MiniMap, if your addon scans for that.

cheers!

Share this post


Link to post
Share on other sites

 

1 минуту назад, Shino сказал:

I modulized DPSMate in order to increase the performance and reduce the loading time.

The parent of the DPSMate icon is no longer the MiniMap, if your addon scans for that.

cheers!

I see. Already put your button to force include table =) in MBF. In MBB will see later

Share this post


Link to post
Share on other sites
43 минуты назад, laytya сказал:

lol its funny.

First update simpleMinimap - you have old buggy version.

i cant test it w/ all addons in the world =))

 

ItemSync - its LootLink  clone...

and please update MBF from git

 

I am satisfied with the addon ItemSync if you can do so that he was in, as well as other addons when you enter the command /MBF add?

Update Version 1.10b. but I can not add a button to the addon

Edited by SealHeal

Share this post


Link to post
Share on other sites
30 минут назад, laytya сказал:

In original MBF from 2006 Itemsync button was in ignore list =)... I can fix it in ItemSyn, If you need it.

yes, need)

Share this post


Link to post
Share on other sites

MinimapButtonFrame v1.10c

  • Added ItemSync compatibility
  • Added DPSMate button to default auto include, if it not gathering by MBF use /mbf add command

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×