EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 07-02-2008, 02:23 PM
shotokan shotokan is offline
A Darkpaw Brute
 
Join Date: Jun 2008
Server: Antonia Bayle
Posts: 41
Arrow Why is my mod not visible?

Ok, I made a mod.. and I swear it worked fine yesterday, but doesn't appear in-game today. I'm going to post the code below and if anybody could tell me why it doesn't appear, I'd be very grateful. (I also deleted the character interface config .ini file and let it build from scratch with no luck)

Here's the mod I made:

Code:
<?xml version="1.0" encoding="utf-8"?>
        <Page eq2usescomwndcontrols="true" Location="2,400" Name="CoinWeight" PackLocation="right,bottom" ScrollExtent="404,40" Size="404,40" UserMovable="true">
            <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/Fetish.FrameStyles.frame_plain" ScrollExtent="404,40" Size="404,40">
                <Text AbsorbsInput="false" DynamicData="/GameData.Self.Weight" Font="/Fetish.Fonts.FontArial14T" Location="315,10" MinimumSize="0,20" Name="WeightValue" PackLocation="nfn,fpf" PackSize="proportional,proportional" ScrollExtent="82,20" Size="82,20" TextAlignmentVertical="Center">:80c1011d08ea8fac:[DEVL]</Text>
                <Text AbsorbsInput="false" Font="/Fetish.Fonts.FontArial14T" Location="280,10" MinimumSize="0,20" Name="WeightLabel" PackLocation="nfn,fpf" PackSize="fixed,proportional" ScrollExtent="30,20" Size="30,20" TextAlignment="Right" TextAlignmentVertical="Center">Wt:</Text>
                <Page AbsorbsInput="false" BackgroundColor="#00FF00" eq2usescomwndcontrols="true" Location="3,3" Name="CoinPage" PackLocation="cpc,fff" PackSize="proportional,proportional" ScrollExtent="259,40" Size="259,40">
                    <Icon ActionData="coin 0" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="195,7" MouseOverColor="#FFFF00" Name="CoinCopper" PackLocation="fpf,cpc" PackSize="fixed,fixed" ScrollExtent="18,18" Size="18,18" TreatAsButton="true" />
                    <Icon ActionData="coin 1" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="132,7" MouseOverColor="#FFFF00" Name="CoinSilver" PackLocation="fpf,cpc" PackSize="fixed,fixed" ScrollExtent="18,18" Size="18,18" TreatAsButton="true" />
                    <Icon ActionData="coin 2" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="68,7" MouseOverColor="#FFFF00" Name="CoinGold" PackLocation="fpf,cpc" PackSize="fixed,fixed" ScrollExtent="18,18" Size="18,18" TreatAsButton="true" />
                    <Icon ActionData="coin 3" BackgroundTint="#000000" Dragable="true" IconStyle="/IconStyles.coin" Location="5,7" MouseOverColor="#FFFF00" Name="CoinPlatinum" PackLocation="fpf,cpc" PackSize="fixed,fixed" 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="/Fetish.Fonts.FontArial14T" Location="215,2" Margin="0,0,5,0" Name="Copper" PackLocation="fpf,cpc" PackSize="proportional,proportional" ScrollExtent="43,27" Size="43,27" 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="/Fetish.Fonts.FontArial14T" Location="152,2" Margin="0,0,5,0" Name="Silver" PackLocation="fpf,cpc" PackSize="proportional,proportional" ScrollExtent="42,27" Size="42,27" 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="/Fetish.Fonts.FontArial14T" Location="89,2" Margin="0,0,5,0" Name="Gold" PackLocation="fpf,cpc" PackSize="proportional,proportional" ScrollExtent="44,27" Size="44,27" 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="/Fetish.Fonts.FontArial14T" Location="25,2" Margin="0,0,5,0" Name="Platinum" PackLocation="fpf,cpc" PackSize="proportional,proportional" ScrollExtent="45,27" Size="45,27" TextAlignmentVertical="Center" Tooltip=":80c1011d293ba1c4:Platinum">:80c1011d3661be48_3:999999</Text>
                    <Page AbsorbsInput="false" BackgroundOpacity="1.000" DragAccepts="icon" Enabled="false" GetsInput="false" Location="0,3" Name="Grouper" PackLocation="fpf,fpf" PackSize="proportional,proportional" RStyleDefault="/Fetish.FrameStyles.BkgRoundedGreyscale.rect" ScrollExtent="261,27" Size="261,27" />
                </Page>
            </Page>
            <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Backdrop" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/Fetish.FrameStyles.fetish_bg" ScrollExtent="404,40" Size="404,40" />
        </Page>
Here's the eq2ui_custom.xml file:

Code:
<?xml version="1.0" encoding="utf-8"?>
    <Page IgnoreTab="false" ismodule="true" Name="Custom" PackSize="1,1" ScrollExtent="1280,1024" Size="1280,1024" Visible="false">
<include>eq2ui_custom_poifinder.xml</include>
<include>eq2ui_custom_coinweight.xml</include>
    </Page>
Reply With Quote
  #2  
Unread 07-02-2008, 03:04 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

What do you mean "doesn't appear in-game today"?
  • It isn't showing when I load into the world?
  • It isn't show after I click a button that makes it visible?
  • It isn't showing after I issue the command Show_Window Custom.CoinWeight?

In order for EQ2 to make a window visible it has to be make visible via the command Show_Window and this includes each time you run EQ2. After that you can set the visible property of that window to true or false to work.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #3  
Unread 07-02-2008, 10:52 PM
shotokan shotokan is offline
A Darkpaw Brute
 
Join Date: Jun 2008
Server: Antonia Bayle
Posts: 41
Default

ok, I got you on that... used the onload event on the experience window...

Alright... I'm not getting this... I added:

Code:
OnShow="RevertWin=size show_window=Custom.CoinWeight show_window=Custom.CoinWeight"
to the Page tag in the experience window. Ok? It worked just fine on the first load... In fact, I saw the CoinWeight bar on the load screen before anything else. Now, since I've closed EQ2 and re-run it the CoinWeight does not appear anymore. It does appear if I use the /loadui and it does appear if I use the command /show_window Custom.CoinWeight. What gives?

Last edited by shotokan : 07-03-2008 at 12:20 AM.
Reply With Quote
  #4  
Unread 07-03-2008, 01:15 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Does it need a visible=true maybe on the top page element?
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #5  
Unread 07-03-2008, 04:31 AM
shotokan shotokan is offline
A Darkpaw Brute
 
Join Date: Jun 2008
Server: Antonia Bayle
Posts: 41
Default

Quote:
Originally Posted by Drumstix42 View Post
Does it need a visible=true maybe on the top page element?
Didn't affect anything..
Reply With Quote
  #6  
Unread 07-03-2008, 04:56 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

No, because that's the default anyway.

Does /show_window Custom.CoinWeight work without first /loadui? If it doesn't, remove your uisettings.ini, you probably moved the window off screen, resized it to zero (it has no minimum size) or something like that.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:57 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI