MacroQuartz 1.61

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

Moderator: MacroQuest Developers

carpaltunnel
a lesser mummy
a lesser mummy
Posts: 31
Joined: Thu Sep 04, 2003 3:52 pm

Post by carpaltunnel » Wed Apr 21, 2004 9:49 pm

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

s0meth1ng
orc pawn
orc pawn
Posts: 28
Joined: Sun Feb 22, 2004 7:00 am

Post by s0meth1ng » Thu Apr 22, 2004 5:23 am

Yes can someone plz update this macro 8( plz am begging on teh knee's :cry:

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Thu Apr 22, 2004 9:40 am

Let me go through and see what I can come up with. No promises :)

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Thu Apr 22, 2004 10:46 am

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.
Last edited by magictiger on Thu Apr 22, 2004 10:54 am, edited 2 times in total.

Diazepam
a lesser mummy
a lesser mummy
Posts: 31
Joined: Thu Mar 11, 2004 6:26 pm

Post by Diazepam » Thu Apr 22, 2004 10:47 am

Check out magictiger and/or Stilgar's posts.

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Thu Apr 22, 2004 10:50 am

Um... let me edit that code above...

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

n00bie
orc pawn
orc pawn
Posts: 26
Joined: Sun Feb 29, 2004 3:21 pm

Post by n00bie » Thu Apr 22, 2004 12:05 pm

Thanks, that worked great.

carpaltunnel
a lesser mummy
a lesser mummy
Posts: 31
Joined: Thu Sep 04, 2003 3:52 pm

Post by carpaltunnel » Thu Apr 22, 2004 3:50 pm

All working, except NPC's report unknown class, PC's class is displayed properly.

s0meth1ng
orc pawn
orc pawn
Posts: 28
Joined: Sun Feb 22, 2004 7:00 am

Post by s0meth1ng » Thu Apr 22, 2004 6:07 pm

Noticed it doesnt state which direction thay are at.

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Thu Apr 22, 2004 9:25 pm

*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.

Stilgar
a lesser mummy
a lesser mummy
Posts: 44
Joined: Thu Oct 23, 2003 9:43 pm

Post by Stilgar » Tue Apr 27, 2004 5:48 am

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

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Tue Apr 27, 2004 1:04 pm

*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.

Roentgen
orc pawn
orc pawn
Posts: 15
Joined: Fri Nov 28, 2003 9:15 pm

Post by Roentgen » Wed May 12, 2004 2:33 pm

link to download the mq ui seems broken.....