Im using mirror mode, soo slow and i've another problem.
Btw im switching from poopbot, interaction in poopbot API so simple like Inventory.get("item in inventory").useOn("Target Object"). How to archive this using poopbot?
So here example my code
if (objectName != null){
for(int i : inventorySlotList){
if (getInventory().getItemInSlot(i).getName().equals("Item Name")){
log("Item found");
mouse.click(new InventorySlotDestination(getBot(), i), false);
sleep(random(250,500));
objectName.interact();
sleep(random(250,500));
} else {
log("Item not found");
i++;
}
log("i: " + i + "Slot Position: " + inventorySlotList);
}
} else {
sleep(random(500,1000));
}
Problem :
1. Slow interaction between item in inventory to RS2Object. I've change setting to 50ms in mirror mode.
How to archive 2 tick click item in Inventory to RS2Object?
2. Sometimes when ObjectName become null in a second, mouse clicking item in inventory from slot x to slot 27 and than continues my task from previous position
thanks