Page 1 of 1
Idea - Help needed.
Posted: Fri Aug 27, 2004 9:09 pm
by Trexil
I've got an idea for making a timer on my HUD for a Timer for Current Session Playtime...
e.g.
when you type /played, it shows total time playing this toon, and current session time. How would I assign this value to a variable i can use in my HUD?
I've searched the forums, havent found anything at all close to this. Anyone have any idea how to whip this up?
Posted: Fri Aug 27, 2004 9:20 pm
by Night Hawk
I wonder is there a way to subtract current time/date to the point of logging in.
Posted: Fri Aug 27, 2004 9:31 pm
by Rusty~
if you have MQ running before you log onto EQ, then ${MacroQuest.Running} will hold the ammount of time in milli seconds that you've been on.
Posted: Fri Aug 27, 2004 9:32 pm
by Night Hawk
That works.

Posted: Sat Aug 28, 2004 12:42 am
by Trexil
It's one way to go about it. Displays up to the milisecond, but not in a common time format.
eg 1152987 = about 1,152 seconds ... roughly.
Converting that to minutes by div 60000?
Posted: Sat Aug 28, 2004 11:32 am
by Rusty~
yep
Posted: Fri Sep 03, 2004 9:47 pm
by Trexil
Code: Select all
Played=3,5,422,255,234,8,Played Today - - - - - -
Played2=3,120,422,25,255,0,${Int[${Math.Calc[${MacroQuest.Running}/60000]}]}m / ${Math.Calc[${MacroQuest.Running}/60000/60]}h
That's what i've got sofar, now all i need to figure out is how to tweak the number to give me the secconds, instead of a modified hour counter. Any ideas?