Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question How do I stop random delays?

Joined
Mar 17, 2017
Messages
3
So im making something similar to a flinching bot, and the delay between attacking the npc and walking to X title is taking too long. Sometimes its perfect but other times its like 3 ticks too late.
My code looks something similar to this:
Code:
npc.interact("Attack");
while(Players.getLocal().position == safespot.position)
{
Thread.sleep(20);
}
path.step();

Is there anyway to make the path.step function execute quicker? Maybe RegionPath isnt the best solution for my idea? I have a feeling that its the inbuilt anti-ban adding a random delay to some clicks. Please help xx
 
Top