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.

>C< Prayer potion drinker

Featured Replies

  • Author
1 hour ago, Fibonacci said:

nice work!

Thank you :)

1 hour ago, scriptersteve said:

Also allows for occasional double drinking especially with higher prayer levels which I think is really nice

 

Will be a nice feature tbf, will most likely add it soon

49 minutes ago, GeneralMayor said:

very quick delivery lol

Thank you haha

47 minutes ago, jonny1179 said:

Your logic for selecting which pot to drink could be simplified:


Optional<Item> prayerPotion = Arrays.stream(getInventory().getItems())
	.filter(item -> item != null && item.getName().startsWith("Prayer potion"))
	.min(Comparator.comparing(Item::getName));

if (prayerPotion.isPresent()) {
    Item pot = prayerPotion.get();
}

 

Thank you will look into changing it this soon!:boge:

Not trying to sound rude but is there a possibilty that Super Restores can be added? Prayer pots/Super restores are at the same price rn!

  • Author
22 minutes ago, Attaboy said:

Not trying to sound rude but is there a possibilty that Super Restores can be added? Prayer pots/Super restores are at the same price rn!

Sure, will upload in a moment :)

 

Edit: Added an option for Super restores! :)

Edited by Castro_

4 hours ago, Castro_ said:

Was bored and saw someone wanted one so I thought I'd do it :xboge:

haha nice! care to make a cannon reloading script as well?:P

29 minutes ago, Castro_ said:

Sure, will upload in a moment :)

 

Edit: Added an option for Super restores! :)

Thanks alot man! I didn't expect that someone would actually make something like this. This script may be usefull for alot of people. I have tested it for an hour and It worked great!

  • Author
8 minutes ago, gearing said:

haha nice! care to make a cannon reloading script as well?:P

I may do when i get some more time ;)

3 minutes ago, Attaboy said:

Thanks alot man! I didn't expect that someone would actually make something like this. This script may be usefull for alot of people. I have tested it for an hour and It worked great!

No worries and awesome man! Let me know if you find anything wrong with it! :)

1 hour ago, gearing said:

haha nice! care to make a cannon reloading script as well?:P

This is an old script I made, hasn't been tested in a few months however might still work. It AFK's with a Cannon at caged ogres.

AFKCannon.jar

7 minutes ago, jonny1179 said:

This is an old script I made, hasn't been tested in a few months however might still work. It AFK's with a Cannon at caged ogres.

AFKCannon.jar

cheers!

Nice work - Just a simple suggestion however in the future instead of doing this;

			btnStart.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent arg0) {
					if(chckbxDrinkSuperRestores.isSelected()) {
						drink_restores = true;
					}		
					drink_at = Integer.parseInt(textField.getText());
					gui_COMPLETE = true;
				}
			});

You can simplify this into

			btnStart.addActionListener(e -> {
				if (chckbxDrinkSuperRestores.isSelected()) 
					drink_restores = true;
				drink_at = Integer.parseInt(textField.getText());
				gui_COMPLETE = true;
			});

 

I have been using it for a few hours yesterday and Super Restores are not working unfortunatly! Also, instead of drinking a pot at a certain prayer level maybe you can make some sort of randomizer so it doesn't always drink at the same prayer level. But other than super restore issue, the bot is working fine! 

  • Author
21 minutes ago, Attaboy said:

I have been using it for a few hours yesterday and Super Restores are not working unfortunatly! Also, instead of drinking a pot at a certain prayer level maybe you can make some sort of randomizer so it doesn't always drink at the same prayer level. But other than super restore issue, the bot is working fine! 

Just tested, super restores seem to be working for me?

Try restarting the client or deleting the .jar from your local scripts folder and re-downloading and adding it back.

Also I will add some randomisation soon as I'm currently working on some other scripts at the moment :)

1 hour ago, Attaboy said:

I have been using it for a few hours yesterday and Super Restores are not working unfortunatly! Also, instead of drinking a pot at a certain prayer level maybe you can make some sort of randomizer so it doesn't always drink at the same prayer level. But other than super restore issue, the bot is working fine! 

not hard to edit it yourself and add that.

it is infact 3 lines of code

Edited by scriptersteve

2 hours ago, scriptersteve said:

not hard to edit it yourself and add that.

it is infact 3 lines of code

Not everybody can code lol..

3 hours ago, Castro_ said:

Just tested, super restores seem to be working for me?

Try restarting the client or deleting the .jar from your local scripts folder and re-downloading and adding it back.

Also I will add some randomisation soon as I'm currently working on some other scripts at the moment :)

Will try!

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.