-
Posts
350 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Lil Ugly Mane
-
Wrapping my head around conditional sleeps
Lil Ugly Mane replied to Lil Ugly Mane's topic in Scripting Help
Thanks for your help Another thing - do you think it's human behaviour to move your mouse outside of the screen everytime you've interacted with a spot? Currently I've set it up with a random variable between 1-10, and if its 8 or below it will move the mouse off else it just stays hovered over the spot. What do you think? Would it also be wise to place another conditonal sleep outside the first if statement to sleep until the player is not animating/the spot is no longer null, or is it not necessary? -
In this instance, I'm trying to set a conditional sleep to sleep after my script has interacted with lure until my player is animating ie player has reached the spot so that the script doesn't spam other spots whilst tying to run to one. public void Fish() throws InterruptedException { NPC spot = getNpcs().closest("Rod fishing spot"); if ((!myPlayer().isAnimating()) && spot != null) { spot.interact("Lure"); new ConditionalSleep(10000) { @Override public boolean condition() { return myPlayer().isAnimating(); } }.sleep(); } } So, if the player is not animating and the spot is not equal to null, interact with lure, then sleep until the player is animating OR 10 seconds has elapsed? Am I writing this correctly? Additionally, what are the two other values that ConditionalSleep can take? Cheers
-
Still looking
-
added you yesterday but still pending. lukaei
-
if you'll take pp i'll take it.
-
added, scottwicks
-
get an autoclicker and set it to randomly deviate between clicking speeds, also make the cursor deviate a couple pixels every now and then. done this for multiple 99s and never been banned
-
just got zulrah pet and got banned lmaoooo
-
https://imgur.com/a/2Tjeo Thanks fruity
-
Zulrah teles are definitely worth it
-
Gets stuck looting &
-
Still way too long lmao
-
https://imgur.com/a/dz1yD embedding fucked up and cbf redoing, 110 qp
-
stop using the presets lmao