-
What is the best way to move to a specific location without using the map? I.e if you have a position right next to the bank you want to go to?
Do you think a player will perfectly click 3 rocks in order with no mistakes for any more than a few minutes? No, because a human doesn't have perfect memory, a human makes mistakes, and the game can be unpredictable. You'd be better off just checking for rocks that are facing you or facing next to you first. That's more how real players mine. Then if none are immediately close you mine the other rock.
-
What is the best way to move to a specific location without using the map? I.e if you have a position right next to the bank you want to go to?
Doing it your way is way more bot like, clicking the same rocks in the same order forever. A player just clicks the closest rock when it spawns. More random is better. Also your script should be stateless. I.e. we don't keep track of what we have done, we simply read the game state and decide what to do each time.
-
how many scritpts have you bought in total?
0
-
Tips and tricks for botting?
Don't invest a lot of money into it until you have enough practice and know how to make it back
-
is there a way to filter the client log?
You need to update your script
-
Proper way to handle tasks where there is a -1 animation between each activity e.g stringing bows crafting hide bodies etc.
import org.osbot.rs07.utility.ConditionalSleep; import java.util.function.BooleanSupplier; public class Sleep extends ConditionalSleep { private final BooleanSupplier condition; public Sleep(final BooleanSupplier condition, final int timeout) { super(timeout); this.condition = condition; } public static boolean sleepUntil(final BooleanSupplier condition, final int timeout) { return new Sleep(condition, timeout).sleep(); } @Override public final boolean condition() { return condition.getAsBoolean(); } } Usage Sleep.sleepUntil(() -> !Sleep.sleepUntil(api.myPlayer()::isAnimating, random(4000, 8000)), random(20000, 40000)) Sleep until haven't animated for 4-8 seconds, returns boolean whether condition was met or timed out
-
Proper way to handle tasks where there is a -1 animation between each activity e.g stringing bows crafting hide bodies etc.
Look at the ConditionalSleep class, it uses a loop but allows interruption You basically want a nested condition, sleep until you haven't animated for x seconds (sleep until the nested sleep fails)
-
As of 8/5/23 injection or mirror
Injection is the best option at the moment
-
cannot connect to OSBot! error? what can i do?
Shower
-
My first script/setup
You need java 8 not 11
- [Stable] OSBot 2.6.70
-
Error for every script
Switching tabs is still broken
-
Error for every script
@space3045 fixed now
-
Error for every script
Any script using the broken hooks is broken... now take your meds
-
Error for every script
The client is broke, whether you use a premium script or not...