Joseph Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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 June 26, 2014 by josedpay 1 Link to comment Share on other sites More sharing options...
Xerion Posted June 26, 2014 Share Posted June 26, 2014 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. Link to comment Share on other sites More sharing options...
Eliot Posted June 26, 2014 Share Posted June 26, 2014 If an item is selected, why not just click that item? 1 Link to comment Share on other sites More sharing options...
Joseph Posted June 26, 2014 Author Share Posted June 26, 2014 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 Link to comment Share on other sites More sharing options...
Botre Posted June 26, 2014 Share Posted June 26, 2014 How's the API one bugged ? Link to comment Share on other sites More sharing options...
Joseph Posted June 26, 2014 Author Share Posted June 26, 2014 How's the API one bugged ? 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 Link to comment Share on other sites More sharing options...
Botre Posted June 26, 2014 Share Posted June 26, 2014 Btw what I recommend is clicking inside one of the following purple polys (these will ALWAYS be available to click on): Link to comment Share on other sites More sharing options...
Joseph Posted June 26, 2014 Author Share Posted June 26, 2014 Btw what I recommend is clicking inside one of the following purple polys (these will ALWAYS be available to click on): fuck that, its too much work, i decided to go with eliot's idea Link to comment Share on other sites More sharing options...
Mysteryy Posted June 26, 2014 Share Posted June 26, 2014 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 Link to comment Share on other sites More sharing options...
Joseph Posted June 26, 2014 Author Share Posted June 26, 2014 You could just click on the chat box area if an item is selected to deselect it. there is so many place you could click it isnt really funny. But a simple clicking of the same item isnt that bad Link to comment Share on other sites More sharing options...
Botre Posted June 26, 2014 Share Posted June 26, 2014 You could just click on the chat box area if an item is selected to deselect it. Chatbox area is a horrible idea. Clicking dead space is the best option imho. Link to comment Share on other sites More sharing options...
Mysteryy Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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 June 26, 2014 by Mysteryy Link to comment Share on other sites More sharing options...
Botre Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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 June 26, 2014 by Botrepreneur Link to comment Share on other sites More sharing options...
Mysteryy Posted June 26, 2014 Share Posted June 26, 2014 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. ^_^ Link to comment Share on other sites More sharing options...
Botre Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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. Doesn't have anything to do with misclicks. But dw about it (unless you were talking about deadspace in the chatbox, which I don't think exists, but I could be wrong..) Fair nuf Edited June 26, 2014 by Botrepreneur Link to comment Share on other sites More sharing options...