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.

deselect inventory item snippet

Featured Replies

the inventory deselect is bugged out so i made my own method. This could help out others.

	public boolean deselectItem(){
		if (inventory.isItemSelected())	{
			int slot = inventory.getSlot(inventory.getSelectedItemName());
			return script.mouse.click(inventory.getMouseDestination(slot), true);
		}
		return false;
	}

Edited by josedpay

 

the inventory deselect is bugged out so i made my own method. This could help out others.

	public boolean deselectItem(){
		if (script.inventory.isItemSelected())	
			return script.mouse.click(new RectangleDestination(script.bot, new Rectangle(0, 0, 520, 340)), false);
		return false;
	}

 

with your function it can accidentally use the item on a npc or an object.

  • Author

with your function it can accidentally use the item on a npc or an object.

ya i was thinking about that.

 

 

If an item is selected, why not just click that item?

ill change it to that now :D

  • Author

How's the API one bugged ? sad.png

the one in the api does exactly what mine does, except for it a void. And the fact that it doesnt want to force a left click so it just runs around the game canvas like a crazy guy

 

edit: updated op

Btw what I recommend is clicking inside one of the following purple polys (these will ALWAYS be available to click on):

 

25alsle.png

  • Author

Btw what I recommend is clicking inside one of the following purple polys (these will ALWAYS be available to click on):

 

25alsle.png

fuck that, its too much work, i decided to go with eliot's idea 

fuck that, its too much work, i decided to go with eliot's idea 

 

You could just click on the chat box area if an item is selected to deselect it. :P

  • Author

You could just click on the chat box area if an item is selected to deselect it. tongue.png

there is so many place you could click it isnt really funny. But a simple clicking of the same item isnt that bad

You could just click on the chat box area if an item is selected to deselect it. tongue.png

 

Chatbox area is a horrible idea.

Clicking dead space is the best option imho.

Chatbox area is a horrible idea.

Clicking dead space is the best option imho.

 

Its a horrible idea because?

If you clicked on the chat box it would deselect the item and have no side effects.

Edited by Mysteryy

Its a horrible idea because?

If you clicked on the chat box it would deselect the item and have no side effects.

 

It's a horrible idea because clicking on the chatbox could lead to the following results:

 

- You accept a trade and get stuck on a trade interface.

- You accept a dialogue option you didn't want to accept.

- You selected a child on a skill interface.

Etc...

Edited by Botrepreneur

It's a horrible idea because clicking on the chatbox could lead to the following results:

 

- You accept a trade and get stuck on a trade interface.

- You accept a dialogue option you didn't want to accept.

- You selected a child on a skill interface.

Etc...

 

You are assuming that the client would misclick. But yes, if it did misclick it could result in any of those things, I was simply making a suggestion. There are a million places you could click, I am at work so I cant really look at runescape to see where, thus I said chatbox. ^_^

You are assuming that the client would misclick. But yes, if it did misclick it could result in any of those things, I was simply making a suggestion. There are a million places you could click, I am at work so I cant really look at runescape to see where, thus I said chatbox. happy.png

 

Doesn't have anything to do with misclicks. But dw about it tongue.png

(unless you were talking about deadspace in the chatbox, which I don't think exists, but I could be wrong..)

Fair nuf

Edited by Botrepreneur

Guest
This topic is now closed to further replies.

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.