EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Help!?!?!

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-13-2007, 10:08 PM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default 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!
Reply With Quote
  #2  
Unread 11-13-2007, 10:14 PM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default 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!!!
Reply With Quote
  #3  
Unread 11-13-2007, 11:57 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

What was the problem exactly? Incase I or someone else runs into it?
__________________
"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
  #4  
Unread 11-14-2007, 12:33 AM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default

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.
Reply With Quote
  #5  
Unread 11-14-2007, 01:38 AM
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

Quote:
Originally Posted by depechenode View Post
<?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.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #6  
Unread 11-14-2007, 03:03 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

I agree Landiin, I'm about 99.999% sure that it won't work as posted.

Quote:
Originally Posted by Landiin View Post
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.
__________________
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
  #7  
Unread 11-14-2007, 09:10 AM
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

Quote:
Originally Posted by gm9 View Post
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.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #8  
Unread 11-14-2007, 09:24 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by Landiin View Post
And yes the default XML document is correctly formatted.
Haha, nice.
__________________
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 12:45 AM.


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