Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="1,1" MaximumSize="330,55" MinimumSize="330,55" Name="Aseekias_Damage_Stats" PackLocation="left,top" ScrollExtent="330,55" Size="330,55" UserMovable="true">
<Page Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="330,55" Size="330,55">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="330,55" Size="330,55" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="330,55" Size="330,55" />
</Page>
</Page>
test this code.... without any other code in it... save it as _test_window.xml
open you eq2ui_custom.xml
insert the line <include>_test_window.xml</include>
make a macro like /show_window Custom.test_window
push your macro button an a window will pop up now......
if you like no borders and no backround color .. open your xml fie go to the last line and change the backroundOpacity="1.000" to backroundOpacity="0.000"...
this code works... use the same code for my small dps_stat window..
..........
think thats the right code for your window
-------------------------------------------
Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="500,500" Name="CoinWeight" PackLocation="fixed,fixed" ScrollExtent="350,32" Size="350,32" UserMovable="true">
<Text AbsorbsInput="false" DynamicData="/GameData.Self.Weight" Font="/TextStyles.Normal.NormalStyle" Location="260,6" Margin="1,0,1,0" Name="WeightValue" ScrollExtent="83,18" Size="83,18">:80c1011d08ea8fac:[DEVL]</Text>
<Icon ActionData="coin 0" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="195,6" MouseOverColor="#FFFF00" Name="CoinCopper" ScrollExtent="18,18" Size="18,18" TreatAsButton="true" />
<Icon ActionData="coin 1" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="132,6" MouseOverColor="#FFFF00" Name="CoinSilver" ScrollExtent="18,18" Size="18,18" TreatAsButton="true" />
<Icon ActionData="coin 2" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="68,6" MouseOverColor="#FFFF00" Name="CoinGold" ScrollExtent="18,18" Size="18,18" TreatAsButton="true" />
<Icon ActionData="coin 3" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="5,6" MouseOverColor="#FFFF00" Name="CoinPlatinum" ScrollExtent="18,18" Size="18,18" TreatAsButton="true" />
<Text actiontype="Coin" cointype="0" description="Copper" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_0" Font="/TextStyles.Normal.NormalStyle" Location="215,6" Margin="0,0,5,0" Name="Copper" ScrollExtent="43,20" Size="43,20" TextAlignmentVertical="Center" TextColor="#EA9129" Tooltip=":80c1011d45dc813c:Copper">:80c1011d3661be48:999999</Text>
<Text actiontype="Coin" cointype="1" description="Silver" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_1" Font="/TextStyles.Normal.NormalStyle" Location="152,6" Margin="0,0,5,0" Name="Silver" ScrollExtent="42,20" Size="42,20" TextAlignmentVertical="Center" TextColor="#A0A0A0" Tooltip=":80c1011dd708e292:Silver">:80c1011d3661be48_1:999999</Text>
<Text actiontype="Coin" cointype="2" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_2" Font="/TextStyles.Normal.NormalStyle" Location="89,6" Margin="0,0,5,0" Name="Gold" ScrollExtent="44,20" Size="44,20" TextAlignmentVertical="Center" TextColor="#FFEE70" Tooltip=":80c1011d18644d90:Gold">:80c1011d3661be48_2:999999</Text>
<Text actiontype="Coin" cointype="3" Dragable="true" DragAccepts="icon" DragType="coin" DynamicData="/GameData.Coins.Coin_3" Font="/TextStyles.Normal.NormalStyle" Location="25,7" Margin="0,0,5,0" Name="Platinum" ScrollExtent="45,18" Size="45,18" TextAlignmentVertical="Center" Tooltip=":80c1011d293ba1c4:Platinum">:80c1011d3661be48_3:999999</Text>
<Page Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="350,32" Size="350,32">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Color="#262422" DragAccepts="icon" Enabled="false" GetsInput="false" Name="Grouper" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/FrameStyles.BkgRoundedGreyscale.rect" ScrollExtent="350,32" Size="350,32" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/FrameStyles.BkgRoundedGreyscale.rect" ScrollExtent="350,32" Size="350,32" />
</Page>
</Page>
save it as _Coinweight.xml
open you eq2ui_custom.xml
insert the line <include>_Coinweight.xml</include>
make a macro like /show_window Custom.Coinweight
test it on testserver it works..
so please.. if you code something.. and it dosen't work... take some time... open other ui's and show is there a mistake in your code..
but others do not make bad for own errors are the correct away... #
give you the hands and get along again
your aseekia