View Single Post
03-21-12, 11:19 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
You need to comment out the parts of the code that try to manipulate the elements you already prevented from being created:

Line 69:
Code:
self.Lag:SetFormattedText("%d ms", self.SafeZone.timeDiff * 1000)
Lines 101-105:
Code:
        local sf = self.SafeZone
        sf.timeDiff = GetTime() - sf.sendTime
        sf.timeDiff = sf.timeDiff > self.max and self.max or sf.timeDiff
        sf:SetWidth(self:GetWidth() * sf.timeDiff / self.max)
        sf:Show()
There may be others; you should be able to find them pretty quickly for any sections of code that either check for the "player" unit or attempt to do anything with the Lag and/or SafeZone members.
  Reply With Quote