CrashBandiboob Posted March 7, 2020 Share Posted March 7, 2020 I find the getInventory().dropAll() function to be quite slow at dropping things using the shift-click way. Is there are more efficient way of coding this to drop items in your inventory? Quote Link to comment Share on other sites More sharing options...
Gunman Posted March 7, 2020 Share Posted March 7, 2020 @CrashBandiboob Make a custom drop method. Quote Link to comment Share on other sites More sharing options...
CrashBandiboob Posted March 7, 2020 Author Share Posted March 7, 2020 Well this is significantly quicker, like 3 seconds for a full inv instead of 40 public void dropAll() { getKeyboard().pressKey(16); mouse.click(577,225, false); mouse.click(612,229, false); mouse.click(654,230, false); mouse.click(701,230, false); mouse.click(700,262, false); mouse.click(655,267, false); mouse.click(614,265, false); mouse.click(568,265, false); mouse.click(577,300, false); mouse.click(624,297, false); mouse.click(662,295, false); mouse.click(700,298, false); mouse.click(704,337, false); mouse.click(668,338, false); mouse.click(624,335, false); mouse.click(574,343, false); mouse.click(576,377, false); mouse.click(619,370, false); mouse.click(664,376, false); mouse.click(713,365, false); mouse.click(705,405, false); mouse.click(657,407, false); mouse.click(627,408, false); mouse.click(659,410, false); mouse.click(581,437, false); mouse.click(618,449, false); mouse.click(661,448, false); mouse.click(709,443, false); getKeyboard().releaseKey(16); } Quote Link to comment Share on other sites More sharing options...
Gunman Posted March 7, 2020 Share Posted March 7, 2020 @CrashBandiboob That seems a little redundant. Try using a for loop to clean it up. Could also use getInventory().getSlotBoundingBox(#here); to declare which inventory slot you're dealing with 1 Quote Link to comment Share on other sites More sharing options...