Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 06-03-2003, 09:07 PM   #1
jabsys
A Fire Beetle
 
Join Date: Oct 2002
Posts: 2
Default Bag modification problem, help please.

Hello,

I'm trying to mod a bag with no borders so that it has quick slots at the top of it. It's working, kind of except that I have a problem I cannot seem to fix.



The Done and Combine buttons are obscuring the last two bag/container slots. I can magic away these buttons or shrink them but what I cannot seem to do (which unfortunately is what I want to do) is to move them under the last two slots.

This is the code I'm using for this container:

Code:
<?xml version = "1.0"?> <XML ID = "EQInterfaceDefinitionLanguage"> <Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/> <Label item ="Container_Label"> <ScreenID>Container_Label</ScreenID> <Font>2</Font> <RelativePosition>true</RelativePosition> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>0</LeftAnchorOffset> <TopAnchorOffset>90</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>130</BottomAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>true</LeftAnchorToLeft> <Text>Container Name Here</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <NoWrap>false</NoWrap> <AlignCenter>true</AlignCenter> <AlignRight>false</AlignRight> </Label> <InvSlot item = "ContainerPri"> <ScreenID>ContainerPri</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvPrimary</Background> <EQType>13</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <InvSlot item = "ContainerSec"> <ScreenID>ContainerSec</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>20</X> <Y>0</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvSecondary</Background> <EQType>14</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <InvSlot item = "ContainerRng"> <ScreenID>ContainerRng</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>40</X> <Y>0</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvRange</Background> <EQType>11</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <InvSlot item = "ContainerAmm"> <ScreenID>ContainerAmm</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>60</X> <Y>0</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvAmmo</Background> <EQType>21</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <InvSlot item = "ContainerNeck"> <ScreenID>ContainerNeck</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>20</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvNeck</Background> <EQType>5</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <InvSlot item = "ContainerHead"> <ScreenID>ContainerHead</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>20</X> <Y>20</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvHead</Background> <EQType>2</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <InvSlot item = "ContainerWrist"> <ScreenID>ContainerWrist</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>40</X> <Y>20</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvWrist</Background> <EQType>9</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <InvSlot item = "ContainerFinger"> <ScreenID>ContainerFinger</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>60</X> <Y>20</Y> </Location> <Size> <CX>20</CX> <CY>20</CY> </Size> <Background>A_InvRing</Background> <EQType>15</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> </InvSlot> <Button item = "Container_Icon"> <ScreenID>Container_Icon</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>160</Y> </Location> <Size> <CX>0</CX> <CY>0</CY> </Size> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <Style_Checkbox>false</Style_Checkbox> <Text/> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <ButtonDrawTemplate> <Normal>A_RecessedBox</Normal> <NormalDecal>A_DragItem</NormalDecal> </ButtonDrawTemplate> <DecalOffset> <X>0</X> <Y>0</Y> </DecalOffset> <DecalSize> <CX>20</CX> <CY>20</CY> </DecalSize> </Button> <InvSlot item = "ContainerSlot1"> <ScreenID>ContainerSlot1</ScreenID> <!--<Font>3</Font>--> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>42</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <Background>A_RecessedBox</Background> <EQType>30</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot2"> <ScreenID>ContainerSlot2</ScreenID> <!--<Font>3</Font>--> <RelativePosition>true</RelativePosition> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>40</LeftAnchorOffset> <TopAnchorOffset>42</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>82</BottomAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>false</LeftAnchorToLeft> <!-- <Location> <X>40</X> <Y>0</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size>--> <Background>A_RecessedBox</Background> <EQType>31</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <ItemOffsetX>0</ItemOffsetX> <ItemOffsetY>0</ItemOffsetY> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot3"> <ScreenID>ContainerSlot3</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>82</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <Background>A_RecessedBox</Background> <EQType>32</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot4"> <ScreenID>ContainerSlot4</ScreenID> <RelativePosition>true</RelativePosition> <!-- <Location> <X>40</X> <Y>124</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size>--> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>40</LeftAnchorOffset> <TopAnchorOffset>82</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>122</BottomAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>false</LeftAnchorToLeft> <Background>A_RecessedBox</Background> <EQType>33</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot5"> <ScreenID>ContainerSlot5</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>122</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <Background>A_RecessedBox</Background> <EQType>34</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot6"> <ScreenID>ContainerSlot6</ScreenID> <RelativePosition>true</RelativePosition> <!-- <Location> <X>40</X> <Y>164</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size>--> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>40</LeftAnchorOffset> <TopAnchorOffset>122</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>162</BottomAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>false</LeftAnchorToLeft> <Background>A_RecessedBox</Background> <EQType>35</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot7"> <ScreenID>ContainerSlot7</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>162</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <Background>A_RecessedBox</Background> <EQType>36</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot8"> <ScreenID>ContainerSlot8</ScreenID> <RelativePosition>true</RelativePosition> <!-- <Location> <X>40</X> <Y>204</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size>--> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>40</LeftAnchorOffset> <TopAnchorOffset>162</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>202</BottomAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>false</LeftAnchorToLeft> <Background>A_RecessedBox</Background> <EQType>37</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot9"> <ScreenID>ContainerSlot9</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>202</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <Background>A_RecessedBox</Background> <EQType>38</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <InvSlot item = "ContainerSlot10"> <ScreenID>ContainerSlot10</ScreenID> <RelativePosition>true</RelativePosition> <!-- <Location> <X>40</X> <Y>244</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size>--> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>40</LeftAnchorOffset> <TopAnchorOffset>202</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>242</BottomAnchorOffset> <TopAnchorToTop>true</TopAnchorToTop> <BottomAnchorToTop>true</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>false</LeftAnchorToLeft> <Background>A_RecessedBox</Background> <EQType>39</EQType> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference/> </InvSlot> <Button item = "Container_Combine"> <ScreenID>Container_Combine</ScreenID> <Font>1</Font> <RelativePosition>true</RelativePosition> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>0</LeftAnchorOffset> <TopAnchorOffset>40</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>21</BottomAnchorOffset> <TopAnchorToTop>false</TopAnchorToTop> <BottomAnchorToTop>false</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>true</LeftAnchorToLeft> <Style_Transparent>false</Style_Transparent> <Style_Checkbox>false</Style_Checkbox> <Text>Combine</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <ButtonDrawTemplate> <Normal>A_SmallBtnNormal</Normal> <Pressed>A_SmallBtnPressed</Pressed> <Flyby>A_SmallBtnFlyby</Flyby> <Disabled>A_SmallBtnDisabled</Disabled> <PressedFlyby>A_SmallBtnPressedFlyby</PressedFlyby> </ButtonDrawTemplate> </Button> <Button item = "Container_DoneButton"> <ScreenID>DoneButton</ScreenID> <Font>1</Font> <RelativePosition>true</RelativePosition> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>0</LeftAnchorOffset> <TopAnchorOffset>20</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>0</BottomAnchorOffset> <TopAnchorToTop>false</TopAnchorToTop> <BottomAnchorToTop>false</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <LeftAnchorToLeft>true</LeftAnchorToLeft> <Style_Transparent>false</Style_Transparent> <Style_Checkbox>false</Style_Checkbox> <Text> Done </Text> <TextColor> <R>0</R> <G>255</G> <B>255</B> </TextColor> <ButtonDrawTemplate> <Normal>A_BtnNormal</Normal> <Pressed>A_BtnPressed</Pressed> <Flyby>A_BtnFlyby</Flyby> <Disabled>A_BtnDisabled</Disabled> <PressedFlyby>A_BtnPressedFlyby</PressedFlyby> </ButtonDrawTemplate> </Button> <Screen item = "ContainerWindow"> <RelativePosition>false</RelativePosition> <Location> <X>350</X> <Y>10</Y> </Location> <Size> <CX>66</CX> <CY>600</CY> </Size> <Text>Container</Text> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>true</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <Pieces>Container_Label</Pieces> <Pieces>ContainerPri</Pieces> <Pieces>ContainerSec</Pieces> <Pieces>ContainerAmm</Pieces> <Pieces>ContainerRng</Pieces> <Pieces>ContainerFinger</Pieces> <Pieces>ContainerWrist</Pieces> <Pieces>ContainerHead</Pieces> <Pieces>ContainerNeck</Pieces> <Pieces>Container_Icon</Pieces> <Pieces>ContainerSlot1</Pieces> <Pieces>ContainerSlot2</Pieces> <Pieces>ContainerSlot3</Pieces> <Pieces>ContainerSlot4</Pieces> <Pieces>ContainerSlot5</Pieces> <Pieces>ContainerSlot6</Pieces> <Pieces>ContainerSlot7</Pieces> <Pieces>ContainerSlot8</Pieces> <Pieces>ContainerSlot9</Pieces> <Pieces>ContainerSlot10</Pieces> <Pieces>Container_DoneButton</Pieces> <Pieces>Container_Combine</Pieces> </Screen> </XML>


Hopefully someone here can see where I'm going wrong and point it out =/

Thanks in advance.
jabsys is offline   Reply With Quote
Old 06-04-2003, 04:20 PM   #2
grottel
Grimling Code Editor
 
Join Date: Sep 2002
Server: Xev
Posts: 507
Interface Author - Click to view interfaces
Default

Tricky topic.
Since this single XML is used for ALL containers regardless of the number of slots, it can be very tricky to get EQ to move stuff where you want it.

My suggestion would be to offset these buttons a specific distance from the BOTTOM of the container.

Also, when you talk about no-border you may want to review the posts about 1 pixel requirement.

Good luck!
grottel is offline   Reply With Quote
Old 06-04-2003, 07:32 PM   #3
jabsys
A Fire Beetle
 
Join Date: Oct 2002
Posts: 2
Default

I've played with this further, and it seems that the client isn't allocating enough real estate for it. I can move the buttons to the top, and it then results in slots 9/10 on an oven for example, disappearing into nowhere land.

However if I set the sizable property to true, I can drag the bottom border downwards and uncover the missing two slots.

I'm inclined to say the program's defeated me and go back to the no quickslots bag because I tradeskill a lot as well as raid a lot.

Edit: No worries, I've managed to get it working :P Not really sure what was different but I went back to an earlier base mod and redid things.

Last edited by jabsys : 06-04-2003 at 07:59 PM.
jabsys is offline   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


All times are GMT -5. The time now is 05:51 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI