Skip 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.

Inventory.dropAll freezes if some item is selected

Featured Replies

OSBot 2.2.2

 

Thread [script Executor] (Suspended)    
    Thread.sleep(long) line: not available [native method]    
    MethodProvider.sleep(long) line: 171    
    Mouse.moveRandomly() line: 351    
    InteractionEvent$2.condition() line: 277    
    InteractionEvent$2(ConditionalSleep).sleep() line: 127    
    InteractionEvent.execute() line: 274    
    EventExecutor$2.run() line: 192    
    EventExecutor.execute(Event) line: 230    
    Inventory(MethodProvider).execute(Event) line: 422    
    Inventory(ItemContainer).interact(int, String...) line: 489    
    Inventory$2.execute() line: 164    
    EventExecutor$2.run() line: 192    
    EventExecutor.execute(Event) line: 230    
    Inventory(MethodProvider).execute(Event) line: 422    
    Inventory.dropAll(Filter<Item>...) line: 183    
    Inventory.dropAll(String...) line: 140   
 

You could always create your own method, not too hard happy.png

True, but this will arise again so why not fix it now? I went around this issue.

If item is selected: deselect item (API one is broken so you either wait or write your own)

If no item is selected: drop

 

 

  • Author

Thanks, I know how to fix this bug. Posted to developers get it fixed for all scripters, not only for me.

ya could also just try dropping them individually and dropping it in a while loop - little messy / breakable but should do the trick

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.