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.

Juggles AIO Fighter

Featured Replies

  • Author

when i start the script it says "walking to bank" and just stands there, can u fix this pls?

It goes to the bank if u have no food.

You need to start the script with food in the inventory or fill in the bank tab and put the name of the food and how much to withdraw.

still working like a charm but now with I'm trying to train range... It gets REALLY laggy and very slow ... But when I go back to mage attacks everything runs smooth and fast again...sooooo what's wrong with the range and the script cause it to slow and freeze like that?


pmed you, its a pretty well known spot but most people forget about it xD.

Hey pm me to please lol, Would it work good  for my pure?

  • 2 weeks later...

heey? how does the teleport tab support coming along?

Hi, just as @iroll mentioned the bot gets slow/doens't function as soon as I swap to range. 

 

Anyhow, I like the script so far. Simple setup and easy for all users.

  • Author

Hi, just as @iroll mentioned the bot gets slow/doens't function as soon as I swap to range.

Anyhow, I like the script so far. Simple setup and easy for all users.

Please copy and paste the logger

 1 day 8 hour proggie my account still going strong

1613cd20cc16ccd9d0729664275a9845.png

Could you fix these 2 things?

 

1. Please make the bot not attack npcs that are being splashed on.

 

2. When the bot levels and the npc is going unagressive (trying to flee) it doesnt attack it again. It just stands there doing nothing and eventually logs out.

 

Nice proggy!

ec4c45f6aa.png

I guess I was drunk and didn't fill all the GUI fields feels.png (didn't add food quantity)

Food: "Trout"

HP to eat at: 9

Enemy: "Chaos Guard"

 

Just a suggestion to avoid client freezing when an exception is thrown

@[member='Override']
public int onLoop() throws InterruptedException {
   try {
       // script code
   } catch (Exception e) {
       log(Throwables.getStackTraceAsString(e));
   }
   return 69;
}

You can validate user input at start to prevent any errors and the Throwables class is found in the guava library here https://github.com/google/guava which you may find useful when writing java code. Nice script anyway, 10/10 would leech again doge.png

 

Edited by Token

  • Author

ec4c45f6aa.png

I guess I was drunk and didn't fill all the GUI fields feels.png (didn't add food quantity)

Food: "Trout"

HP to eat at: 9

Enemy: "Chaos Guard"

Just a suggestion to avoid client freezing when an exception is thrown

@[member='Override']
public int onLoop() throws InterruptedException {
   try {
       // script code
   } catch (Exception e) {
       log(Throwables.getStackTraceAsString(e));
   }
   return 69;
}
You can validate user input at start to prevent any errors and the Throwables class is found in the guava library here https://github.com/google/guava which you may find useful when writing java code. Nice script anyway, 10/10 would leech again doge.png

Thanks for the tip. I was looking for a way to prevent the script from freezing.

Leech all you want :feels:

Thanks for the tip. I was looking for a way to prevent the script from freezing.

Leech all you want feels.png

:doge:

The script freezes because the current onLoop iteration ends upon throwing an exception and it never reaches the return statement to tell it how long to sleep until next onLoop iteration, which results in executing code with no sleeps at all taking up to 100% CPU. Catching exceptions like that in onLoop will ensure that your script always sleeps between onLoop iterations and won't ever freeze when throwing exceptions. I use the guava library just to output the exception to OSBot's logger because e.printStackTrace won't send the stacktrace to the logger. You can also do something like this to output the stacktrace in the logger though which may be very similar to the implementation by google in guava

public static String getStackTraceAsString(Exception e) {
    String st = "";
    for (StackTraceElement el : e.getStackTrace()) {
        st += el.toString();
    }
    return st;
}

[redacted]

Edited by j4n5
[redacted]

  • Author

Absolutely legendary, had no problems running it smile.png Thank you very much for making this free! QwPha8E.png Have a nice day :P

Thank you smile.png

Edit:

4 day proggy

 

4683a4a8ae0e5aab9b90715aef0e6d12.png

Edited by Juggles

Thank you smile.png

Edit:

4 day proggy

 

4683a4a8ae0e5aab9b90715aef0e6d12.png

Sweet proggy, f2p or p2p :P ?

 

Could you fix so it doesnt attack npcs that are being splashed on?

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.