Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java installed
  • 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 gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • benhowe

    Members
    • Content Count

      4
    • Joined

    • Last visited

    1. In the interest of helping someone else who might search for this answer here is my code, I'm sure it can be improved on (if anyone has any suggestions that will be good!) while (Inventory.contains("Logs")) { Tabs.openWithMouse(Tab.INVENTORY); SleepHelper.sleepUntil(Tab.INVENTORY::isOpen, SleepHelper.randomSleepLong(1000, 3000)); Tile tile = Client.getLocalPlayer().getTile(); if (TileHelper.canFireMake()) { Item log = Inventory.get("Logs"); log.useOn("tinderbox"); LogHelper.log("Uses Log"); SleepHelper.randomSleep(2000,4000); SleepHelper.sleepUntil(() -> Me.pla
    2. Yeah, I figured I could do that already. I thought it would be better if the script could just avoid all objects it couldn't fire make on rather than a predetermined list of them. If I can't figure out how to do the first option this is what I will do though
    3. Thanks, This did work. My script now moves if there is anything on the tile, which is what I thought I wanted but didn't realise this included things like grass. I'm trying to make it so my script will fire make anywhere and prevent it getting stuck on things it can't fire make on, Any suggestions?
    4. Hi, I've been working on a script for the past couple of days but something has really stumped me. How should I check if my player isn't standing ontop of a GameObject? I've tried using the GameObjects.closest() method. I've even read through the docs but I can't seem to find a way to check what GameObjects are in your players area &/OR checking if a game object exists on the tile you are standing on. I'm sure it's pretty straight forward 😅
    ×
    ×
    • Create New...