Page 2 of 2

Posted: Wed Apr 21, 2004 9:49 pm
by carpaltunnel
This ui hasn't been converted to the new param system. There's nothing "wrong" with it, just need to be updated. Hopefully someone will get around to it :)

Posted: Thu Apr 22, 2004 5:23 am
by s0meth1ng
Yes can someone plz update this macro 8( plz am begging on teh knee's :cry:

Posted: Thu Apr 22, 2004 9:40 am
by magictiger
Let me go through and see what I can come up with. No promises :)

Posted: Thu Apr 22, 2004 10:46 am
by magictiger
Ok, here's what I got.

Code: Select all

TargetWindow
Line 74:
change $if(n,$target(level)>0,"LVLs","")
to ${If[${Target.ID},LVL ,]}

Line 96:
change $if(n,$target(level)>0,$target(level),"")
to ${If[${Target.ID},${Target.Level},]}

Line 118:
change <EQType>2001</EQType> to 9999
add <TooltipReference>${Target.Class.ShortName}</TooltipReference>

Line 142:
change $if(n,$target(distance)>0,$target(distance),"")
to ${If[${Target.ID},${Target.Distance},]}

Line 166:
change $if(n,$target(distance)>0,$target(direction),"")
to ${If[${Target.ID},${Target.HeadingTo.ShortName},]}

BuffWindow
Line 895:
change $char(buff,1,durationsecs)
to ${Me.Buff[1].Duration.Time}
repeat this for all buffs, changing the [1] each time.

PlayerWindow
Line 361:
change $char(exp)
to ${Math.Calc[${Me.Exp}/3.3]}

Line 384:
change $char(aa,exp)
to ${Math.Calc[${Me.AAExp}/3.3]}

Line 1171:
change $if(n,$char(mana,max)>0,"Mana:","")
to ${If[${Me.MaxMana},Mana:,]}

Line 1195:
change $if(n,$char(mana,max)>0,$char(mana,cur),"")
to ${If[${Me.MaxMana},${Me.CurrentMana},]}

Line 1219:
change $if(n,$char(mana,max)>0,"Max:","")
to ${If[${Me.MaxMana},Max:,]}

Line 1242:
change $if(n,$char(mana,max)>0,$char(mana,max),"")
to ${If[${Me.MaxMana},${Me.MaxMana},]}

Line 1266:
change $if(n,$char(mana,max)>0,$char(mana,regen),"")
to ${If[${Me.MaxMana},${Me.ManaRegen},]}

Line 1290:
change $char(hp,regen)
to ${Me.HPRegen}

Line 1337:
change $if(n,$char(mana,max)>0,"/","")
to ${If[${Me.MaxMana},/,]}

If something's not working right for you, PM me with the problem and what you're seeing.

Posted: Thu Apr 22, 2004 10:47 am
by Diazepam
Check out magictiger and/or Stilgar's posts.

Posted: Thu Apr 22, 2004 10:50 am
by magictiger
Um... let me edit that code above...

DONE!
there was no freaking reason to be comparing max mana and 0. It has been removed.

Posted: Thu Apr 22, 2004 12:05 pm
by n00bie
Thanks, that worked great.

Posted: Thu Apr 22, 2004 3:50 pm
by carpaltunnel
All working, except NPC's report unknown class, PC's class is displayed properly.

Posted: Thu Apr 22, 2004 6:07 pm
by s0meth1ng
Noticed it doesnt state which direction thay are at.

Posted: Thu Apr 22, 2004 9:25 pm
by magictiger
*sigh*
First off, they work fine for me (direction and NPC class)

Second, congrats on not being able to follow some pretty damned simple instructions.
If something's not working right for you, PM me with the problem and what you're seeing.
Third, double-check your copy and paste on the target window. In the gray space to the left of the con/hp box, you should see:
LVL XX Direction Distance
Class

If you don't, re-copy and paste.

Posted: Tue Apr 27, 2004 5:48 am
by Stilgar
Or just copy-paste my 3 posts on the first page where I indeed *did* translate it into MQ2data. (except buffwindow, since I have another one)
But grats on re-inventing the wheel Magictiger =)

Posted: Tue Apr 27, 2004 1:04 pm
by magictiger
*shrugs* I don't use the UI personally. I saw people asking for a MQ2Data conversion so I did it. :)
I could have probably optimized stuff better and killed off some of the ${If} but oh well.

Posted: Wed May 12, 2004 2:33 pm
by Roentgen
link to download the mq ui seems broken.....