[NULL]

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

Moderator: MacroQuest Developers

DoubleBlah
orc pawn
orc pawn
Posts: 13
Joined: Fri Jan 09, 2004 8:12 pm

[NULL]

Post by DoubleBlah » Fri Jan 09, 2004 8:14 pm

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

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Fri Jan 09, 2004 10:10 pm

add a $if
OMGWTFBBQ

DoubleBlah
orc pawn
orc pawn
Posts: 13
Joined: Fri Jan 09, 2004 8:12 pm

Post by DoubleBlah » Fri Jan 09, 2004 10:40 pm

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!!

DoubleBlah
orc pawn
orc pawn
Posts: 13
Joined: Fri Jan 09, 2004 8:12 pm

Post by DoubleBlah » Fri Jan 09, 2004 10:48 pm

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 :)

DoubleBlah
orc pawn
orc pawn
Posts: 13
Joined: Fri Jan 09, 2004 8:12 pm

Post by DoubleBlah » Fri Jan 09, 2004 10:59 pm

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?

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Fri Jan 09, 2004 11:05 pm

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.

DoubleBlah
orc pawn
orc pawn
Posts: 13
Joined: Fri Jan 09, 2004 8:12 pm

Yay!

Post by DoubleBlah » Fri Jan 09, 2004 11:33 pm

Yay!

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

Image

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

Post by || Napolion || » Sun Jan 11, 2004 1:59 am

Can you plz port the xml file for this. I like to use it as well.
|| Napolion ||

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Thu Jan 15, 2004 9:50 am

Looks like a mod to the Kaori buff window... something I'd like to have as well. Please post your XML file! :)

DoubleBlah
orc pawn
orc pawn
Posts: 13
Joined: Fri Jan 09, 2004 8:12 pm

Posted :)

Post by DoubleBlah » Thu Jan 15, 2004 12:46 pm

I posted it under DoubleBlah - Horizontal Buff Window ... which is down a few lines :)

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 Mar 26, 2004 5:46 pm

Before this comes up in every UI, NULLs are automatically not displayed as long as it's the entire string.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

NULLs and all that =)

Post by Plazmic » Fri Apr 02, 2004 7:33 pm

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?
- Plazmic

CrankyBaby
a lesser mummy
a lesser mummy
Posts: 58
Joined: Thu Mar 11, 2004 5:12 pm
Location: Tijuana.bc.mx
Contact:

Re: NULLs and all that =)

Post by CrankyBaby » Fri Apr 02, 2004 8:04 pm

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.
Okay, okay, I take it back - "UnF--k you."

“If you play the WinXP CD backwards,
you get a satanic message.”
“That's nothing, if you play it forward,
it installs WinXP.”

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Fri Apr 02, 2004 8:33 pm

well, want to get rid of the [], (), and {}'s people could use...
- Plazmic