Malii Posted April 30, 2016 Posted April 30, 2016 Sorry about all the spam lately, I'm just really wanting to learn. I'm trying my best to do this on my own, but its just the random shit that stumps me. Anyways, can anyone explain to me why my interacts aren't working? Example: http://imgur.com/UTTqY8u The script clearly knows where the cursor is suppose to be, but why isn't it "interacting" with it? Like I said in my second sentence I'm stumped. Any help is appreciated.
Aiban Posted April 30, 2016 Posted April 30, 2016 (edited) Did you try writing the interact options? ie Use,Fill,Drink,etc There are usually scripters/people versed in scripting in the Chat Box during all times of the day you should go there Edited April 30, 2016 by Aibanker
Acerd Posted April 30, 2016 Posted April 30, 2016 inventory.getItem("Basket").interact("Fill"); this, or: inventory.interact(action, item);
Malii Posted April 30, 2016 Author Posted April 30, 2016 this, or: inventory.interact(action, item); inventory.getItem("Basket").interact("Fill"); This is where I went wrong: public boolean basket() throws InterruptedException { if (inventory.interact(this.basketsName, "Basket")) { if (inventory.interact(this.basketsName, "Fill")); Did you try writing the interact options? ie Use,Fill,Drink,etc There are usually scripters/people versed in scripting in the Chat Box during all times of the day you should go there And thank you for that advice. I'll ask the chat box next time so I stop flooding the forum with simple questions. My apologies.
Woody Posted May 1, 2016 Posted May 1, 2016 This is where I went wrong: public boolean basket() throws InterruptedException { if (inventory.interact(this.basketsName, "Basket")) { if (inventory.interact(this.basketsName, "Fill")); And thank you for that advice. I'll ask the chat box next time so I stop flooding the forum with simple questions. My apologies. if (inventory.interact(this.basketsName, "Basket")) { There is no action option "Basket". That is why the mouse only hovers it. Also, do a null check before interacting with items. Item item = inventory.get if item != null item.interact("Fill") 1