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.

Explv's Dank Paint Tutorial

Featured Replies

5 minutes ago, Antonio Kala said:

Someone told me paint runs on a separate thread regardless of what it is, and thus it's better if avoided?

Paint is on a separate thread yes, but for simple code like multiplying and dividing to get two numbers youd be hard pressed to hit CPU limitations before ram limitations of the bot itself. Also a clean install of an OS still has 500ish give or take threads even with nothing open. By opening and closing OSbot and looking at threads in task Manager OSbot has around 40-50 threads itself.

 

  • 1 year later...
  • Author
3 minutes ago, Bot6669999 said:

So how would I go about displaying XP Gained?


Look at the following sections on the tutorial:

  1. Drawing text on screen
  2. Starting the experience tracker
  3. Using the experience tracker
  4. (optional) Formatting money and XP
22 minutes ago, Explv said:


Look at the following sections on the tutorial:

  1. Drawing text on screen
  2. Starting the experience tracker
  3. Using the experience tracker
  4. (optional) Formatting money and XP

I have multiple times it just doesn't make it very clear

        g.drawString("XP Gained: "  + (Skill.THIEVING), 10, 320);
 

Any chance of you telling me the correct drawstring?

  • Author
10 minutes ago, Bot6669999 said:

        g.drawString("XP Gained: "  + (Skill.THIEVING), 10, 320);
 

Any chance of you telling me the correct drawstring?

Look at the following sections on the tutorial:

  1. Starting the experience tracker
  2. Using the experience tracker

It's very clear, you start the experience tracker in onStart, and then you use the getGainedXP function in your onPaint to get the gained XP
 

4 minutes ago, Explv said:

Look at the following sections on the tutorial:

  1. Starting the experience tracker
  2. Using the experience tracker

It's very clear, you start the experience tracker in onStart, and then you use the getGainedXP function in your onPaint to get the gained XP
 

Yeah I cracked it after a while just took some patience

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.