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
  • Try asking for help in the chatbox
  • Cook All


    diablos
     Share

    Recommended Posts

    hi guys i'm using gameobject and range.interact("Use") is working ok but not range.interactForceRight("Cook All") =((( can anybody help please?

    Link to comment
    Share on other sites

    hey thanks for the reply! i tried that also but it's not working =(( i've tried these


     


    if(getInventory().isItemSelected()){

    if(range.interact("Use")){

    int cookAll = getDialogues().getOptionIndexContaining("Cook All"); 

    getDialogues().clickOption(cookAll); 

    getDialogues().clickOption("Cook All"); 

    getDialogues().clickOption(3); 

    range.interact("Cook All"); 

    range.interactForceRight("Cook All"); 

    sleepUntil ( () -> !getLocalPlayer().isAnimating(), Calculations.random (15000, 25000)); 

    }


     

    it manages to click the shrimp then the range but then doesn't click the chatbox popup to right click > Cook All

    Link to comment
    Share on other sites

    Use widgets for this. This snippet will cook all raw lobsters in your inventory. You can modify it as needed. Check out Ciphers guide to using widgets in the tutorials section for more info on them as they are very useful.  

     

    if (getInventory().interact("Raw lobster", "Use")){
    sleep(500);
    if (range.interact("Use")){
    sleep(3000);
    if (getWidgets().getWidget(307).getChild(6).interact("Cook All"));
    {
    log("Cooking lobsters");
    sleepUntil(() -> (!getInventory().contains("Raw Lobster")), 66000);
    }
    }
    }
    Link to comment
    Share on other sites

     

    Use widgets for this. This snippet will cook all raw lobsters in your inventory. You can modify it as needed. Check out Ciphers guide to using widgets in the tutorials section for more info on them as they are very useful.  

     

    if (getInventory().interact("Raw lobster", "Use")){
    sleep(500);
    if (range.interact("Use")){
    sleep(3000);
    if (getWidgets().getWidget(307).getChild(6).interact("Cook All"));
    {
    log("Cooking lobsters");
    sleepUntil(() -> (!getInventory().contains("Raw Lobster")), 66000);
    }
    }
    }

     

    thanks very much i will do 

    Link to comment
    Share on other sites

     Share

    ×
    ×
    • 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.