Clonky 0 Posted February 16, 2019 What is the best way to interact with an item in the inventory? I want it to drink one absorb potion fully until it start with another one.
Clonky 0 Author Posted February 16, 2019 Ive tried it multiple times getInventory().interact("Absorption","Drink") Does not work..
Clonky 0 Author Posted February 16, 2019 If you got different doses what method is best, if you want it to fully drink one potion before starting next
Clonky 0 Author Posted February 16, 2019 When i try to filter using this method getInventory().interact(item -> item != null , ("Absorption"), "Drink") I get this errror : Overrides method in org.dreambot.api.methods.filter.filter;
Zawy 1037 Posted February 16, 2019 getInventory().get(item -> item!=null && item.getName().contains("Absorption")).interact("Drink");
Clonky 0 Author Posted February 16, 2019 Does that work for you?? I keep getting the filter error.....
Clonky 0 Author Posted February 16, 2019 Error:(6, 😎 java: test12 is not abstract and does not override abstract method onLoop() in org.dreambot.api.script.AbstractScript
Nuclear Nezz 2107 Posted February 17, 2019 It sounds like there's some more basic level Java stuff that you need to learn. It'll help a lot with issues like this.
Clonky 0 Author Posted February 17, 2019 I fixed it if (getInventory().contains(Absorption)) { getInventory().get(Absorption).interact("Drink");
Recommended Posts
Archived
This topic is now archived and is closed to further replies.