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.

Paint Calculations

Featured Replies

Why is my code outputting this? 54129d730867af0026f5f02663ca3a16.png

Recently switched from eclipse to intelliJ, it was fine before i switched, haven't changed anything.. how do i fix it? Heres the code.

f753e0e2ac0114bc55f361ddaf64b67f.png

1b0d0f5c739e33dcb97ff0ac8fb27c5d.png

Your value could overflowing, int can only store values up to 2^31 or 2,147,483,648.

Show all involve variable declarations please.

That's not something you want to fix... I wish my profit would exceed 31 bits frog2.png

 

Could overflow for other reasons.

You need to show us all the variables in your calculations, but personally I would do this instead of how you are calculating time ran.

		long timeRan = System.currentTimeMillis() - startTime;

so this way when you're calculating profit/hr you don't have to have long unnecessary code. You can just do something along the lines of 

		int profitPerHr = (int) (profit * 3600000d / timeRan);

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.