April 30, 20169 yr 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.
April 30, 20169 yr 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, 20169 yr by Aibanker
April 30, 20169 yr inventory.getItem("Basket").interact("Fill"); this, or: inventory.interact(action, item);
April 30, 20169 yr Author 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.
May 1, 20169 yr 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")
Create an account or sign in to comment