PDA

View Full Version : Can someone Fix this Mod?


AnvarHunter
02-07-2007, 10:11 AM
This is the Freezehelper Mod, its just like StunWatch but it doesnt work. Here is the link to DL it: http://wowui.incgamers.com/ui.php?id=3394EDIT - removed link and changed for appropriate linkage. Elly

and the XML:

- <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">
<Script file="FreezeHelper.lua" />
<Script file="localisation.lua" />
- <Frame name="FreezeHelper" parent="UIParent" hidden="true" movable="true">
- <Size>
<AbsDimension x="206" y="26" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="80" />
</Offset>
</Anchor>
</Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture>
- <Size>
<AbsDimension x="195" y="13" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
<Color r="0" g="0" b="0" a="0.5" />
</Texture>
</Layer>
- <Layer level="OVERLAY">
- <FontString name="FreezeHelperText" inherits="GameFontHighlight">
- <Size>
<AbsDimension x="185" y="16" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
- <Texture file="Interface\CastingBar\UI-CastingBar-Border">
- <Size>
<AbsDimension x="256" y="64" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="25" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
- <Frames>
- <StatusBar name="FreezeHelperFrameStatusBar">
- <Size>
<AbsDimension x="195" y="13" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
- <Layers>
- <Layer level="OVERLAY">
- <Texture name="FreezeHelperSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
- <Size>
<AbsDimension x="32" y="32" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
- <Scripts>
<OnLoad>this:SetFrameLevel(this:GetFrameLevel() - 1)</OnLoad>
</Scripts>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar" />
<BarColor r="0.0" g="0.6" b="1.0" />
</StatusBar>
</Frames>
- <Scripts>
<OnLoad>FreezeHelper_OnLoad();</OnLoad>
<OnShow>FreezeHelper_OnShow();</OnShow>
<OnEvent>FreezeHelper_OnEvent();</OnEvent>
<OnUpdate>FreezeHelper_OnUpdate();</OnUpdate>
<OnMouseDown>if ( arg1 == "LeftButton" and FREEZEHELPER_STATUS == 3) then this:StartMoving(); end</OnMouseDown>
<OnMouseUp>if ( arg1 == "LeftButton" ) then this:StopMovingOrSizing(); end</OnMouseUp>
</Scripts>
</Frame>
- <MessageFrame name="FHAMsgFrame" insertMode="TOP" parent="UIParent" frameStrata="LOW" toplevel="true">
- <Size>
<AbsDimension x="512" y="60" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="190" />
</Offset>
</Anchor>
</Anchors>
- <Scripts>
<OnLoad />
<OnUpdate />
</Scripts>
<FontString inherits="SubZoneTextFont" justifyH="CENTER" />
</MessageFrame>
</Ui>

JaedxRapture
02-07-2007, 02:55 PM
Uh-oh, he linked to WoWI. :laugh:

Try ClassTimer. I'm using it on my 'lock and it's wonderful. Should do this for you just fine.

AnvarHunter
02-07-2007, 03:33 PM
Ok, that mod would work if I had the target targeted, however when i'm cc'n (freezeing) it's cause im focusing DPS on something else, hence why freezehelper works cause if i change targets it still has a countdown bar up there. I don't like natr enemy castbar cause if your in a group if fills up with a TON of shuff and isn't very visual anyhow. What would i need to do to update this for BC? just change a line somewhere or what?

JaedxRapture
02-07-2007, 03:50 PM
It needs to ve run through to work on the latest API, and upgraded to Lua 5.1 (from 5.0). Nearly all the changes would involve the Lua files, not the XML.

AnvarHunter
02-07-2007, 04:02 PM
Is that another language? I have no idea howw to code or anything of the sort, sorry. Could you take minute to fix it?

JaedxRapture
02-07-2007, 04:09 PM
It wouldn't take just a minute. I'm not interested in sinking time into an addon I will never use, and I'm not at my computer nor will I be for a couple days (so I have no access to WoW whatsoever).

Sorry.