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

[Plugin] Exp/hour

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.
But you can't get the actualy xp through the api. The only xp info you can get is how much you need to level.
 
UPDATE:

Version 1.0
  • Will now show days, hours, minutes and seconds in elapsed time.
  • Added "Time to level"
 
According to your Exp/hour plugin, it doesn't show until you stay in town for more than a second or two. Most profiles have it set so when you TP to town, you leave the game instantly afterward. This plugin does not work most of the time because of the profiles trying to be efficient. It needs to show Exp/hour the instant it goes into town, or be applied in some other fashion.
 
UPDATE:

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

EDIT: Had a bug in that version - it's fixed now (and tested)
 
Last edited:
Thank you for the quick response and trying to fix this problem.

It seems to have worked at the beginning, but now it doesn't show up. I did restart Demon buddy, but that shouldn't be the reason why it stops working.

EDIT

I'm running two bots, and for bot#1 it is working, bot#2 it isn't. Can it only work for one bot?

The only factors I can think of that may have affected the plugin to stop working are: the one previously stated, and I realized I didn't turn it on for bot#2, and I turned it on in the middle of a run. For bot#1, I turned on before it started doing the runs. It took a few runs before it started showing though.

EDIT AGAIN

Ok, it started working for bot#2. I didn't change anything from the time I posted this at the beginning, hoping it would just work on its own. It took over 10 runs to start working, though. A little inefficient when trying to figure out which profiles give the best Exp/hour quickly. No offense or anything, I really like your plugin.

EDIT #3

So, it seems to be inconsistent. For both bot#1 and bot#2, the Exp/hour doesn't show sometimes. When it does work for bot#2, I'm not exactly sure about the Exp gained, but the Exp/hour, how long the bot has been running, and the time it will take for you to level was completely off. I estimated it would take 20 minutes to get to the next level, but the bot said it would take only 5 minutes. I didn't really calculate it for bot#1, but if they're both having the same problem, it might have been wrong for bot#1 as well.

The inconsistency might actually be similar to the problem it was having in the first place with version 1.0. It requires about a second or two for it to process the Exp/hour, and if it doesn't get the time it requires to process, it just doesn't show up. Most profiles have it so right after you leave, you resume game quickly. For those time where Exp/hour did show up, it was probably because of lag to resume the game. That's a big guess though, since it seemed to work for bot#1 a lot more frequently than bot#2.


ALSO, is it possible to add a timer for each run? Like how long it took for the previous run. Thanks.
 
Last edited:
Thank you for the quick response and trying to fix this problem.

It seems to have worked at the beginning, but now it doesn't show up. I did restart Demon buddy, but that shouldn't be the reason why it stops working.

EDIT

I'm running two bots, and for bot#1 it is working, bot#2 it isn't. Can it only work for one bot?

The only factors I can think of that may have affected the plugin to stop working are: the one previously stated, and I realized I didn't turn it on for bot#2, and I turned it on in the middle of a run. For bot#1, I turned on before it started doing the runs. It took a few runs before it started showing though.

EDIT AGAIN

Ok, it started working for bot#2. I didn't change anything from the time I posted this at the beginning, hoping it would just work on its own. It took over 10 runs to start working, though. A little inefficient when trying to figure out which profiles give the best Exp/hour quickly. No offense or anything, I really like your plugin.

EDIT #3

So, it seems to be inconsistent. For both bot#1 and bot#2, the Exp/hour doesn't show sometimes. When it does work for bot#2, I'm not exactly sure about the Exp gained, but the Exp/hour, how long the bot has been running, and the time it will take for you to level was completely off. I estimated it would take 20 minutes to get to the next level, but the bot said it would take only 5 minutes. I didn't really calculate it for bot#1, but if they're both having the same problem, it might have been wrong for bot#1 as well.

The inconsistency might actually be similar to the problem it was having in the first place with version 1.0. It requires about a second or two for it to process the Exp/hour, and if it doesn't get the time it requires to process, it just doesn't show up. Most profiles have it so right after you leave, you resume game quickly. For those time where Exp/hour did show up, it was probably because of lag to resume the game. That's a big guess though, since it seemed to work for bot#1 a lot more frequently than bot#2.


ALSO, is it possible to add a timer for each run? Like how long it took for the previous run. Thanks.
I've noticed similar behaviour for the reports of gold per hour (which is built into DB), so my best guess is that the LeaveGame even isn't being fired properly every time.
You can do the following for your case though:
Go to the plugins tab and click on a random plugin (not XP Counter), and then click on XP Counter afterwards. "Clicking" on the plugin while it's not selected will print current stats and reset them.

I'll look into adding a timer for each run - but I'm afraid it will suffer from the same bug that you're already experiencing, which would cause false high timers for some runs (if it doesn't detect that the current run has ended, the timer wouldn't stop until after 3-4 runs or how much it takes for the LeaveGame event to be fired properly)
 
Back
Top