Thread Tools Display Modes
11-24-07, 09:58 AM   #1
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 131
Fix for Voice Chat Icon and New Tracking Button

I don't know about anyone else, but I really enjoyed my clean-looking minimap that I lost in 2.2, and then it was even worse with the introduction of the new tracking button in 2.3. Luckily, I've found a way to fix both of these so you can go back to enjoying your fresh minimap.

Step 1:

Open MazzleUI_Frames.lua, and head down to line 73, where you should see this

Code:
HIE("MinimapZoomOut")
Right below this (line 74), add
Code:
HIE("MiniMapVoiceChatFrame")
And comment out this line... (between line 66-73, not sure....)
Code:
HIE("MiniMapTrackingFrame")
So it should look like --HIE("MiniMapTrackingFrame")

Ta-da! The voice chat button is gone!

Step 2:

Now head over to MazzleUI_Frames_Login.lua and scroll on down to line 61 where you should see

Code:
["MiniMapTrackingFrame"] = {
Change that to...

Code:
["MiniMapTracking"] = {
BAM! The Minimap tracking button is right where MazzleUI intended it to be. The world is in order and the stars are aligned once again!

Enjoy.

Note: These changes shouldn't require any knowledge of Lua or MazzleUI, and it should be as simple as copy and paste. However, don't hold me accountable if something goes wrong. To prevent this, make sure you take the always necessary precaution of backing up the file before you edit it.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_112407_100951.jpg
Views:	988
Size:	175.9 KB
ID:	1558  

Last edited by ganders : 11-25-07 at 07:27 PM.
  Reply With Quote
11-24-07, 05:11 PM   #2
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 131
Bump! You know you want it!
  Reply With Quote
11-24-07, 05:59 PM   #3
sorcerous
An Aku'mai Servant
 
sorcerous's Avatar
Join Date: Nov 2007
Posts: 37
hi there ganders

Now ive never actually edited any of the code before, so i was wondering if you might be able to help me a little.

So is it ok to try edit it in notepad? do i need a special LUA program?
When i open it (MazzleUI_Frames) it is not ordered in lines like other LUA files in the folder, instead it stretches out into the universe for about 1000 columns and is only about 40 lines long. this means i am unable to find the "real" line 73 or w/e even if its ok to use notepad.

help would be appreciated.
  Reply With Quote
11-24-07, 07:02 PM   #4
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 131
Use WordPad instead. It should be installed into Windows by default just like Notepad. Notepad just doesn't seem to like Lua very much. And if you don't have line numbers, or the line numbers I've given don't match, just use the Search function which is included in most every text editor.

Also I revised the changes a little bit, so if you've already made them, change them to the way they are now.

Last edited by ganders : 11-24-07 at 07:16 PM.
  Reply With Quote
11-24-07, 07:11 PM   #5
Danior
An Aku'mai Servant
Join Date: Nov 2005
Posts: 32
I have the time of day frame showing out from under the mini-map and tracking menu now.

D-
  Reply With Quote
11-24-07, 07:12 PM   #6
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 131
You probably didn't close a { } somewhere. If the table isn't closed, bad things happen.
  Reply With Quote
11-24-07, 09:16 PM   #7
Aygen
A Chromatic Dragonspawn
 
Aygen's Avatar
Join Date: Oct 2006
Posts: 162
*nod* ... Bad things happen if you dont tail off your code ...

And

Code:
["MiniMapTracking"] = {
		["scale"] = 0.82,
		["location"] = {
			["y"] = -482,
			["x"] = 84,
			["point"] = "CENTER",
			["frame"] = "UIParent",
			["to"] = "CENTER",
		},
	},
Should read

Code:
["MiniMapTrackingFrame"] = {
		["scale"] = 0.82,
		["location"] = {
			["y"] = -482,
			["x"] = 84,
			["point"] = "CENTER",
			["frame"] = "UIParent",
			["to"] = "CENTER",
		},
	},
AFAIK at least ...

Last edited by Aygen : 11-24-07 at 09:33 PM.
  Reply With Quote
11-24-07, 11:23 PM   #8
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 131
Nope they changed it from MiniMapTrackingFrame to just MiniMapTracking.
  Reply With Quote
11-25-07, 01:50 AM   #9
dragzal
A Cyclonian
 
dragzal's Avatar
Join Date: Oct 2006
Posts: 49
Originally Posted by ganders
Also note that the MiniMap Tracking button placement posted above is for the 1.33 (800 x 600, 1024 x 768, etc.) resolution. If you are using a different resolution, different x and y offsets may be needed.
Can somebody tell me what x and y offsets we need for solutions like 1680x1050 ?

Thx
Dragzal
__________________

  Reply With Quote
11-25-07, 04:27 AM   #10
dystrophy
A Cyclonian
Join Date: Dec 2006
Posts: 42
Originally Posted by dragzal
Can somebody tell me what x and y offsets we need for solutions like 1680x1050 ?

Thx
Dragzal
I play at 1.6 ratio also and found the x,y coords that work are..

y = -582
x = 100
  Reply With Quote
11-25-07, 04:33 AM   #11
Mazzlefizz
A Pyroguard Emberseer
 
Mazzlefizz's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 3,521
What I'd suggest is anchoring it based on the minimap, like it originally was. In that way, it would work for all aspect ratios. I'm not sure why Ganders changed it be relative to the center of the screen. I usually avoided doing that whenever possible.
__________________
MazzleUI Home Page: Mazzlefizz.WoWInterface.com
Info, FAQs, Forums, Download can be found at that link.
  Reply With Quote
11-25-07, 11:59 AM   #12
Alkar
A Chromatic Dragonspawn
 
Alkar's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 195
Originally Posted by Mazzlefizz
What I'd suggest is anchoring it based on the minimap, like it originally was. In that way, it would work for all aspect ratios. I'm not sure why Ganders changed it be relative to the center of the screen. I usually avoided doing that whenever possible.

Any idea how this is done mazz. maybe a crude explaination on how to anchor it with the minimap?
  Reply With Quote
11-25-07, 12:40 PM   #13
Elcarath
A Wyrmkin Dreamwalker
 
Elcarath's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 50
Originally Posted by Mazzlefizz
What I'd suggest is anchoring it based on the minimap, like it originally was. In that way, it would work for all aspect ratios. I'm not sure why Ganders changed it be relative to the center of the screen. I usually avoided doing that whenever possible.
This is my first post so I hope I get the code and attachment right.
Just remove the Frame part, it should look like this:

Code:
	["MiniMapTracking"] = {
		["scale"] = 0.82,
If you want to keep the little Voice icon but move it up opposite of the Tracking icon, you can add the following:

Code:
 
	["MiniMapVoiceChatFrame"] = {
		["scale"] = 0.95,
		["location"] = {
			["y"] = -15,
			["x"] = -8,
			["point"] = "right",
			["frame"] = "Minimap",
			["to"] = "TOPLEFT",
		},
the full section should look like
Code:
	["MiniMapTracking"] = {
		["scale"] = 0.82,
		["location"] = {
			["y"] = -15,
			["x"] = 8,
			["point"] = "left",
			["frame"] = "Minimap",
			["to"] = "TOPRIGHT",
		},
	},
	["MiniMapVoiceChatFrame"] = {
		["scale"] = 0.95,
		["location"] = {
			["y"] = -15,
			["x"] = -8,
			["point"] = "right",
			["frame"] = "Minimap",
			["to"] = "TOPLEFT",
		},
	},
Attached Thumbnails
Click image for larger version

Name:	MiniMap.png
Views:	639
Size:	76.9 KB
ID:	1563  
  Reply With Quote
11-25-07, 02:23 PM   #14
obsidianblack
A Cobalt Mageweaver
 
obsidianblack's Avatar
Join Date: Jul 2007
Posts: 239
what skin is that?
__________________

  Reply With Quote
11-25-07, 03:15 PM   #15
Elcarath
A Wyrmkin Dreamwalker
 
Elcarath's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 50
Originally Posted by obsidianblack
what skin is that?
It's one I made for my Blood Elf It was my first attempt at a skin. Is there a thread for MazzleUI Skins?
Attached Thumbnails
Click image for larger version

Name:	Elcarath_BloodElf.png
Views:	595
Size:	156.0 KB
ID:	1564  
  Reply With Quote
11-25-07, 03:35 PM   #16
obsidianblack
A Cobalt Mageweaver
 
obsidianblack's Avatar
Join Date: Jul 2007
Posts: 239
I don't know if there's a specific thread for them but i really like that.
__________________

  Reply With Quote
11-25-07, 05:25 PM   #17
Mazzlefizz
A Pyroguard Emberseer
 
Mazzlefizz's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 3,521
Originally Posted by Alkar
Any idea how this is done mazz. maybe a crude explaination on how to anchor it with the minimap?
You just choose different values for frame, point and to entries. Elcarath did it right, so you can just copy that.
__________________
MazzleUI Home Page: Mazzlefizz.WoWInterface.com
Info, FAQs, Forums, Download can be found at that link.
  Reply With Quote
11-25-07, 05:39 PM   #18
ganders
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 131
The reason I chose to do it with UIParent is because whenever I was messing around with it and anchored it to the minimap, it would get a weird error where the picture wouldn't change whenever you changed your tracking type. I tried it with UIParent and it worked find so I thought "better safe than sorry".

Also, to Elcarath, the spot where you placed the Voice Chat Icon is the same spot where MazzleUI places the battleground icon, so it might not look to good or work to well if you're in a battleground or queue.

EDIT: Just did a little more testing and found that the error above was caused by a script I was running in Omnibus, not the button's anchor. So yes, instead of changing the anchor and offsets, simply change MiniMapTrackingFrame to MiniMapTracking.

Last edited by ganders : 11-25-07 at 07:26 PM.
  Reply With Quote
11-25-07, 06:51 PM   #19
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 772
Originally Posted by Elcarath
It's one I made for my Blood Elf It was my first attempt at a skin. Is there a thread for MazzleUI Skins?
Post a plugin on the Mazzle UI page as a skin.

Or atleast, that is where I saw the skins other people made at.

Mazzlefizz should know.
__________________
Never be satisfied with satisfactory.
  Reply With Quote
11-25-07, 08:35 PM   #20
Elcarath
A Wyrmkin Dreamwalker
 
Elcarath's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 50
Also, to Elcarath, the spot where you placed the Voice Chat Icon is the same spot where MazzleUI places the battleground icon, so it might not look to good or work to well if you're in a battleground or queue.
Good point, I haven't done any battlegrounds in some time and wondered about that open spot There should be a spot we can place that thing at though, any ideas?

To Cralor = Thank you Will check that out for sure.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Fix for Voice Chat Icon and New Tracking Button


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off