Download
(235Kb)
Download
Updated: 11-30-12 09:54 AM
Updated:11-30-12 09:54 AM
Created:11-30-12 09:54 AM
Downloads:1,827
Favorites:1
MD5:

Nameplates modifier - Fix for 5.1

Version: 5.1
by: sevenlist [More]

I hope the fix works for you as it does for me, as I am no LUA/WoW coder and know only enough to be dangerous (a.k.a. dilettante .

Thanks to Idnarian pinging me via a PM regarding fixing this add on.

Have fun guys and keep kicking virtual asses!

Post A Reply Comment Options
Unread 12-01-12, 12:31 PM  
sevenlist
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 4
Uploads: 1
Re: Additional Close Bracket.

Originally Posted by dafft
Currently I was getting alot of errors
Yes, you are right and I am not able to fix them .

Here's the link to the main discussion:
http://www.wowinterface.com/download...21749#comments
Report comment to moderator  
Reply With Quote
Unread 12-01-12, 12:25 PM  
sevenlist
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 4
Uploads: 1
Re: Additional Close Bracket.

Originally Posted by dafft
on the last end, you got a close bracket - should that be there?
Yes, this is the closing bracket for the opening bracket of "frame:SetScript(".
Last edited by sevenlist : 12-01-12 at 12:25 PM.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 07:25 PM  
dafft
A Murloc Raider

Forum posts: 8
File comments: 5
Uploads: 0
Additional Close Bracket.

Currently I was getting alot of errors showing either

A) Message: Interface\AddOns\Nameplates\Nameplates.lua:64: attempt to index local 'texture' (a nil value)
B) Message: Interface\AddOns\Nameplates\Nameplates.lua:XX: attempt to call method 'SetStatusBarTexture' (a nil value)

And I noticed that in the following code:-
local numKids, lastupdate, i = 0, 0, 0
local frame = CreateFrame("Frame", nil, WorldFrame)
frame:SetFrameStrata("TOOLTIP")
frame:SetScript("OnUpdate", function(self, elapsed)
lastupdate = lastupdate + elapsed

if lastupdate > 0.1 then

local newNumKids = WorldFrame.GetNumChildren(WorldFrame)
if numKids ~= newNumKids then
numKids = newNumKids
hookFrames(WorldFrame.GetChildren(WorldFrame))
end

lastupdate = 0
end
end)
on the last end, you got a close bracket - should that be there? (Currently not at home to test the addon)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: