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.

Can't interact with inventory?

Featured Replies

It worked fine until this morning, dont know whats wrong.

Did not change any code and script has been running for 8+hours before this happend.

Something in the api broken?

if(getInventory().contains("Maple logs") && getInventory().contains("Knife"))
    			{
    				if(getBank().isOpen())
    					getBank().close();
    				
    				if(!getBank().isOpen())
    				{
    					if(!getWidgets().isVisible(270, 16))
    					{
    						log("Did we get here?"); //this gets printed out 
    						
    						if(!getInventory().isItemSelected())
    							getInventory().interact("Use", "Knife");
    						
    						if(getInventory().isItemSelected())
    							getInventory().interact("Use", "Maple logs");
    						
    						sleep(1000);
    					}
    					else
    					{
    						getKeyboard().typeString("3");
    					}
    				}
    			}

Edit:

Webwalking doesn't seem to work either the fuck lol

 

seems like the api is outdated or smth (I guess)

[ERROR][Bot #1][11/10 10:40:30 AM]: Error executing event : org.osbot.rs07.event.WebWalkEvent@6a336838
java.lang.IllegalStateException: Could not identify minimap interface child! Please report to developers.
	at org.osbot.rs07.api.util.GraphicUtilities.IIiIIiiIIIiI(xl:613)
	at org.osbot.rs07.api.util.GraphicUtilities.getMinimapScreenCoordinate(xl:441)
	at org.osbot.rs07.api.map.Position.isOnMiniMap(mh:694)
	at org.osbot.rs07.event.WebWalkEvent.execute(yg:545)
	at org.osbot.rs07.event.EventExecutor$2.run(ij:60)
	at org.osbot.rs07.event.EventExecutor.execute(ij:176)
	at org.osbot.rs07.script.MethodProvider.execute(bn:715)
	at org.osbot.rs07.api.Walking.webWalk(qg:227)
	at mainScript.onLoop(mainScript.java:99)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ro:134)
	at java.lang.Thread.run(Unknown Source)

 

Edited by atoo

Skynet has taken over, the machines are now the ones who are in control. Man kind is no more

For the maple logs and knife problem, try using conditional sleeps. 

After each interaction, you check for animations, or inventory items. 

After opening and closing the bank, you check for that etc. 

 

For the webwalking, I haven't working with that yet. Can't help you

20 minutes ago, RandomInc said:

For the maple logs and knife problem, try using conditional sleeps. 

After each interaction, you check for animations, or inventory items. 

After opening and closing the bank, you check for that etc. 

 

For the webwalking, I haven't working with that yet. Can't help you

 

  • Author
48 minutes ago, RandomInc said:

For the maple logs and knife problem, try using conditional sleeps. 

After each interaction, you check for animations, or inventory items. 

After opening and closing the bank, you check for that etc. 

 

For the webwalking, I haven't working with that yet. Can't help you

I already check for animation in another part of My code, as for the code it was working B4.

osbot client is obv outdated or something.

There has been an reboot/update today. OSbot client needs an update i guess.

Will be fixed soon, like always ;)

1 minute ago, lojduk said:

There has been an reboot/update today. OSbot client needs an update i guess.

Will be fixed soon, like always ;)

Today? Because after the update yesterday, everything worked just fine.

However, after testing the same code today, it is indeed broken.

1 hour ago, RandomInc said:

Today? Because after the update yesterday, everything worked just fine.

However, after testing the same code today, it is indeed broken.

Ya there was a reboot today. all scripts are broken

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.