XP Rate Plugin

Posted by Pokkie on Thu 05 Nov 2009 07:28 AM — 3 posts, 15,598 views.

#0
I am trying to write a plugin that will calculate the amount of XP/Minute based on the last mob kill.

I want it to display on the status bar, e.g. where the Tick_Timer plugin displays, underneath the command input window.

It should have the following fields :

Time : Displays, in seconds, the time it took for the last kill

XP : Displays the amount of XP gained from the last kill

XP/Minute : Displays the calculated XP/Minute calculated by the following formula : 60/Time * XP

So, if it takes 20 seconds to kill a mob and I gain 100 XP, then the XP/Minute is calculated as 60/20 * 100 which works out to be 300 XP/Minute.

Could somebody point me in the right direction as to how one can develop such a plugin?

Thanks,

-- pok



Australia Forum Administrator #1
This plugin which does something similar might help you get started:

Template:post=8777
Please see the forum thread: http://gammon.com.au/forum/?id=8777.
#2
Thanks alot Nick, exactly what I was looking for