diablos 0 Posted January 17, 2017 hi guys i'm using gameobject and range.interact("Use") is working ok but not range.interactForceRight("Cook All") =((( can anybody help please?
Im A Baller 348 Posted January 17, 2017 Try range.interact("Cook all") instead. Also make sure that you're using the exactly-correct String.
diablos 0 Author Posted January 17, 2017 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
dafukboi 0 Posted January 17, 2017 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); } } }
diablos 0 Author Posted January 17, 2017 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.