EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-09-2008, 04:18 AM
Darthma Darthma is offline
A Brown Bear
 
Join Date: Nov 2007
Server: Vox
Posts: 10
Unhappy data outside container

Hi,

I am asking for help again. I keep getting this error "couldn't open xml file....data outside container." I am trying to use GameData and display it in my custom mod. I decided to just write a mod that would just display DynamicData="/GameData.Self.Name" in a Text tag, but this doesn't work at all. Any ideas?

Thanks,
Reply With Quote
  #2  
Unread 06-09-2008, 04:44 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

A mod to display your name could look like this:
<?xml version="1.0" encoding="utf-8"?>
<Page Name="MyName" Size="365,30">
<Text DynamicData="/GameData.Self.Name" Font="/TextStyles.VeryLarge.VeryLargeStyle" Name="PlayerName" Size="365,30" />
</Page>
If you leave out the <Page></Page> tags you would get the error message you quoted.
__________________
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
  #3  
Unread 06-09-2008, 07:26 AM
Darthma Darthma is offline
A Brown Bear
 
Join Date: Nov 2007
Server: Vox
Posts: 10
Default data outside container

Thanks for your response. I tried your code which looks like it should work, but now I simply get, "couldn't open xml." Not sure what to make of this since the file is in the Custom mod and included in the custom file. I was just trying to generate real time info to the screen and it seems pretty straightforward, but I the window doesn't come up.
Reply With Quote
  #4  
Unread 06-09-2008, 07:29 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

See your other thread I guess.
__________________
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
  #5  
Unread 06-09-2008, 12:16 PM
Darthma Darthma is offline
A Brown Bear
 
Join Date: Nov 2007
Server: Vox
Posts: 10
Question can u display text and gamedata at the same time

Ok...I managed to display GameData. Another question. Can you display GameData and text at the same time? For example, say I wanted to display:

My name is DynamicData="/GameData.Self.Name"

I notice when I do this, I only see the game data and not the text, but I want it on the same line if possible.

Thanks,
Reply With Quote
  #6  
Unread 06-09-2008, 12:19 PM
Darthma Darthma is offline
A Brown Bear
 
Join Date: Nov 2007
Server: Vox
Posts: 10
Lightbulb figured it out

Ignore my previous message. I figured it out.
Reply With Quote
  #7  
Unread 06-09-2008, 12:36 PM
Darthma Darthma is offline
A Brown Bear
 
Join Date: Nov 2007
Server: Vox
Posts: 10
Default showing gamedata w/text

I spoke too soon. I thought it was a simple matter of setting the location for Dynamic Data to be so many pixels and have the text come before or afterwards. That doesn't appear to be the case. How can I show text with the GameData?
Reply With Quote
  #8  
Unread 06-09-2008, 01:26 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

With the UIbuilder tool much of it is a simple matter of placing stuff on screen and moving it where you want it. General advice for learning how to mod UI windows: Just look at how the default UI does it, or if it doesn't (in your case it does), check one of the mods here.
__________________
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 03:10 AM.


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