Code: Select all
Sub Main
/varset startexp $char(exp)
/varset startaaxp $char(aa,exp)
Code: Select all
Sub Event_exp
/varset currentxp $char(exp)
/varcalc xpgain @currentxp-@startexp
/varset currentaa $char(aa,exp)
/varcalc aagain @currentaa-@startaaxp
/echo "You've gained @xpgain% xp and @currentaa% aaxp."
/varset startexp $char(exp)
/varset startaaxp $char(aa,exp)
/returnI currently have 100%exp goin towards aaxp. When the event fires, it displays somthing to the effect of...
[Wed Oct 08 20:53:32 2003] [MacroQuest] "You've gained 0.00% xp and 45.45% aaxp."
[Wed Oct 08 20:56:40 2003] [MacroQuest] "You've gained 0.00% xp and 46.36% aaxp."
[Wed Oct 08 20:57:35 2003] [MacroQuest] "You've gained 0.00% xp and 46.67% aaxp."
[Wed Oct 08 20:58:21 2003] [MacroQuest] "You've gained 0.00% xp and 46.97% aaxp."
[Wed Oct 08 20:59:08 2003] [MacroQuest] "You've gained 0.00% xp and 47.58% aaxp."
[Wed Oct 08 21:00:47 2003] [MacroQuest] "You've gained 0.00% xp and 47.88% aaxp."
[Wed Oct 08 21:01:51 2003] [MacroQuest] "You've gained 0.00% xp and 48.18% aaxp."
[Wed Oct 08 21:02:22 2003] [MacroQuest] "You've gained 0.00% xp and 48.48% aaxp."
[Wed Oct 08 21:03:19 2003] [MacroQuest] "You've gained 0.00% xp and 49.09% aaxp."
[Wed Oct 08 21:04:14 2003] [MacroQuest] "You've gained 0.00% xp and 49.39% aaxp."
[Wed Oct 08 21:04:58 2003] [MacroQuest] "You've gained 0.00% xp and 49.70% aaxp."
[Wed Oct 08 21:06:03 2003] [MacroQuest] "You've gained 0.00% xp and 50.00% aaxp."
[Wed Oct 08 21:06:59 2003] [MacroQuest] "You've gained 0.00% xp and 50.30% aaxp."
[Wed Oct 08 21:07:42 2003] [MacroQuest] "You've gained 0.00% xp and 50.91% aaxp."
BTW, Wow.. that actually looks decent.. kill per minute = ) was a good group last night.. The group later was a higher level group in LDoN, so exp was better, but it was after I dinged an AA so the percentages were like 1% 2% 3% etc.. almost made it look like it was working, which it wasnt..
BUT, the 0%xp looks correct, but the AAXP is displaying the current exp and not the exp gain..
Please Help...
Thanks..



