I have a mod someone that used to be in my guild made to help me track who all in the guild is online at set events (for dkp). Unfortunately as of 3.0 this mod wont work (since its integrated in ace and apparently its changed or something).
I decided to try make this mod myself.... although I am rather stuck
All I need is a simple frame to show/hide when you type some slash command. The frame needs two buttons. One button to update a highlightable list (so as i can cut and paste the list onto another application) and a close button. I have a rough idea of some of the code but even small amounts do not work when i run wow.
this is the mod as it is at the moment using ace2.
http://www.9thorder.com/MuppetsOnline.rar
I am personaly thinking ace is not needed for something this simple which is why i was thinking of making it myself..... After spending all day and all night I have not even managed to alter any of the tutorial frames from
http://fara.webeddie.com/frames/last.html
Was hoping to use them as a base.
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/">
<Script file="FaraFrames.lua"/>
<!-- Here the Scripts that have to be Executed -->
<Frame name="FaraFrames_GeneralScripts" hidden="true">
<Scripts> <OnLoad> FaraFrames_OnLoad(); </OnLoad></Scripts>
</Frame>
<Frame name="FaraFramesDialog" hidden="true" toplevel="true" virtual="true" frameStrata="DIALOG" parent="UIParent">
<Size>
<AbsDimension x="200" y="200"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
</Backdrop>
</Frame>
<Frame name="FaraFramesUI" inherits="FaraFramesDialog">
<Layers>
<Layer level="ARTWORK">
<FontString name="guildonlinelist" inherits="GameFontNormal">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="4" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Ui>
Code:
function FaraFrames_OnLoad()
out("On load Message");
SLASH_FARAFRAMES1 = "/faraframes";
SLASH_FARAFRAMES2 = "/ff";
SlashCmdList["FARAFRAMES"] = function(msg)
FaraFrames_SlashCommandHandler(msg);
end
end
function FaraFrames_SlashCommandHandler(msg)
out("FaraFrames: " .. msg)
if(msg == "toggle")
FaraFrames_Toggle(msg);
end
end
function FaraFrames_Toggle(msg)
local frame = getglobal("FaraFramesUI")
if( msg == "toggle" ) then
if (frame) then
if( frame:IsVisible() ) then
frame:Hide();
else
frame:Show();
guildonlinelist:SetText("test");
end
end
end
end
I have that so far but it does nothing and I really am beyond understanding why.