Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • justinwagoner

    Members
    • Posts

      4
    • Joined

    • Last visited

    Recent Profile Visitors

    The recent visitors block is disabled and is not being shown to other users.

    justinwagoner's Achievements

    1. Thank you. This is what I needed. If anyone else needs it, this is the solution.
    2. Thanks for this. Unfortunately looks like interact doesn't request from mouse settings before determining left or right click. Think I'm just going to have to write my own method from scratch to avoid using Item#interact to drop the item.
    3. I've found that there is a ForceNoShift that can be enabled so that all inventory items are right-click dropped. I'm looking for the opposite of this basically
    4. The problem I'm looking to solve is how to make sure that when dropping 27/28 items in an inventory is a fast manner, how to make sure all 27 items are dropped using shift-click instead of right-click. It appears very botlike when randomly 2 of the items are dropped using right-click, especially when shift is already held. I was originally trying to use Inventory#dropAll but it was a little slow and would occasionally do the right-click drop. Here is the code I've got now public void dropItems(int[] dropOrder) { Keyboard.pressShift(); for(int i : dropOrder) { Item item = Inventory.getItemInSlot(i); if(item != null && !shouldKeep(item.getName())) { item.interact("Drop"); } } Keyboard.releaseShift(); } Any ideas on how to force the drop to be a left click? I noticed that GameObjects have the option to Force Left Click but can't find anything like that for items.
    5. Handmade lvl 3s with tutorial island done Discord: Jwagg#1010
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.