Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Exp per hour request

Featured Replies

XperHour = TotalXGainedInRuntime * 3600000.0D / RunTime(inMs)

 

I think he meant in the API, right?

 

If not then ye you're sorted. xD

Edited by Apaec

I think he meant in the API, right?

 

If not then ye you're sorted. xD

 

It could easily be implemented into the API's ExperienceTracker method indeed.

If I can write my own XpTracker with an Xp/Hour method then I'm pretty sure the devs can do it too :p

But I'd rather see perfect randoms, fixed world hopping and maybe webwalking first tbh.

experienceTracker already has a exp per hour methods. But the only reason why i didnt use there method and i was requesting one is because of my furniture list. If i use the methods from the api i will be giving my users wrong infomation. Thanks for the method.

 

 

naw i wasnt talking about that one. i knew about it though thats biggrin.png

 

I'm requesting a method that returns the exp per hour

 

If your talking about the experience tracker, then this should work:

 

 @Override
 public void onStart() throws InterruptedException {
     experienceTracker.start(Skill.HERBLORE);  
 }



 @Override
    public void onPaint(Graphics2D g) {
        g.drawString(experienceTracker.getGainedXPPerHour(Skill.HERBLORE), 300, 436);
        //Extra Method, Need timer to format long    
        drawString(Timer.format(experienceTracker.getTimeToLevel(Skill.HERBLORE)), 381, 466);
 }

Edited by NotoriousPP

  • Author

It could easily be implemented into the API's ExperienceTracker method indeed.

If I can write my own XpTracker with an Xp/Hour method then I'm pretty sure the devs can do it too tongue.png

But I'd rather see perfect randoms, fixed world hopping and maybe webwalking first tbh.

experienceTracker already has a exp per hour methods. But the only reason why i didnt use their method and i was requesting one is because of my furniture list. If i use the method from the api i will be giving my users wrong information. Thanks for the method.

 

 

I think he meant in the API, right?

 

If not then ye you're sorted. xD

naw i wasnt talking about that one. i knew about it though thats biggrin.png

 

If your talking about the experience tracker, then this should work:

 

i know about it already, i explained why i need the method, thanks anyway

Edited by josedpay

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.