Comments (3)
This function is causing it
function --[ CodexQuest:CheckNamePlate() ]--
if IsInInstance() then return end
local something = WorldFrame:GetNumChildren()
local index = 1
local plateList = {}
for index = 1, something do
local frame = select(index, WorldFrame:GetChildren())
if frame and frame:GetName() and frame:GetName():find("NamePlate%d") and not frame.skinned then
frame.skinned = 1
frame.icon = CreateFrame("Frame", nil, frame)
frame.icon:SetFrameStrata("HIGH")
frame.icon:SetWidth(25)
frame.icon:SetHeight(25)
local texture = frame.icon:CreateTexture(nil, "HIGH")
texture:SetTexture("Interface\\Addons\\ClassicCodex\\img\\pickup.tga")
texture:SetAllPoints(frame.icon)
frame.icon.texture = texture
frame.icon:SetPoint("BOTTOM", frame, "TOP", 0, 0)
end
if frame["UnitFrame"] and frame["UnitFrame"]["displayedUnit"] then
local name = frame["UnitFrame"]["name"]:GetText()
frame.icon:Hide()
for title in pairs(CodexQuest.questLog) do
if name and CodexMap.tooltips[name] and CodexMap.tooltips[name][title] then
frame.icon:Show()
break
else
frame.icon:Hide()
end
end
end
end
end
from classiccodex.
Are you running on master branch and/or the latest version?
The code you linked is currently outdated.
There's another issue atm in that code, but shouldn't be causing any errors anymore
from classiccodex.
I think this Pull Request can fix the problem: #39
If you want a fix archive, you can download it from here:
https://github.com/LiangYuxuan/ClassicCodex/archive/patch-1.zip
from classiccodex.
Related Issues (20)
- ClassicCodex causes errors when trying to interact with guild control or moderating groups and must be disabled HOT 1
- LUA Error HOT 1
- Drastic UI slowdown on certain Quests HOT 1
- Сyclonian HOT 2
- LUA Error HOT 2
- Feature suggestion
- [Suggestion]Add Monkey Quest support
- FPS lag spike when switching subzones HOT 6
- Nameplate Lua Error HOT 4
- Can't link items into chat. HOT 3
- HereBeDragons-Pins-2.0: AddWorldMapIconMap: 'ref' must not be nil HOT 2
- Polluting minimap frame with children?
- [Need help debugging] Map marker does not disappear after completing a quest immediately
- Compatibility with addons that use color codes
- Random Lua Error HOT 5
- [Suggestion] Show quest markers on world map HOT 2
- Small Lags / Frame Drops every 5-6 Seconds HOT 2
- Tooltip fade HOT 2
- ClassicCodex Russian
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from classiccodex.