EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   General authoring help / discussion (http://www.eqinterface.com/forums/forumdisplay.php?f=12)
-   -   Trying to get Plat Currency Button Box to work on EQUI_PlayerWindow (http://www.eqinterface.com/forums/showthread.php?t=21934)

Nobowi 12-19-2015 02:22 AM

Trying to get Plat Currency Button Box to work on EQUI_PlayerWindow
 
<Button item="PW_Money0">
<ScreenID>PW_Money0</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>7</X>
<Y>155</Y>
</Location>
<Size>
<CX>70</CX>
<CY>14</CY>
</Size>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>9999</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_RecessedBox</Normal>
<NormalDecal>A_PlatinumCoin</NormalDecal>
</ButtonDrawTemplate>
<DecalOffset>
<X>1</X>
<Y>3</Y>
</DecalOffset>
<DecalSize>
<CX>18</CX>
<CY>18</CY>
</DecalSize>
</Button>

<Pieces>PW_Money0</Pieces>

Is what I have in the xml file..

It shows the drawn box with the plat decal.. and shows a 9999 for plat text but doesnt show the actual plat owned?

Any ideas as to why im encountering this?


I should probably note that I am playing on a EMU Private server (Project1999)

Nobowi 12-19-2015 06:52 PM

After doing some digging
 
I have read that the actual counter is hard coded within the inventory window.. Which doesnt make sense to me considering that there has to be something that is caching the information from the eq database.. that we should be able to basically grant a if this then that with xml?

warriorofmight 12-20-2015 12:19 AM

This is what my inventory window code looks like. It's been a while since I've messed with UIs, but perhaps you're referencing a ScreenID that the game doesn't know, since money is native to the inventory window. Many elements are hard coded to specific windows, but I'm not sure if money is among them.

Code:
<Button item="IW_Money0"> <ScreenID>IW_Money0</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>303</X> <Y>121</Y> </Location> <Size> <CX>70</CX> <CY>24</CY> </Size> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <Style_Checkbox>false</Style_Checkbox> <!--<RadioGroup/>--> <Text>9999</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <Template>BDT_PlatinumCoin</Template> <DecalOffset> <X>1</X> <Y>3</Y> </DecalOffset> <DecalSize> <CX>18</CX> <CY>18</CY> </DecalSize> </Button>


All times are GMT -5. The time now is 03:49 AM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.