Page 1 of 1

[NULL]

Posted: Fri Jan 09, 2004 8:14 pm
by DoubleBlah
I am so having issues with my buff bar. I finaly got the MQ features working with my nice lil' horizontal bar.. however.. they say NULL if there's no buff. Anyone have a nice Horizontal bar with buff name and time left on buff UNDER the icon? Thats all im trying to get but I seem to not be able to figure out how to get that NULL outta there! :)

Thank you for the help!

DoubleBlah

Posted: Fri Jan 09, 2004 10:10 pm
by Teh_ish
add a $if

Posted: Fri Jan 09, 2004 10:40 pm
by DoubleBlah
HEre is the statement I am using...
<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>
$if goes where? Im searching now .. so I may find it before anwsered ;)

THank you BTW for the help!!

Posted: Fri Jan 09, 2004 10:48 pm
by DoubleBlah
AHAHAHAHA! I knew that as I typed that i'd find what I was looking for ;) Thank you so much for the pointer!
<TooltipReference>$if("$char(buff,1)"=="NULL","","$char(buff,1) $char(buff,1,durationsecs)")</TooltipReference>
... is what I used :)

Posted: Fri Jan 09, 2004 10:59 pm
by DoubleBlah
mmm..new question... some of the spells are too long... is there a way to limit how many characters it will show so that I keep room for the timer?

Posted: Fri Jan 09, 2004 11:05 pm
by ml2517
Guessing you could do this:

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

Wouldn't allow spell names longer than 10 characters. Just change it higher to whatever works.

Yay!

Posted: Fri Jan 09, 2004 11:33 pm
by DoubleBlah
Yay!

Thank you all so much ;) Got exactly what I wanted! Here's the clip now!

Image

Posted: Sun Jan 11, 2004 1:59 am
by || Napolion ||
Can you plz port the xml file for this. I like to use it as well.

Posted: Thu Jan 15, 2004 9:50 am
by Mckorr
Looks like a mod to the Kaori buff window... something I'd like to have as well. Please post your XML file! :)

Posted :)

Posted: Thu Jan 15, 2004 12:46 pm
by DoubleBlah
I posted it under DoubleBlah - Horizontal Buff Window ... which is down a few lines :)

Posted: Fri Mar 26, 2004 5:46 pm
by Lax
Before this comes up in every UI, NULLs are automatically not displayed as long as it's the entire string.

NULLs and all that =)

Posted: Fri Apr 02, 2004 7:33 pm
by Plazmic
Lax wrote:Before this comes up in every UI, NULLs are automatically not displayed as long as it's the entire string.
Why don't we make it blank out any string that is only instances of NULL and non alpha-numeric characters?

Re: NULLs and all that =)

Posted: Fri Apr 02, 2004 8:04 pm
by CrankyBaby
Plazmic wrote:
Lax wrote:Before this comes up in every UI, NULLs are automatically not displayed as long as it's the entire string.
Why don't we make it blank out any string that is only instances of NULL and non alpha-numeric characters?
Well, NULL and whitespace , anyway.

Posted: Fri Apr 02, 2004 8:33 pm
by Plazmic
well, want to get rid of the [], (), and {}'s people could use...