View Single Post
10-27-11, 08:10 AM   #17
Brainn
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 263
with the latest ptr-patch (4.0.3.14890) the secureaura bug seems to be fixed, i can use my old auraframe without errors now.
but i got a new bug:
Code:
Interface\AddOns\VFL\Metadata\Textures.lua:23: attempt to call global 'GetNumMacroIcons' (a nil value)

Stack trace:
-----------
this pops up right after login, the "Blizzard Icons" category in the texture-selection window does not get populated. i did never realy use that anyways since finding the one you want in a list of hundreds of icons is not that easy, but i did a quick look through the new blizzard-code and came up with this fix:

\VFL\Metadata\Textures.lua, Line 22++
Code:
---------- All blizz icons
local ICON_PATH = GetMacroIcons( MACRO_ICON_FILENAMES );
for i=1,#GetMacroIcons( MACRO_ICON_FILENAMES ) do
	local name = string.format("bicon%03d", i);
	VFLUI.RegisterTexture({
		name = name;
		category = "Blizzard Icons";
		title = name;
		path = "Interface\\Icons\\" .. ICON_PATH[i];
		dx=32; dy=32;
	}, true);
end
propably not the most elegant solution but it seems to work
  Reply With Quote