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.

NotoriousPP

Trade With Caution
  • Joined

  • Last visited

Solutions

  1. NotoriousPP's post in Separate classes was marked as the answer   
    Pinned in the tutorials section:
    http://osbot.org/forum/topic/41900-beginners-guide-to-separating-classes/
     
    Simple and brief overview.
  2. NotoriousPP's post in Where to apply for Script Writer? was marked as the answer   
    You make a thread for your script request here: http://osbot.org/forum/forum/181-sdn-upload-requests/
     
    Once you have your script on the SDN you will get the rank!
     
    After than you can apply to be a OSD, or just do really well and get it rewarded to you.
     
    Then you go for scholar when you really know your shit.
     
    That's the OSBot ranking system in a nutshell, hope it helps.
  3. NotoriousPP's post in onPaint() fps drop was marked as the answer   
    For one why are you even call the getState() in paint?
     
    Because if your doing that to get the status/state, that is a horrendous way of doing. Your onPaint is called every loop, so that means your calling your getState every second pretty much, for the how ever long you run your script, that will really start to add up.
     
    At the top of your script you should declare a String like:
    String status = "";
     
    Then in you onLoop, inside of your switch statment, whatever state is called, add what status, so like:
    switch(getState()){
         case ATTACK:
                   status = "Attacking";
                   break;
    }
     
    The finally in your onPaint, take out getState, and replace it with status.
     
    See if that helps, and even if it doesn't, that still a much more efficient way of achieve the same goal.
    (If it still lags, most likely there's some type of error in your getState like @Booch said)

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.