Trouble Modifying my Buff Window

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

SaberX
orc pawn
orc pawn
Posts: 10
Joined: Mon May 26, 2003 10:08 pm

Trouble Modifying my Buff Window

Post by SaberX » Fri Nov 14, 2003 3:07 am

Im having a problem adding duration labels to my buff window. I followed the instructions given by doodman in this post: http://macroquest2.com/phpBB2/viewtopic.php?t=3956

My problem is that empty buff slots are showing up as Null [Null]
Im not very familier with XML programming, so i Figured this would be a good way to teach myself. but I can't understand whats going on. Does anyone have a suggestion?

Code: Select all

  <?xml version="1.0" ?> 
- <XML ID="EQInterfaceDefinitionLanguage">
  <Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" /> 
- <Ui2DAnimation item="buff_bg01">
  <Cycle>true</Cycle> 
- <Frames>
  <Texture>spellbook_bg.tga</Texture> 
- <Location>
  <X>418</X> 
  <Y>1</Y> 
  </Location>
- <Size>
  <CX>47</CX> 
  <CY>405</CY> 
  </Size>
- <Hotspot>
  <X>0</X> 
  <Y>0</Y> 
  </Hotspot>
  <Duration>1000</Duration> 
  </Frames>
  </Ui2DAnimation>
- <StaticAnimation item="A_buff_bg01">
  <ScreenID>A_spell_bg01</ScreenID> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>140</X> 
  <Y>0</Y> 
  </Location>
- <Size>
  <CX>47</CX> 
  <CY>405</CY> 
  </Size>
  <Animation>buff_bg01</Animation> 
  </StaticAnimation>
- <Button item="BW_Buff0_Button">
  <ScreenID>Buff0</ScreenID> 
- <!-- <Font>3</Font>
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>1</X> 
  <Y>10</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>   
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
  <RadioGroup /> 
- <ButtonDrawTemplate>
  <Normal>BlueIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
  
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff1_Button">
  <ScreenID>Buff1</ScreenID> 
- <!-- <Font>3</Font>   
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>40</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>   
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
  <RadioGroup /> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
  		
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff2_Button">
  <ScreenID>Buff2</ScreenID> 
- <!-- <Font>3</Font>   
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>70</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>   
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
  <RadioGroup /> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
  
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff3_Button">
  <ScreenID>Buff3</ScreenID> 
- <!-- <Font>3</Font>   
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>100</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>   
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
  <RadioGroup /> 
- <ButtonDrawTemplate>
  <Normal>BlueIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
 Default and not used		
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff4_Button">
  <ScreenID>Buff4</ScreenID> 
- <!-- <Font>3</Font> Default 
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>130</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
  <TooltipReference /> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/> Default 
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
Default
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff5_Button">
  <ScreenID>Buff5</ScreenID> 
- <!-- <Font>3</Font> Defautl 
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>160</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/> Default 
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/> Default 
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
 
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff6_Button">
  <ScreenID>Buff6</ScreenID> 
- <!-- <Font>3</Font> Default 
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>190</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
  <TooltipReference /> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/> Default 
  --> 
- <ButtonDrawTemplate>
  <Normal>BlueIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
 
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff7_Button">
  <ScreenID>Buff7</ScreenID> 
- <!-- <Font>3</Font> Use defaults 
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>220</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/> Use defaults 
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/> Use Defaults 
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
 Use defaults
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff8_Button">
  <ScreenID>Buff8</ScreenID> 
- <!-- <Font>3</Font>Defaults
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>250</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/> Use default 
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/>Use default
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <!-- 
 
			<SoundPressed/>
			<SoundUp/>
			<SoundFlyby/>
		

  --> 
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff9_Button">
  <ScreenID>Buff9</ScreenID> 
- <!-- <Font>3</Font>Use Defaults 
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>280</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/> Use Defaults 
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/>  
  --> 
- <ButtonDrawTemplate>
  <Normal>BlueIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff10_Button">
  <ScreenID>Buff10</ScreenID> 
- <!-- <Font>3</Font> 
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>310</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/>
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff11_Button">
  <ScreenID>Buff11</ScreenID> 
- <!-- <Font>3</Font>
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>340</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/>
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff12_Button">
  <ScreenID>Buff12</ScreenID> 
- <!-- <Font>3</Font>
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>370</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/>
  --> 
- <ButtonDrawTemplate>
  <Normal>BlueIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff13_Button">
  <ScreenID>Buff13</ScreenID> 
- <!-- <Font>3</Font>
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>400</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/>
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Button item="BW_Buff14_Button">
  <ScreenID>Buff14</ScreenID> 
- <!-- <Font>3</Font>
  --> 
  <RelativePosition>true</RelativePosition> 
- <Location>
  <X>3</X> 
  <Y>430</Y> 
  </Location>
- <Size>
  <CX>182</CX> 
  <CY>26</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>false</Style_Transparent> 
- <!-- <TooltipReference/>
  --> 
  <Style_Checkbox>false</Style_Checkbox> 
- <!-- <RadioGroup/>
  --> 
- <ButtonDrawTemplate>
  <Normal>RedIconBackground</Normal> 
  <NormalDecal>BuffIcons</NormalDecal> 
  </ButtonDrawTemplate>
- <DecalOffset>
  <X>141</X> 
  <Y>2</Y> 
  </DecalOffset>
- <DecalSize>
  <CX>22</CX> 
  <CY>22</CY> 
  </DecalSize>
  </Button>
- <Label item="BW_Buff0_Label">
  <ScreenID>BW_Buff0_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,1) [$char(buff,1,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>7</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff1_Label">
  <ScreenID>BW_Buff1_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,2) [$char(buff,2,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>34</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff2_Label">
  <ScreenID>BW_Buff2_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,3) [$char(buff,3,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>61</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff3_Label">
  <ScreenID>BW_Buff3_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,4) [$char(buff,4,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>88</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff4_Label">
  <ScreenID>BW_Buff4_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,5) [$char(buff,5,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>115</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff5_Label">
  <ScreenID>BW_Buff5_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,6) [$char(buff,6,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>142</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff6_Label">
  <ScreenID>BW_Buff6_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,7) [$char(buff,7,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>169</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff7_Label">
  <ScreenID>BW_Buff7_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,8) [$char(buff,8,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>196</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff8_Label">
  <ScreenID>BW_Buff8_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,9) [$char(buff,9,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>223</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff9_Label">
  <ScreenID>BW_Buff9_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,10) [$char(buff,10,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>251</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff10_Label">
  <ScreenID>BW_Buff10_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,11) [$char(buff,11,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>277</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff11_Label">
  <ScreenID>BW_Buff11_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,12) [$char(buff,12,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>304</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff12_Label">
  <ScreenID>BW_Buff12_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,13) [$char(buff,13,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>331</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff13_Label">
  <ScreenID>BW_Buff13_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,14) [$char(buff,14,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>358</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Label item="BW_Buff14_Label">
  <ScreenID>BW_Buff14_Label</ScreenID> 
  <Font>1</Font> 
  <EQType>9999</EQType> 
  <TooltipReference>$char(buff,15) [$char(buff,15,durationsecs)]</TooltipReference> 
- <Location>
  <X>1</X> 
  <Y>385</Y> 
  </Location>
- <Size>
  <CX>133</CX> 
  <CY>22</CY> 
  </Size>
  <Text /> 
- <TextColor>
  <R>220</R> 
  <G>220</G> 
  <B>220</B> 
  </TextColor>
  <AlignRight>true</AlignRight> 
  </Label>
- <Screen item="BuffWindow">
- <!-- <ScreenID/>
  --> 
  <Text /> 
  <RelativePosition>false</RelativePosition> 
- <Location>
  <X>415</X> 
  <Y>0</Y> 
  </Location>
- <Size>
  <CX>187</CX> 
  <CY>410</CY> 
  </Size>
  <Style_VScroll>false</Style_VScroll> 
  <Style_HScroll>false</Style_HScroll> 
  <Style_Transparent>true</Style_Transparent> 
- <!-- <TooltipReference/>
  --> 
  <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> 
  <Style_Titlebar>false</Style_Titlebar> 
  <Style_Closebox>false</Style_Closebox> 
  <Style_Minimizebox>false</Style_Minimizebox> 
  <Style_Border>false</Style_Border> 
  <Style_Sizable>false</Style_Sizable> 
  <Pieces>A_buff_bg01</Pieces> 
  <Pieces>BW_Buff0_Button</Pieces> 
  <Pieces>BW_Buff1_Button</Pieces> 
  <Pieces>BW_Buff2_Button</Pieces> 
  <Pieces>BW_Buff3_Button</Pieces> 
  <Pieces>BW_Buff4_Button</Pieces> 
  <Pieces>BW_Buff5_Button</Pieces> 
  <Pieces>BW_Buff6_Button</Pieces> 
  <Pieces>BW_Buff7_Button</Pieces> 
  <Pieces>BW_Buff8_Button</Pieces> 
  <Pieces>BW_Buff9_Button</Pieces> 
  <Pieces>BW_Buff10_Button</Pieces> 
  <Pieces>BW_Buff11_Button</Pieces> 
  <Pieces>BW_Buff12_Button</Pieces> 
  <Pieces>BW_Buff13_Button</Pieces> 
  <Pieces>BW_Buff14_Button</Pieces> 
  <Pieces>BW_Buff0_Label</Pieces> 
  <Pieces>BW_Buff1_Label</Pieces> 
  <Pieces>BW_Buff2_Label</Pieces> 
  <Pieces>BW_Buff3_Label</Pieces> 
  <Pieces>BW_Buff4_Label</Pieces> 
  <Pieces>BW_Buff5_Label</Pieces> 
  <Pieces>BW_Buff6_Label</Pieces> 
  <Pieces>BW_Buff7_Label</Pieces> 
  <Pieces>BW_Buff8_Label</Pieces> 
  <Pieces>BW_Buff9_Label</Pieces> 
  <Pieces>BW_Buff10_Label</Pieces> 
  <Pieces>BW_Buff11_Label</Pieces> 
  <Pieces>BW_Buff12_Label</Pieces> 
  <Pieces>BW_Buff13_Label</Pieces> 
  <Pieces>BW_Buff14_Label</Pieces> 
  </Screen>
  </XML>

eq_freak
a ghoul
a ghoul
Posts: 105
Joined: Mon Jun 24, 2002 7:17 am

Post by eq_freak » Fri Nov 14, 2003 8:37 am

I had the same problem. This works:

Code: Select all

<TooltipReference>$if("$char(buff,1)"=="NULL","","$char(buff,1) $char(buff,1,durationsecs)")</TooltipReference>

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Fri Nov 14, 2003 9:54 am

That is interesting.

You can put a series of instructions in a tooltype?

User avatar
Kint
a hill giant
a hill giant
Posts: 208
Joined: Thu Mar 13, 2003 3:36 am

Post by Kint » Fri Nov 14, 2003 3:16 pm

as far as I can tell it's basically displaying the results of anything (command, word, anything interpreted by MQ) on a ui in real time, rather then outputting it once to a chat window.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Nov 14, 2003 3:47 pm

It's easiest to use two separate labels. Our label display hook will not display any single NULL, but if you're using two values in the same label there's nothing we can do :)

And yes, the label display hook uses ParseMacroParameter, so anything you can parse in a macro excluding /commands, you can do with labels.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Sat Nov 15, 2003 4:18 am

IM having issues with my buff window too, id post it, but its the default window and im sure its easier for you to just open that then paste all the crap in there :lol:

anyone wanna give me a hand? just a conversion of the first buff or two would be fine, just want duration to show up as an overlay preferably.

/afk

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 3:49 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 3:50 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 4:27 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 4:29 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 4:30 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 4:31 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 5:08 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 5:09 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Trouble Modifying my Buff Window

Post by xyilla » Thu Oct 16, 2025 5:46 am