Project

General

Profile

Feature - Enhancement #1621 » lootWindow reward.txt

Pork, 2016-06-13 08:06 AM

 
1

    
2
picture of the window is in the seperate link posted.
3

    
4
.XML portion from eq2 default ui
5

    
6

    
7

    
8
- <Page Size="258,47" ScrollExtent="258,47" Name="SelectedRewardPage" Location="38,198" RStyleDefault="/rectlist.chat_bubble_frame" BackgroundOpacity="1.000" AbsorbsInput="false" PackSize="a,f" Activated="true">
9

    
10

    
11
  - <Page Size="253,42" ScrollExtent="253,42" Name="ScrollPage" Location="3,2" AbsorbsInput="false" PackSize="a,a">
12

    
13
      <Icon Size="42,42" ScrollExtent="42,42" Name="row Icon" Location="1,0" TreatAsButton="true" MouseOverColor="#FFFF00" IconStyle="/IconStyles.item_list" BackgroundTint="#000000"/>
14

    
15
      <Text Size="206,42" ScrollExtent="206,42" Name="row Item Name" Location="47,0" Font="/TextStyles.Normal.NormalStyle" PackSize="a,f"                     TextAlignmentVertical="Center">:dcd55f6c69d2db30_1:Missing item name</Text>
16

    
17
      <Image Size="253,42" ScrollExtent="253,42" Name="row Selection" BackgroundOpacity="1.000" PackSize="a,f" BackgroundColor="#4A404A"/>
18

    
19
   </Page>
20

    
21
</Page>
22

    
23
_________________________________________________________________________________________________________________________
24

    
25
if you check the above .XML portion (Icon) is set to Treatasbutton= "true" so in theory should be a button you can click via :LeftClick
26
___________________________________________________________________________________________________________________________
27

    
28

    
29
echo ${EQ2UIPage[Popup,RewardPack].Child[Page,RewardPack.SelectedRewardPage.Scrollpage].NumChildren}
30

    
31
Brings back 12
32

    
33
1-3 are UI placeholders 1.Null  2.Missing item name 3. null
34

    
35
4-6 are icons for the items them selves
36

    
37
7-9 are the text of the items
38

    
39
10-12 are images for the items
40

    
41

    
42
echo ${EQ2UIPage[Popup,RewardPack].Child[Page,RewardPack.SelectedRewardPage.Scrollpage].Child[Icon,4]:RightClick}
43

    
44
Brings back Icon which is the icon for ( Infused Frost Essence )
45

    
46

    
47
echo ${EQ2UIPage[Popup,RewardPack].Child[Page,RewardPack.SelectedRewardPage.Scrollpage].Child[Text,7]:RightClick} or .Label or .Type
48

    
49
Brings Back the text ( Infused Frost Essence )
50

    
51

    
52
So it can see it
53
___________________________________________________________________________
54

    
55
problem is if you use :LeftClick or any other uielement it just crashes the entire game.
56

    
57
as this costs currency in ToT you can use one of my accounts just pm me on irc
58

    
59
any more info needed just ask
(2-2/2)