Creating an incredibly simple thing here... or so I thought.
Here is my .toc file
Code:
##Interface: 30000
##Title: MiniMapCoords
##Notes: This AddOn will add your coordinates underneath the minimap.
MiniMapCoords.lua
MiniMapCoords.xml
and my .lua file:
Code:
function MiniMapCoords_OnLoad(frame)
ChatFrame1:AddMessage("MiniMapCoords Initialized!");
end
and my .xml file
Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..FrameXML\UI.xsd">
<Frame name="MiniMapCoords" parent="UIParent">
<Size x="100" y="25" />
<Anchors>
<Anchor point="TOP" relativeTo="Minimap" relativePoint="BOTTOM" setAllPoints="true">
<Offset x="0" y="-20" />
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBGColor">
<Color r="0.5" g="0.5" b="0.5" a="0.75" />
</Texture>
<FontString name="$parentCoords" setAllPoints="true" justifyV="MIDDLE" justifyH="CENTER" inherits="GameFontNormal" text="Test!" />
</Layer>
</Layers>
<Scripts>
<OnLoad>
MiniMapCoords_OnLoad(self);
</OnLoad>
</Scripts>
</Frame>
</Ui>
But I'm getting an error in the log/FrameXML.log that says:
"Error loading Interface\AddOns\MiniMapCoords\MiniMapCoords.lua"
Anyon know what is going on?