EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 09-11-2009, 01:16 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 data from welcome screen

I am trying to display some data from the welcome screen in a different modded window. It seems the dynamic data that in self contained in the welcome screen does not translate to a different window. I tried to place the object with the dynamic data in my modded window like the welcome has, but I get nothing as far as for instance Hot Zone listed in my window I am working on. Any suggestions on how to get the data to display outside of the welcome screen itself?

Basically I am trying to incorporate info on my stat bar (via button press) that shows the current HZ and DD info.

Thanks in advance!
Reply With Quote
  #2  
Unread 09-11-2009, 01:50 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

I was actually planning on implementing this to my StartButton Stat Bar as well.
If the DynamicData isn't working, you could simple just work backwards up the tree to the root, and then down to the (Today) element in the Welcome window.

You could either just set your text on button press, or also modify the Text element in the Welcome with an "OnTextChanged" to further update your custom element when the text changes.

Cheers.
__________________
"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
  #3  
Unread 09-11-2009, 02:26 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

I figured by using a button to show the info would cause the data to update already. seems it doesn't. I will try working backwards as you stated and see if that works. Thanks. If you figure anything out plz let me know.
Reply With Quote
  #4  
Unread 09-11-2009, 02:38 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

You could put a OnTextChange on the text object and have it update your window.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #5  
Unread 09-11-2009, 03:34 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

the default welcome screen uses the same Name for each of the two labels. that will cause it not to update properly on text change correct?

Welcome
-----Today
--------Label (this is the HZ name)
--------Label (this is the DD name)


So would I have to mod the welcome screen to make the labels two different names then use the text change to catch the update?
Reply With Quote
  #6  
Unread 09-11-2009, 03:47 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Hmm, well that's lame.

Maybe try changing the name from "Label" to something else (via the script) and see if you don't blow something up, and then try referencing label again (to see if one stayed unchanged) and then referencing the new one.
__________________
"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
  #7  
Unread 09-11-2009, 03:59 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

well, I cant seem to get this one to work..hopefully someone will come up with a way to reference to the data and display properly. Either I have lost the number of Parent references or the data needs some kind of code like the miniskill window mod on the site used to extract data from the persona window.
Reply With Quote
  #8  
Unread 09-11-2009, 04:08 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

That shouldn't have any effect on it at all.

TextObjectForDD.OnTextChange="Parent.Parent.Parent.WhatEverHud.WhateverWindow.Te xtObject.Text=Text"
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #9  
Unread 09-11-2009, 04:09 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

how will it know what label to update though, they are both called the same thing.
Reply With Quote
  #10  
Unread 09-11-2009, 04:12 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

It don't need to know. The client populates the TextObject and the OnTextChange is fired from that object so if you use the properties name,text or what ever it will use the data from the TextObject that called the OnTextChange.

So OnTextChange="Parent......Object_You_Want_Data_COpied_To.Text=Text" would copy the text from the object that called OnTextChante to the Object on the left side..

InStead of going into the welecome window and getting the info, you are sending the info out of the welcome window into a object with a known path.
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 09-11-2009 at 04:17 PM.
Reply With Quote
  #11  
Unread 09-11-2009, 04:26 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

I think Landiin is saying modify the Welcome screen to send the data to the Stat thinger, rather than the other way around.
__________________
"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
  #12  
Unread 09-11-2009, 04:41 PM
pooka's Avatar
pooka pooka is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 250
Default

From a custom window try:

Parent.Parent.Welcome.Today.Label.Name = HZ
Parent.Parent.Welcome.Today.Label.Name = DD
Parent.DD.Text = Parent.Parent.Welcome.Today.DD.LocalText
Parent.HZ.Text = Parent.Parent.Welcome.Today.HZ.LocalText


Assuming you've got 2 labels in your custom window named DD & HZ that is.
Reply With Quote
  #13  
Unread 09-11-2009, 04:59 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Aye, that's what I was suggesting in my 2nd post.
__________________
"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
  #14  
Unread 09-11-2009, 05:13 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

Quote:
Originally Posted by Drumstix42 View Post
I think Landiin is saying modify the Welcome screen to send the data to the Stat thinger, rather than the other way around.
Yes that is the true :P
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #15  
Unread 09-11-2009, 05:47 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

Hehe thanks Landiin and Drums..yep much easier the way you two suggest. I was over thinking it.
Reply With Quote
  #16  
Unread 09-13-2009, 12:18 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

Ok I got this to work on first login with a toon. However, when I swap toons, the data does not load from the welcome screen to the modded window I use. I get blank entries. It will only update if I reopen the welcome screen on the next loaded toon in game. I tried to force an open and close of the welcome screen when I press the button on the modded window to refresh the data from the welcome to the modded spot on my window. But, it does not refresh and remains blank. any suggs on getting the data to refresh my modded window without having to reopen the welcome screen every time I swap to a different toon without fully logging to desktop and then back into game?
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:28 PM.


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