March 4, 201510 yr Is there a method in the API for the bot to click on something in your inventory rather than just giving in mouse coördinates? Like a Use on something method? In case of no. Is there a way to randomize your mousclicks on that specific item? So yes, please give a bit of information. Thanks in advance This is what i'am using now Edited March 4, 201510 yr by gilles537
March 4, 201510 yr Go to the method provider and look at getInventory() specifically in the ItemContainer class(i think)
March 4, 201510 yr This is almost certain to be probably the lowest xp p/h fletching script not to mention the amount of fails it will have.... Use getInventory().interact(String interaction, String name) to interact with an item. Everything is found in the API
March 4, 201510 yr Author Just wanted it to be as human as possible, and the xp/h isn't affected that much. Thanks btw. Edited March 4, 201510 yr by gilles537
March 4, 201510 yr Just wanted it to be as human as possible, and the xp/h isn't affected that much. Thanks btw. Personally myself having a fletcher you need 3 things, one using inventory interactions, two conditional sleeping till the interface is visible, then 3 banking using the banking api. Everything is in the API docs so just have a fish through it, hope this is somewhat helpful ^_^
March 4, 201510 yr Like a Use on something method? Here's an example (you should add null checks of course): if (!getInventory().isItemSelected()) { getInventory().getItem("Item1").interact("Use"); } else { if (getInventory().getSelectedItemName().equals("Item1")) { getInventory().getItem("Item2").interact("Use"); } else { getInventory().deselectItem(); } } Edited March 4, 201510 yr by Kristoffer OSBot