Thread Tools Display Modes
10-25-10, 02:09 PM   #1
A Murloc Raider
RVCA18's Avatar
Join Date: Oct 2010
Posts: 5
Post Dynamic Updating

Hi spiel2001,

I reworked some of the code to allow the map to be updated on the fly while you are in rainbow mode or as soon as you have entered one of the other slash commands.

This works out well when using the map in mini-mode.

The changes are below in red:

function worldMapFrame_UpdateOverlays(dtlFrame, ovrLay, scalingFactor, oAlpha)
    if(MozzFullWorldMap.colorStyle == 0) then
        texture:SetVertexColor(0.2,0.6,1.0) -- EMERALD
        MozzFullWorldMap.colorArray = {r=0.2,g=0.6,b=1.0}
function MozzFullWorldMap_Command(msg)
function MFWM_SetUpColourPicker()
    local col = MozzFullWorldMap.colorArray;
    ColorPickerFrame.hasOpacity = true;
    ColorPickerFrame.opacity = 1 - MozzFullWorldMap.transparency;
    ColorPickerFrame.func = MFWM_AcceptColour;
    ColorPickerFrame.opacityFunc = MFWM_AcceptColour;
    ColorPickerFrame.cancelFunc = MFWM_CancelColourPicker;
    -- if statement removed
    ColorPickerFrame.previousValues = { col.r, col.g, col.b, MozzFullWorldMap.transparency };
    ColorPickerFrame:SetColorRGB( col.r, col.g, col.b );
function MFWM_AcceptColour()
function MFWM_CancelColourPicker(col)
    MozzFullWorldMap.transparency = tonumber(col[4]);
    -- if statement removed
    MozzFullWorldMap.colorArray = {};
    MozzFullWorldMap.colorArray.r = col[1];
    MozzFullWorldMap.colorArray.g = col[2];
    MozzFullWorldMap.colorArray.b = col[3];
    MozzFullWorldMap.colorStyle = 2;
Let me know if you have an issues trying this out, you may have to delete the saved variable file.

ps, I was wondering if you had a repository, maybe I could submit my file.

Last edited by RVCA18 : 10-25-10 at 10:15 PM.
10-30-10, 10:49 PM   #2
A Murloc Raider
RVCA18's Avatar
Join Date: Oct 2010
Posts: 5
MozzFullWorldMap taint.log

Hello again,

I just thought I'd post what the taint.log caught from MozzFullWorldMap.

This causes the "Interface action failed because of an AddOn"

10/30 17:55:29.045 An action was blocked in combat because of taint from MozzFullWorldMap - WorldMapBlobFrame:Hide()
10/30 17:55:29.045 Interface\FrameXML\WorldMapFrame.lua:1630 WorldMapFrame_DisplayQuests()
10/30 17:55:29.045 Interface\FrameXML\WorldMapFrame.lua:1686 WorldMapFrame_UpdateMap()
10/30 17:55:29.045 Interface\FrameXML\WorldMapFrame.lua:190
10/30 17:57:12.073 An action was blocked in combat because of taint from MozzFullWorldMap - WorldMapBlobFrame:Hide()
10/30 17:57:12.073 Interface\FrameXML\WorldMapFrame.lua:1630 WorldMapFrame_DisplayQuests()
10/30 17:57:12.073 Interface\FrameXML\WorldMapFrame.lua:1686 WorldMapFrame_UpdateMap()
10/30 17:57:12.073 Interface\FrameXML\WorldMapFrame.lua:190
10/30 17:57:12.073 SetMapToCurrentZone()
10/30 17:57:12.073 Interface\FrameXML\WorldMapFrame.lua:157
10/30 17:57:12.073 WorldMapFrame:Show()
10/30 17:57:12.073 Interface\FrameXML\UIParent.lua:1467 <unnamed>:SetUIPanel()
10/30 17:57:12.073 Interface\FrameXML\UIParent.lua:1288 <unnamed>:ShowUIPanel()
10/30 17:57:12.073 Interface\FrameXML\UIParent.lua:1198
10/30 17:57:12.073 <unnamed>:SetAttribute()
10/30 17:57:12.073 Interface\FrameXML\UIParent.lua:1873 ShowUIPanel()
10/30 17:57:12.073 Interface\FrameXML\UIParent.lua:1857 ToggleFrame()
10/30 17:57:12.073 TOGGLEWORLDMAP:1
10-31-10, 08:42 AM   #3
nUI's Author
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah... this problem has been around as long as I can remember... since long before I took over the addon. I have yet to have found a working solution to it, as was the case for the prior author.

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.

Official nUI Web Site:
Official nUI Support Forum:
My day job:

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » MozzFullWorldMap: Technical Support » Dynamic Updating

Thread Tools
Display Modes

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