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.

logs cut/per hour

Featured Replies

i need help adding this to paint. i cant find it anywhere on forums tried searching only found something from 2013 that doesnt work :(

One way to do it is to create a variable like 

int log = 36  // or whatever the xp per log is

and times it by how many logs you've cut.

 

Another way would be to create a variable that contains your woodcutting xp when the script started, and another variable that contains your current woodcutting xp.

Subtract your starting woodcutting xp from your current xp and divide it by the exp you get from a single log. 

Could do onMessage "you get some logs" (or whatever the actual message is)
cut++

get the runtime,
if it's below 60 minutes, divide 60 by how many minutes you've ran, * cut  -- this will give you logs / hr
if it's above 60, divide time ran in minutes by 60,  / cut -- this will give logs / hr

**You could use seconds but for simplicity I used minutes** 

Edited by viri

Logical walkthrough:

 

Save time started

startedAt = System.currentTimeMillis()

 

Get Running time

runTime = System.currentTimeMillis() - startedAt

 

Convert runtime milliseconds to hours

hoursRan = runTime / 3600000

 

Calculate per hour

perHour = itemsMade / hoursRan

 

Create an account or sign in to comment

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.