bloofacebaby Posted August 29, 2020 Posted August 29, 2020 (edited) I’m using getInventory.dropAll() to drop any “Logs”. But every 3rd logs the script drops, the mouse spasms across the screen. Is this normal? It’s my first script edit: I woke up today, ran the script again, turned on Mouse Trails and the issue is not occurring anymore. It was only happening on my 1st test bot which got banned, 2nd one didn't get banned yet and neither did it have mouse spasm issues. Edited August 29, 2020 by bloofacebaby
Gunman Posted August 29, 2020 Posted August 29, 2020 Gonna go on a hunch and say you did something wrong
Khaleesi Posted August 29, 2020 Posted August 29, 2020 (edited) 2 hours ago, bloofacebaby said: I’m using getInventory.dropAll() to drop any “Logs”. But every 3rd logs the script drops, the mouse spasms across the screen. Is this normal? It’s my first script Use fixed screen mode Show some code aswell ^^ Edited August 29, 2020 by Khaleesi
bloofacebaby Posted August 29, 2020 Author Posted August 29, 2020 This is my code: if(getInventory().isFull()) { //If logs exist in inventory, drop them log("Dropping logs"); getInventory().dropAll("Logs", "Oak logs", "Willow logs"); Sleep.sleepUntil(() -> !getInventory().isEmpty(), 30000,1000); } The issue stopped happening today, not sure why since I haven't changed my code at all. I suspect if anything it was my camera zoom? It wasn't set to default before but idk if that causes issues or not. But since you're all here, is this Conditional Sleep implementation correct for waiting till all logs are dropped? I'm using Explv's lambda class 6 hours ago, Khaleesi said: Use fixed screen mode Show some code aswell ^^
Khaleesi Posted August 29, 2020 Posted August 29, 2020 (edited) 5 minutes ago, bloofacebaby said: This is my code: if(getInventory().isFull()) { //If logs exist in inventory, drop them log("Dropping logs"); getInventory().dropAll("Logs", "Oak logs", "Willow logs"); Sleep.sleepUntil(() -> !getInventory().isEmpty(), 30000,1000); } The issue stopped happening today, not sure why since I haven't changed my code at all. I suspect if anything it was my camera zoom? It wasn't set to default before but idk if that causes issues or not. But since you're all here, is this Conditional Sleep implementation correct for waiting till all logs are dropped? I'm using Explv's lambda class I'm pretty sure osbot drop method already has a sleep in it Should be btw: Sleep.sleepUntil(() -> getInventory().isEmpty(), 30000,1000); Edited August 29, 2020 by Khaleesi
bloofacebaby Posted August 29, 2020 Author Posted August 29, 2020 9 minutes ago, Khaleesi said: I'm pretty sure osbot drop method already has a sleep in it Should be btw: Sleep.sleepUntil(() -> getInventory().isEmpty(), 30000,1000); Oops, that !. So I guess that means I don't need to add the Conditional sleep at all then, thank you
Khaleesi Posted August 29, 2020 Posted August 29, 2020 2 minutes ago, bloofacebaby said: Oops, that !. So I guess that means I don't need to add the Conditional sleep at all then, thank you Ya I don't think it's required after the drop method Can't hurt to have it there though 1