June 30, 201312 yr its about the warriors guild the ground item shot i tried this code: public int onLoop () throws InterruptedException{client.getGroundItemDeques();closestGroundItemForName("Shot");Shot.interact("throw");sleep(random(3000,8000));log("couldn't find Shot");selectInterfaceOption(230, 2);return 50;
June 30, 201312 yr Um... try this: Item shot = closestGroundItemForName("Shot"); shot.interact("throw"); sleep(random(3000,8000));log("couldn't find Shot"); // No idea why you would print this here "Shot" is not a variable in your case.
June 30, 201312 yr Author Um... try this: Item shot = closestGroundItemForName("Shot"); shot.interact("throw"); sleep(random(3000,8000)); log("couldn't find Shot"); // No idea why you would print this here "Shot" is not a variable in your case. Nah doesn't work
June 30, 201312 yr Nah doesn't work When you right click "Shot", what options does it have? Turn "NPC Info" on and see if it has an id over it.
June 30, 201312 yr Author When you right click "Shot", what options does it have? Turn "NPC Info" on and see if it has an id over it. Throw and no npc info
June 30, 201312 yr I noticed my mistake. Change "Item shot = closestGroundItemForName("Shot");" to "GroundItem shot = closestGroundItemForName("Shot");"
June 30, 201312 yr Author I noticed my mistake. Change "Item shot = closestGroundItemForName("Shot");" to "GroundItem shot = closestGroundItemForName("Shot");" i already fixed that but it still doesn't work i post the whole script http://pastebin.com/bTbHaWb1