Page 1 of 1
XP tracker

Posted:
Tue Jun 29, 2004 3:54 pm
by Eagle
lookin for an xp tracker if someone wants to share<BR>rye_bread80@msn.com<BR>thanks

Posted:
Tue Jun 29, 2004 4:10 pm
by Qa
This is an old-school xp counter. If you cap, it countas the extra. If you get healing bonuses or damage bonuses, it doesn't track those. Oh, and it works with wintin/jmc. -Qa
#nop
#nop
#nop Auto clean subroutine & XP counter
#nop
#var {grxpcount} {0}
#var {xpcount} {0}
#nop
#nop Group XP counter
#nop
#action {^Total exp for kill is %1.} {save ; sneak ; #math grxpcount {$grxpcount + $1} } {9}
#nop
#nop XP counter if grouped
#nop
#nop If leading...
#action {^Total exp for kill is %1.} {save ; sneak ; #math grxpcount {$grxpcount + $1} } {9}
#nop
#nop If a group member...
#action {^You receive %1 experience} {save ; sneak ; #math xpcount {$xpcount + $1} } {9}
#nop
#nop Solo XP counter
#nop
#nop Autosac if not grouped...
#action {^You received %1 experience} {g all corpse; save ; sneak ; #math xpcount {$xpcount + $1} } {2}
#nop
#nop
#nop Data - Shows information regarding the game status
#nop
#alias {data} {#showme XP since last reset $xpcount ; #if {$grxpcount > 0} #showme Group XP since last reset - $grxpcount}
#alias {zeroxp} {#math xpcount 0 ; #math grxpcount 0}

Posted:
Wed Jun 30, 2004 9:38 am
by Leizu
This one shows info in 2 buttons, first one with xp I need to level, second one with xp/gold I've got since the last check. Adapt for your needs :)
[code:374y941w]
#KEY F9 {#t+ xp_tracker;score}
#BUTTON 1 {%format("%.n",@xplvl) (@xpprocent%)} {} {} {} {} {} {} {Size} {109} {16} {Pos} {1} {886} {4} {} {} {}
#BUTTON 2 {%format("%.n",@xprun) / %format("%.n",@coinsrun)} {} {} {} {} {} {} {Size} {109} {16} {Pos} {17} {886} {4} {} {} {}
#TRIGGER {^You have (%d) unused experience points.} {#math xprun %1-@xptotal;#var xptotal %1;#math xpprocent %1/(@tlevel/100);#math xplvl @tlevel-%1;#t- xp_tracker} {xp_tracker} 548
#TRIGGER {^You have (%d) gold coins.} {#math coinsrun %1-@coinstotal;#var coinstotal %1} {xp_tracker} 548
#VAR tlevel {2100000000}
[/code:374y941w]

Posted:
Thu Jul 01, 2004 2:47 pm
by Elwood
what client is that for lei ?

Posted:
Thu Jul 01, 2004 11:07 pm
by Leizu
this one was written for zmud 4.62 I posted it here because it could be very fast adapted for wintin. So I thought it could be useful.
if you have any questions feel free to ask

Posted:
Tue Aug 24, 2004 4:02 pm
by Qa
Please note that the code I posted below does not work with ".NET" (Whatever the hell that crap is.)
Frankly, I switched to jmc several years ago. At that time this code made the migration from Wintin (1.73) to jmc without modification. I am currently running jmc 3.0, and the code works as is.
-Qa