Download
(26Kb)
Download
Updated: 11-27-07 01:41 AM
Pictures
File Info
Updated:11-27-07 01:41 AM
Created:unknown
Downloads:15,750
Favorites:102
MD5:

MobileMinimapButtons  Popular! (More than 5000 hits)

Version: 2.4
by: AnduinLothar [More]

Makes the Minimap Buttons draggable around the minimap with adjustable angle.
Control-Drag to change angle.
Control-Shift-Drag to change radius.
Control-Right-Click to bring up menu.
Menu: Reset, Reset All.

Now Works with different shaped minimaps that implement http://www.wowwiki.com/GetMinimapShape

This version is standalone with embedded SeaHooks and SeaPrint.

Localized for English, French and German.


[edit]GUI Options - Optionally uses Khaos for GUI.
Khaos Options available to enable/disable for different players and a button to reset all.

Making Your Custom Minimap Button Mobile
To Make your third party addon use MobileMinimapButtons to optionally mobilize you minimap button:

  1. Add MobileMinimapButtons to your optional deps in the toc
  2. Call MobileMinimapButtons_AddButton(frameName, localizedFrameName) to add the button to the list of mobile minimap buttons. It will store the reset position when this function is called or when the variables are loaded, whichever comes last.
  3. In the XML or before the function call, position the button frame to its reset position, preferably relative to Minimap frame. Optimal Button size is 32x32.
NOTE: The button/frame, MUST have the same effective scale as the Minimap. The best way to guarantee this is to make sure that the Minimap (or MinimapCluster) frame is the Parent of your button. Or if the Minimap scale has not been changed independantly of the UIScale, then the UIParent can be the button's Parent. This is important for calculating the correct radius.

v2.4
- Added mobility to MiniMapRecordingButton, MiniMapVoiceChatFrame, DBMMinimapButton
- Added radius offset dragging, control-shift-drag
- Optimized the dragging radius, angle and offset code. Special thanks to Iriel and Cide for trigonometric help.

v2.3
- TOC to 20300
- Added mobility to MiniMapTracking, MI2_MinimapButton
- Updated localization format so that they are easier to update and not independant.

v2.2
- Now uses GetMinimapShape() to determine minimap shape from supporting addons. http://wowwiki.com/GetMinimapShape
- Added MobileMinimapButtons_ButtonSizeModifiers for slight radius adjustment relative to the button size
- Cleaned up the click code a bit
- Added mobility to FeatureFrameMinimapButton and Gatherer_MinimapOptionsButton

v2.1
- Fixed Error with nil MOBILE_MINIMAP_BUTTONS_LIST_VERSION on first load

v2.0
- TOC to 20003
- Fixed issue with buttons not being registered if called before Variables were loaded

v1.9
- Added Mobility to the Atlas Loot Button

v1.81
- Fixed nil errors

v1.8
- Added Mobility to the World Map Button and the Feedback UI Button.
- Updated for WoW 2.0

v1.71
- Changed the radius calculation to make compatible with AddOns that allow changes to the radius setting of their buttons e.g. Gatherer, AlphaMap
- Updated the API.txt

v1.7
- Now automaticly makes mobile the following addon buttons: Soundtrack, Cirk's Blessings, CritLine, AlphaMap, and Natur EnemyCastBar.

v1.6
- Changed dragging and reset menu to control click to avoid conflict with battlegrounds button
- Fixed bug that wasn't saving posistions of icons unless you tapped them

v1.52
- Updated TOC to 11100
- Fixed Census button mask.

v1.51
- New Buttons are now Anchored when first made mobile. (Fixed OnLoad error with Atlas)
- Updated German Localization

v1.5 (1/15/06)
- Fixed Shift-OnClick option overridding to still work for clicks under half a second. (Fixes battleground minimap)
- Now automaticly makes mobile the following addon buttons: Atlas, CTRA, Wardrobe, Yatlas, Gatherer, Earth, IEF, CTA. (Addon Buttons are only on English client until localized.)

v1.4 (1/4/06)
- Disabled OnDrag events of registered addon buttons (Wardrobe now correctly stops dragging)
- Fixed nil OnLoad bug by delaying frame loading until after PLAYER_ENTERING_WORLD on a fresh load
- Updated TOC to 10900

v1.3 (11/24/05)
- Dynamicly added buttons now save accross sessions
:Demo additions:
/script MobileMinimapButtons_AddButton("AtlasButton","Atlas Button");
/script MobileMinimapButtons_AddButton("CT_RASets_Button","CT Raid Assist Button");
/script MobileMinimapButtons_AddButton("Wardrobe.IconFrame","Wardrobe Button");
/script MobileMinimapButtons_AddButton("TheYatlasButton","Yatlas Button");
/script MobileMinimapButtons_AddButton("GathererUI_IconFrame","Gatherer Button");
/script MobileMinimapButtons_AddButton("EarthMinimapButton","Earth Button");
/script MobileMinimapButtons_AddButton("IEFMinimapButton","Improved Error Frame Button");
/script MobileMinimapButtons_AddButton("CTA_MinimapIcon","Call To Arms Button");

v1.2 (10/27/05)
- Chnaged OnClick handling to allow for Casting via OnClick
- Implimented HasScript so that you no longer have to pass weather the frame is a button or not.

v1.11 (10/25/05)
- Fixed an obscure OnClick bug involving Khaos

v1.1 (10/18/05)
- Added dynamic button adding using MobileMinimapButtons_AddButton at any time.
- See API.txt for details on how to make your addon's button mobile.

v1.0 (9/30/05)
- Public Release
Optional Files (0)


Post A Reply Comment Options
Unread 07-04-12, 08:14 AM  
Ichirei
A Defias Bandit

Forum posts: 2
File comments: 1
Uploads: 0
Error :(

Got this error when I click a button:

Date: 2012-07-04 16:07:34
ID: 1
Error occured in: Global
Count: 1
Message: ...AddOns\MobileMinimapButtons\MobileMinimapButtons.lua line 386:
attempt to index global 'this' (a nil value)
Debug:
[C]: ?
...AddOns\MobileMinimapButtons\MobileMinimapButtons.lua:386: value()
...dOns\MobileMinimapButtons\Libs\SeaHooks\Sea.util.lua:851:
...dOns\MobileMinimapButtons\Libs\SeaHooks\Sea.util.lua:802
(tail call): ?
(tail call): ?


Can you/I do something? =/
Report comment to moderator  
Reply With Quote
Unread 02-10-08, 10:15 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 23
Originally posted by Cleitanious
Doesnt seem to support the minimap buttons added by "X-Perl Unit Frames" and " Trinity". Works for everything else (including the tracking button) for me.
What are the frame names of those buttons? MMB has an exclusive list so it only moves addons on the list. And it's obviously not exhaustive.
Report comment to moderator  
Reply With Quote
Unread 02-10-08, 06:01 AM  
Cleitanious
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 8
Uploads: 1
Doesnt seem to support the minimap buttons added by "X-Perl Unit Frames" and " Trinity". Works for everything else (including the tracking button) for me.
Report comment to moderator  
Reply With Quote
Unread 11-27-07, 06:59 PM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
You rock.

There are still a couple of buttons that don't seem to be picked up for the raidus thing, aka the Tracker Button, but meh, I can move most of the smaller ones around to accomedate now.

Thanks for working on that aspect of this mod. Appreciated
Report comment to moderator  
Reply With Quote
Unread 11-24-07, 01:59 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 23
nope, radius hasn't been implemented.

I'll add the chat and and movie recording frame to the next version.

Edit: Now Radius has been implimented. I had been meaning to do it, but it was hella hard and took more trig/math skills than I had.

Note to self: fix the offset for default buttons for next vers. it's a lil off atm for newly added buttons, but corrects itself if you've already moved them.
Last edited by AnduinLothar : 11-27-07 at 02:54 AM.
Report comment to moderator  
Reply With Quote
Unread 11-24-07, 06:49 AM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
added:

descs.MiniMapVoiceChatFrame = "Voice Chat Button";

to make it possible to move the voice chat icon around.

~

Question: Is 'radius' meant to be working? cause I can't seem to get it to work for me. shift+control don't move the icon in or out from the minimap for me.
Last edited by Maziel : 11-24-07 at 07:12 AM.
Report comment to moderator  
Reply With Quote
Unread 11-23-07, 11:29 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 23
Originally posted by Nyte
Thanks, Kergoth, it worked.
Sorry about that. I'm still fine tuning my embedding script. I usually test with the addons unembedded, but I got tired of embedding dozens of libraries and testing each one every time I updated.
Report comment to moderator  
Reply With Quote
Unread 11-23-07, 07:26 PM  
Nyte
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 107
Uploads: 1
Thanks, Kergoth, it worked.
__________________
Beware of the Nyte!
Report comment to moderator  
Reply With Quote
Unread 11-22-07, 06:11 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by Nyte
So, Kergoth, is there a way I can fix this while waiting for the author to do so?
Yep, just edit embeds.xml with a text editor (i.e. notepad). Change the line that has "Libs\SeaString\SeaPrint.xml" to read "Libs\SeaPrint\SeaPrint.xml" instead, and restart wow.
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 06:41 PM  
Nyte
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 107
Uploads: 1
So, Kergoth, is there a way I can fix this while waiting for the author to do so?
__________________
Beware of the Nyte!
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 06:01 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Might want to start checking FrameXML.log for errors before doing releases.
MobileMinimapButtons.xml refers to Libs\SeaString\SeaPrint.xml, which does not exist. Libs\SeaPrint\SeaPrint.xml does, which explains why Sea.io is not available with the embeds.
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 12:49 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 23
Originally posted by Helfgrim
2.3c didn't fix it, the error is still there, so is the (non)behaviour of the tracking.
I can't dulicate. If you're still gettign the error try moving SeaPrint and SeaHooks from the Libs folder to your addons folder.
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 12:23 PM  
Helfgrim
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
2.3c didn't fix it, the error is still there, so is the (non)behaviour of the tracking.
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 12:17 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 23
Originally posted by Helfgrim
[b]I get this error in MobileMinimap Buttons version 2.3b when I click the new tracking thing -the looking glass at the minimap- that Blizzard introduced in 2.3, the menu that lets you select something to track doesn't come up at all.
Try 2.3c
I've been writing a new packaging script and somehow the xml code to embed the libs got removed.
Last edited by AnduinLothar : 11-21-07 at 12:18 PM.
Report comment to moderator  
Reply With Quote
Unread 11-21-07, 03:01 AM  
Helfgrim
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
I get this error in MobileMinimap Buttons version 2.3b when I click the new tracking thing -the looking glass at the minimap- that Blizzard introduced in 2.3, the menu that lets you select something to track doesn't come up at all.

Disabling MMB fixes it but that's not what I want of course.

Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: