 |

11-13-2007, 10:08 PM
|
 |
A Griffon
|
|
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
|
|
Custom File
Ok, I tried to get my two custom windows to work with RoK. If I can get one to work I can do the other so I will focus on the Statbar2 window.
I edited the equi_custom.xml as such:
<?xml version="1.0" encoding="utf-8"?>
<Page IgnoreTab="false" ismodule="true" Name="Custom" PackSize="1,1" PackSizeProp="0002/0003,0002/0003" ScrollExtent="1024,768" Size="1024,768" Visible="false" />
<include>_depechenode_statbar2.xml</include>
<include>_depechenode_Inventory.xml</include>
</Page>
Here is the reference in my experience window:
<?xml version="1.0" encoding="utf-8"?>
<Page actiontype="Experience" AlwaysOnTop="False" BackgroundColor="#00FF00" eq2usescomwndcontrols="true" Location="-671,452" Name="Experience" OnHide="Visible=True" OnShow="show_window=(Custom._depechenode_StatBar2)
show_window=(Custom._depechenode_StatBar2)" ScrollExtent="1598,22" Size="1598,22" UserMovable="true">
File is named in the custom ui directory where all the other files are for my ui are as:
_depechenode_Statbar2.xml
Why will the window STILL not show up??? Please help.
And I did add the eq2ui_custom.xml include to my eq2ui.xml
Any suggestions please!
|

11-13-2007, 10:14 PM
|
 |
A Griffon
|
|
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
|
|
Lol Nm
OK OK,
I figured it out....I am an idiot
The error was in my custom.xml
Fixed:
<?xml version="1.0" encoding="utf-8"?>
<Page IgnoreTab="false" ismodule="true" Name="Custom" PackSize="1,1" PackSizeProp="0002/0003,0002/0003" ScrollExtent="1024,768" Size="1024,768" Visible="false" />
<include>_depechenode_statbar2.xml</include>
<include>_depechenode_Inventory.xml</include>
</Page>
Sorry for wasted bandwidth, but look for my new and improved modded windows SOON!!!
|

11-13-2007, 11:57 PM
|
 |
A Griffon
|
|
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
|
|
What was the problem exactly? Incase I or someone else runs into it?
|

11-14-2007, 12:33 AM
|
 |
A Griffon
|
|
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
|
|
The naming of the file within the modded.xml
I posted the wrong xml in my answer above. But the naming was the problem in my reference to Custom._depechenode_statbar2. The file was named incorrectly as custom_depechenode_statbar2 in my custom ui directory. The fix came by changing the file name to _depechenode_statbar2, no need to add the "custom" to the filename. It is already referenced in the custom.xml via include. (duh!! that is why I felt like an idiot.)
Last edited by depechenode : 11-14-2007 at 12:43 AM.
|

11-14-2007, 01:38 AM
|
|
Slayer of clock cycles
|
|
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
|
|
Quote:
Originally Posted by depechenode
<?xml version="1.0" encoding="utf-8"?>
<Page IgnoreTab="false" ismodule="true" Name="Custom" PackSize="1,1" PackSizeProp="0002/0003,0002/0003" ScrollExtent="1024,768" Size="1024,768" Visible="false" />
<include>_depechenode_statbar2.xml</include>
<include>_depechenode_Inventory.xml</include>
</Page>
|
I still do not see how it works with what I have highlighted in red closes the page tag thus giving </Page> no open tag. Maybe SOE's parser is really flexible, I know it lets you have two root nodes witch is a big parser error and poor XML format but no opening tag; hmm must investigate.
|

11-14-2007, 03:03 AM
|
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
I agree Landiin, I'm about 99.999% sure that it won't work as posted.
Quote:
Originally Posted by Landiin
I know it lets you have two root nodes witch is a big parser error and poor XML format
|
Sorry for "abusing" that in my UI, I knew you'd think poorly of me.
I think their format is consistent though. They have eq2ui.xml as the only root node and everything else is just <include>s. The xml tree they build is valid.
|

11-14-2007, 09:10 AM
|
|
Slayer of clock cycles
|
|
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
|
|
Quote:
Originally Posted by gm9
I agree Landiin, I'm about 99.999% sure that it won't work as posted.
Sorry for "abusing" that in my UI, I knew you'd think poorly of me.
I think their format is consistent though. They have eq2ui.xml as the only root node and everything else is just <include>s. The xml tree they build is valid.
|
LOL gm9. I am not passing judgment I've used it before myself. If the loop hole is there might as well jump thought it  But it could bite one in the end is all I am saying.
And yes the default XML document is correctly formatted.
|

11-14-2007, 09:24 AM
|
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Quote:
Originally Posted by Landiin
And yes the default XML document is correctly formatted.
|
Haha, nice. 
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:20 AM.
|
 |