View Single Post
10-06-07, 05:27 PM   #1
Garou
A Murloc Raider
Join Date: Feb 2007
Posts: 4
Help with Chapter 11 of Hacking World Of Warcraft

I am sorry, but I cant seem to figure out what I have done wrong at this point.
Upon loading the game with all addons disabled except my whereabouts addon I created, I do not see the box, nor do I see any interpreter errors I have attached a screen shot, although there is nothing to see.

Here is the xml file. sorry it lost the indentation on the post.

Thank you for any help.

I was wondering if maybe it is because I have extra files defined in the toc that have not been created yet as the book says to do?

edit : PS it does appear in the addon list screen

<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="Whereabouts_Frame" toplevel="true" frameStrata="HIGH" enableMouse="true" moveable="true" parent="UIParent" clampedToScreen="true">
<Size>
<AbsDimension x="100" y="32"/>
</Size>
<Anchors>
<Anchor point="Center"/>
</Anchors>
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\Tooltips\UI-Tooltip-Background">
<BackgroundInsets>
<AbsInset left="4" right="4" top="4" left="4"/>
</BackgroundInsets>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<Color r="0" g="0" b="0" a="0.4"/>
<BorderColor r="1" g="0.8" b="0" a="0.4"/>
</Backdrop>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_Text" inherits="GameFontNormal">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
--Whereabouts_OnLoad(self);
</OnLoad>
<OnUpdate>
--Whereabouts_OnUpdate(self, elapsed);
</OnUpdate>
<OnMouseDown>
If ( Button == "LeftButton" ) then
self:StartMoving();
self.isMoving = true;
end
</OnMouseDown>
<OnMouseUp>
if ( self.isMoving ) then
self:StopMovingOrSizing();
self.isMoving = false;
end
</OnMouseUp>
<OnHide>
if ( self.isMoving) then
self:StopMovingOrSizing();
self.isMoving = false;
end
</OnHide>
</Scripts>
</Frame>
</Ui>
Attached Thumbnails
Click image for larger version

Name:	addon_not_there.jpg
Views:	704
Size:	87.0 KB
ID:	1443  
  Reply With Quote