What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

[Plugin] Exp/hour

Inrego

New Member
Joined
Feb 7, 2010
Messages
2,765
Reaction score
71
I was missing something to tell me my exp/hour so I made it.

It's not 100% precise because of the limited exp info available in the api.
For example if you ding from a quest and get 15k exp into the new level, then those 15k won't be counted. But the problem is only upon a ding.

It will write your exp/hr in the log every time it goes to town.
If you click the plugin in the list of plugins - it will print current results and reset the counter and exp gained. Use this for example if you change to another profile or have other reasons to reset it.

Enjoy :)

Version History

Version 1.1
  • Will now print the stats upon the event "Leaving Game" so it should work for profiles that never goes to town.

Version 1.0
  • Will now show days, hours, minutes and seconds in elapsed time.
  • Added "Time to level"

Version 0.9
  • Bug fix with the calculation.
 

Attachments

Last edited:
I think I saw a property somewhere that tells you how much XP the player needs to level up. Using that and some math you could fix that ding problem.
 
I think I saw a property somewhere that tells you how much XP the player needs to level up. Using that and some math you could fix that ding problem.
It is what I use. But because it only shows what's left, you don't know how much exp you already have in that level. Because this is the only thing that shows anything about your exp.
 
UPDATE: It will now also write how long it has been gathering exp info. This way it shows how accurate the number is.
 
UPDATE: I had a totally wrong calculation lol. It's fixed now
 
Fixed another bug where it would give incorrect values after running for 1 minute, and would show an incorrect timer after running for more than an hour.
Now should be bug-free! :P
 
Fixed another bug where it would give incorrect values after running for 1 minute, and would show an incorrect timer after running for more than an hour.
Now should be bug-free! :P
They never are :P
But hey, that's why we exist.
 
UPDATE: Now puts a thousand-seperator in the numbers so it should be easier to tell the numbers apart
Code:
[11:29:23.295 N] Gained 88,274 exp
[11:29:23.295 N] Exp/Hr: 1,185,770
[11:29:23.295 N] Have been calculating exp/h for 4 minutes.
 
Hey I have been running this with the profile - Full AFK core of Areat, and I cannot see exp/hr in the logs

Its definently in the right folder and I am enabling it.. but when I search under REPORT or do a search for exp or xp it cannot find anything

Is there something im doing wrong?

Sorry for silly question
 
Hey I have been running this with the profile - Full AFK core of Areat, and I cannot see exp/hr in the logs

Its definently in the right folder and I am enabling it.. but when I search under REPORT or do a search for exp or xp it cannot find anything

Is there something im doing wrong?

Sorry for silly question

That's because this profile doesn't ever return to town. I'm gonna look into finding better times to report exp/hr.

Also, I just found out there's a problem with my total exp calculation. (unless my toon really did get 22,545,343,173 exp from 56-57 which shouldn't be possible :P)
I'm gonna do some unit tests and fix it. I think the problem lies when you level up.

EDIT: Found the bug - was a stupid one :P Uploading update now.
 
Last edited:
That's because this profile doesn't ever return to town. I'm gonna look into finding better times to report exp/hr.

Also, I just found out there's a problem with my total exp calculation. (unless my toon really did get 22,545,343,173 exp from 56-57 which shouldn't be possible :P)
I'm gonna do some unit tests and fix it. I think the problem lies when you level up.

EDIT: Found the bug - was a stupid one :P Uploading update now.

Oh thanks i thought i was doing something wrong, I will download your updated one

thanks
 
Cool, testing it now.

PS: You should change your first post, since it seems its fixed now, some people might not know it is fixed due to not reading all the comments :)
 
TY for your plugin! Might I suggest you adding a version # so folks know when to update?
 
Lol, Inrego, what did I tell you?
Nothing is ever 100%
That is why we exist ;)
 
Can't you do something like, well, if you dung, then find the xp for the next level and calculate the amount from where you were, to max level, add that, then add the amount from current level (0) to where you are now?
 
Can't you do something like, well, if you dung, then find the xp for the next level and calculate the amount from where you were, to max level, add that, then add the amount from current level (0) to where you are now?
You don't make sense.
 
You don't make sense.
He means calculate whats the diff between actual xp and the xp needed to level, adds the amount of xp hes gaining at the currently moment, and especulate how long it will take to ding.
 
Back
Top