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.

Osbot Dropping Bot Like

Featured Replies

s.getInventory().getItemInSlot(0).interact("Drop");
s.getInventory().getItemInSlot(4).interact("Drop");
s.getInventory().getItemInSlot(1).interact("Drop");
s.getInventory().getItemInSlot(5).interact("Drop");
s.getInventory().getItemInSlot(6).interact("Drop");
s.getInventory().getItemInSlot(2).interact("Drop");

Go ahead and use this. :???:

 

You just modify your dropping method to drop at specific inventory indices, for example, if the first slot in the inventory is slot 0, then the first on the second line would be 4. So using basic maths principles you can create an algorithm to do the drop > 1 down drop > repeat method you've shown in your second gif.

  • Author
9 minutes ago, The Undefeated said:

s.getInventory().getItemInSlot(0).interact("Drop");
s.getInventory().getItemInSlot(4).interact("Drop");
s.getInventory().getItemInSlot(1).interact("Drop");
s.getInventory().getItemInSlot(5).interact("Drop");
s.getInventory().getItemInSlot(6).interact("Drop");
s.getInventory().getItemInSlot(2).interact("Drop");

Go ahead and use this. :???:

 

But if my inv is filled with waterskin and i drops the empty waterskins then i would drop too the skins if u know what i mean?

1 minute ago, geoffrey456 said:

But if my inv is filled with waterskin and i drops the empty waterskins then i would drop too the skins if u know what i mean?

You should just let it drop normally because it won't go any faster.

You should use interact if you want to drop items faster but I don't recommend it.

 

  • Author
1 minute ago, The Undefeated said:

You should just let it drop normally because it won't go any faster.

You should use interact if you want to drop items faster but I don't recommend it.

 

i don  want it to drop faster i want it to change the pattern Like the gif :D

4 minutes ago, geoffrey456 said:

i don  want it to drop faster i want it to change the pattern Like the gif :D

Why?

 

 

Edited by The Undefeated

  • Author
1 minute ago, The Undefeated said:

Why?

 

 

Look first give it 100% a bot xD

  • Author
5 minutes ago, Juggles said:

Drop 0,4,1,5,2,6etc

but that would trigger to drop water skins when they go up?

3 minutes ago, geoffrey456 said:

but that would trigger to drop water skins when they go up?

So write the method to exclude them..

  • Author
1 minute ago, Pseudo said:

So write the method to exclude them..

poor scripter right here!

Damn all of these people cannot show you a simple snippet, smh

int[] slot = { 0, 4, 1, 5 };
for(int i : slot){
	if(getInventory().getItemInSlot(i).getName().equals("whatever"))
		getInventory().getItemInSlot(i).interact("Drop");
}

Just replace the slot array with the slots you want to be dropped.

1 minute ago, Vilius said:

Damn all of these people cannot show you a simple snippet, smh


int[] slot = { 0, 4, 1, 5 };
for(int i : slot){
	if(getInventory().getItemInSlot(i).getName().equals("whatever"))
		getInventory().getItemInSlot(i).interact("Drop");
}

Just replace the slot array with the slots you want to be dropped.

It's more so just trying to help him understand the code and write it himself; It's not a difficult principle and he obviously hasn't bothered to take the time to try and write it himself.

1 hour ago, geoffrey456 said:

https://gyazo.com/3be8c60c73f47341408ef884b7e0df28  Currently!!!!

How can i let it drop like this

https://gyazo.com/54236d18af9705f3012abaa320661f68 

I want it to do This pattern kappa :D

No idea why you would want to do this (assumes shift drop enabled):

private void funkyDropAll(final String itemName) throws InterruptedException {
    getKeyboard().pressKey(VK_SHIFT);
    for (int i : new int[]{0, 4, 1, 5, 2, 6, 3, 7, 8, 12, 9, 13, 10, 14, 11, 15, 16, 20, 17, 21, 18, 22, 19, 23, 24, 25, 26, 27}) {
        Item item = getInventory().getItemInSlot(i);
        if (item != null && item.getName().equals(itemName)) {
            getInventory().interact(i);
            MethodProvider.sleep(random(20, 25));
        }
    }
    getKeyboard().releaseKey(VK_SHIFT);
}

 

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.