Juggles Posted April 8, 2017 Share Posted April 8, 2017 11 minutes ago, dmmslaver said: Really because I'm sitting here watching a blank script with inventory.getAmount returning zero with the item in inventory.. Works fine in my script Quote Link to comment Share on other sites More sharing options...
dmmslaver Posted April 8, 2017 Share Posted April 8, 2017 (edited) 1 hour ago, Juggles said: Works fine in my script You set tab to eg quest tab, then obtain an item from the ground NOT from dropping it, from from rock, tree, etc, and without opening inventory, getAmount returns? i added your skype Edited April 8, 2017 by dmmslaver Quote Link to comment Share on other sites More sharing options...
dmmslaver Posted April 8, 2017 Share Posted April 8, 2017 On 4/6/2017 at 6:13 PM, harrypotter said: This seems to fail on Low CPU mode. It will continue to pick the bush even when the inventory contains Cadava berries. if (!script.inventory.contains("Cadava berries")) { if (!bushArea.contains(script.myPosition())) { script.getWalking().webWalk(bushArea); } else { Entity bush = script.getObjects().closest("Cadava bush"); if (bush != null) { if (bush.interact("Pick-from")) { Sleep.sleepUntil(() -> script.inventory.contains("Cadava berries"), 5000); } } } } If I pause the script and resume again it works as expected? When you're picking the berries, is the inventory OPEN? When you pause/resume does it open the inventory? Quote Link to comment Share on other sites More sharing options...