EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Request

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-10-2010, 11:53 PM
inusun inusun is offline
A Young Mystail Rat
 
Join Date: Sep 2005
Server: Antonia Bayle
Posts: 3
Default Harvest Supply Depot Data Export

I like to keep track of what is the in the guild supply depot so we don't have an overabundance of one tier of supplies and an extreme shortage of another. Is there a way to export this list so I can import the data into say an SQL database to run reports on so I can quickly and easily identify what resources I need?

Any help on this would be truly magnificent.
Reply With Quote
  #2  
Unread 12-14-2010, 06:37 PM
Macrixen Macrixen is offline
A Brown Bear
 
Join Date: Dec 2010
Server: Unkown
Posts: 8
Default

hey i am looking for something similar but it seems that the only way to export any data is via sending it to chat while logging is on and parse the log file. I have been playing with this to no success as i have no idea how to get the info to past.

My current attempt looks something like this
Code:
<Button Location="75,410" Name="SendtoChat" OnActivate="stest=('Parent.ScrollPage.SelectedItem.row Icon.Text') say=(&quot; Item: &quot; ## stest)" PackLocation="right,bottom" PackSize="fixed,fixed" ScrollExtent="128,30" Size="128,30" Style="/CommonElements.PushButton.data.style">Dump</Button>
but all it outputs is this to chat:
Code:
You say "Item: Parent.ScrollPage.SelectedItem.row Icon.Text"
Reply With Quote
  #3  
Unread 12-14-2010, 09:37 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

"row Icon" sounds like an icon object. Those do not have a text property. Also without checking the source file it is likely a hardcoded list that is easier accessed by placing the code OnHoverIn of the selectedItem row itself.
__________________
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.

Last edited by gm9 : 12-14-2010 at 09:39 PM.
Reply With Quote
  #4  
Unread 12-14-2010, 11:56 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

They are trying to feedback the icon's stacksize, which I'm not sure of how to do. It doesn't show how many of each item exists, except for the item stack text which shows on the icon.
__________________
"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 12-15-2010, 09:02 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Assuming that stack numbers are an XML object at all, I don't think anyone has found a way to address it yet.
__________________
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
  #6  
Unread 12-15-2010, 04:20 PM
Macrixen Macrixen is offline
A Brown Bear
 
Join Date: Dec 2010
Server: Unkown
Posts: 8
Default

i understand what you guys are saying and yes I am trying to find out how to access the stack size of the item... One method i haven't tried yet was to remove the icon and make a text element with the same name see if the count shows up. not pretty but might be a workaround. Will post if works.

---Edit---
It worked!!! Now to see if i can send the text to chat.... I will post the code if i can get it to work.

Last edited by Macrixen : 12-15-2010 at 04:29 PM. Reason: update
Reply With Quote
  #7  
Unread 12-15-2010, 06:05 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Nice thinking, I like it.
__________________
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
  #8  
Unread 12-16-2010, 06:11 AM
Macrixen Macrixen is offline
A Brown Bear
 
Join Date: Dec 2010
Server: Unkown
Posts: 8
Default

My method doesn't work does not work as easily as hoped and just putting parent.row Icon.Text in the onHoverIn shows only the text within the brackets, meaning the default text for the line "table entry" or "table level". it does this to all the text elements. My next thought process is leading me to a textbox... will try when i get home from work. If someone else wants to try it please post if it worked or not.
Reply With Quote
  #9  
Unread 12-16-2010, 10:20 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

Any one tried reading LocalText? Just a thought, It could be of no use.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #10  
Unread 12-16-2010, 05:55 PM
Macrixen Macrixen is offline
A Brown Bear
 
Join Date: Dec 2010
Server: Unkown
Posts: 8
Default

Quote:
Originally Posted by Landiin View Post
Any one tried reading LocalText? Just a thought, It could be of no use.
text and localtext say the same for me.

I just can't get it to send it to chat... Just getting table entry which is what is used as placeholder in the code ">table entry</text>"
--edit--
Eureka!! ok so i tried dropping the parent in the code and just did localtext in the onhoverin within the scroll page and it worked hehe
Code:
<Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="1,0" Name="row Icon" PackLocation="right,top" PackSize="f,f" ScrollExtent="68,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="42,42" TextAlignment="Center" TextAlignmentVertical="Center" OnHoverIn="say=('LocalText')" />
--Edit2--
Ok now for the really fun part... How in the world do you simplify this so that you won't have to mouse over every item 200x for both count and name? You can't call the localtext out of any element except the one that houses the data your looking for. SelectedItem doesn't work because it's not a list. few possibilities here, though not sure how to implement it.
1.)create variables in which the localtext of each element gets sent to.(really can't work due to the fact it's a templated format)
2.)Create a data object(don't have any clue as to how to do this)
3.)try and figure out how they named the templated items after it's been filled.

Here is the complete code as I use it.
Code:
    <Composite Location="17,125" Name="Items" Orientation="Horizontal" PackSize="a,a" ScrollExtent="316,273" Size="316,273" SpacingType="Fill">
        <Page DropToParent="true" Name="ScrollPage" PackSize="absolute,absolute" ScrollExtent="294,273" ScrollSize="1,44" Size="294,273">
            <Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="1,0" Name="row Icon" OnHoverIn="Count=(&apos;Count: &apos; ## &apos;LoaclText&apos;)" PackLocation="right,top" PackSize="f,f" ScrollExtent="42,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="42,42" TextAlignment="Center" TextAlignmentVertical="Center" />
            <Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="47,0" Name="row Item Name" OnHoverIn="Name=(&apos;Item: &apos; ## &apos;LocalText&apos;)" PackSize="absolute,fixed" ScrollExtent="178,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="178,42" TextAlignmentVertical="Center" />
            <Text ContextCapable="true" DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="226,0" Name="row Level" PackLocation="right,top" PackSize="f,f" ScrollExtent="68,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="68,42" TextAlignment="Center" TextAlignmentVertical="Center" />
            <Image AbsorbsInput="false" BackgroundColor="#4A404A" BackgroundOpacity="1.000" DropToParent="true" Name="row Selection" PackSize="absolute,fixed" ScrollExtent="293,42" Size="293,42" />
        </Page>
        <Scrollbar ArrowPressSound="sounds/button" Control="ScrollPage" HideIfUnnecessary="false" Location="294,0" MaximumSize="22,16384" MinimumSize="22,60" Name="Scroll" PackLocation="right,top" PackSize="fixed,absolute" ScrollExtent="22,273" Size="22,273" Style="/CommonElements.ScrollbarVertical.data.style" />
    </Composite>

Last edited by Macrixen : 12-17-2010 at 06:09 AM.
Reply With Quote
  #11  
Unread 12-17-2010, 10:13 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

This is how i would code the window. I would save it in its own UI folder and when I wanted the sample data I would load that UI and open the window. Once you have the data reload your normal UI.

Code:
<Composite Location="17,125" Name="Items" Orientation="Horizontal" PackSize="a,a" ScrollExtent="316,273" Size="316,273" SpacingType="Fill">
	<Page DropToParent="true" Name="ScrollPage" OnShow="'row Icon'.Visible=True
'row Item name'.Visible=True
DumpToChat.Press=True" PackSize="absolute,absolute" ScrollExtent="294,273" ScrollSize="1,44" Size="294,273" Visible="False">
		<Button Name="DumpToChat" OnPress="Text=Item ## ' ' ## Qty
say Text" />
		<Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="1,0" Name="row Icon" OnShow="Parent.DumpToChat.Qty=LocalText" PackLocation="right,top" PackSize="f,f" ScrollExtent="42,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="42,42" TextAlignment="Center" TextAlignmentVertical="Center" Visible="False"/>
		<Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="47,0" Name="row Item Name" OnShow="Parent.DumpToChat.Item=LocalText" PackSize="absolute,fixed" ScrollExtent="178,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="178,42" TextAlignmentVertical="Center" />
		<Text ContextCapable="true" DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="226,0" Name="row Level" PackLocation="right,top" PackSize="f,f" ScrollExtent="68,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="68,42" TextAlignment="Center" TextAlignmentVertical="Center" Visible="False"/>
		<Image AbsorbsInput="false" BackgroundColor="#4A404A" BackgroundOpacity="1.000" DropToParent="true" Name="row Selection" PackSize="absolute,fixed" ScrollExtent="293,42" Size="293,42" />
	</Page>
	<Scrollbar ArrowPressSound="sounds/button" Control="ScrollPage" HideIfUnnecessary="false" Location="294,0" MaximumSize="22,16384" MinimumSize="22,60" Name="Scroll" PackLocation="right,top" PackSize="fixed,absolute" ScrollExtent="22,273" Size="22,273" Style="/CommonElements.ScrollbarVertical.data.style" />
</Composite>
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #12  
Unread 12-17-2010, 07:14 PM
Macrixen Macrixen is offline
A Brown Bear
 
Join Date: Dec 2010
Server: Unkown
Posts: 8
Default

Quote:
Originally Posted by Landiin View Post
This is how i would code the window. I would save it in its own UI folder and when I wanted the sample data I would load that UI and open the window. Once you have the data reload your normal UI.

Code:
<Composite Location="17,125" Name="Items" Orientation="Horizontal" PackSize="a,a" ScrollExtent="316,273" Size="316,273" SpacingType="Fill">
	<Page DropToParent="true" Name="ScrollPage" OnShow="'row Icon'.Visible=True
'row Item name'.Visible=True
DumpToChat.Press=True" PackSize="absolute,absolute" ScrollExtent="294,273" ScrollSize="1,44" Size="294,273" Visible="False">
		<Button Name="DumpToChat" OnPress="Text=Item ## ' ' ## Qty
say Text" />
		<Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="1,0" Name="row Icon" OnShow="Parent.DumpToChat.Qty=LocalText" PackLocation="right,top" PackSize="f,f" ScrollExtent="42,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="42,42" TextAlignment="Center" TextAlignmentVertical="Center" Visible="False"/>
		<Text DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="47,0" Name="row Item Name" OnShow="Parent.DumpToChat.Item=LocalText" PackSize="absolute,fixed" ScrollExtent="178,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="178,42" TextAlignmentVertical="Center" />
		<Text ContextCapable="true" DropToParent="true" Font="/TextStyles.Normal.NormalStyle" Location="226,0" Name="row Level" PackLocation="right,top" PackSize="f,f" ScrollExtent="68,42" ShadowStyle="/ShadowStylesNew.Drop.style" Size="68,42" TextAlignment="Center" TextAlignmentVertical="Center" Visible="False"/>
		<Image AbsorbsInput="false" BackgroundColor="#4A404A" BackgroundOpacity="1.000" DropToParent="true" Name="row Selection" PackSize="absolute,fixed" ScrollExtent="293,42" Size="293,42" />
	</Page>
	<Scrollbar ArrowPressSound="sounds/button" Control="ScrollPage" HideIfUnnecessary="false" Location="294,0" MaximumSize="22,16384" MinimumSize="22,60" Name="Scroll" PackLocation="right,top" PackSize="fixed,absolute" ScrollExtent="22,273" Size="22,273" Style="/CommonElements.ScrollbarVertical.data.style" />
</Composite>
doesn't work as you have it.. the scrollpage is blank. i'll tinker with it and see if i can find a way t make that work as that makes sense
Reply With Quote
  #13  
Unread 12-19-2010, 05:57 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

Hmm, yea I guess the game assumes all objects are already visible and thus doesn't bother setting that property.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #14  
Unread 12-19-2010, 08:06 PM
Macrixen Macrixen is offline
A Brown Bear
 
Join Date: Dec 2010
Server: Unkown
Posts: 8
Default

aye... seems like they have removed the visible parameter on all the text elements. I tried making them go visible=false with OnMouseIn and didn't work. I also tried a button that turned scrollpage visible to see if manual would do it...no luck. seems the only way would probably be see if the text elements be accessed externally which is prob a negative... sigh
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 08:29 PM.


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