How to synchronization mouse click on minimap random time

09/23/2015 15:34 kimimben53#1
Hı guys I dont know in pixelbots mouseclik on minimap time settings


example
while(true)
{
int x = random.next(1110,1235);
int y = random.next(840,950);

point px = new point(x,y);
mouseclik();

problem here: Thread.Sleep(100) very fast clicking on minimap
Thread.Sleep(15000); but very much wait program running and antything made in this time
}

question?
how to solved with following steps this problems in programatically

point p1 = (1110,810);
point p2 = (1200, 840);

int distance = math.sqrt((p1.X-p2.X)^2 + (p1.Y-p2.Y)^2))
distance = 36; this length
minimapt area's factor in spacamap 100
36*100 = 3600

goli speed = 540
time = 3600 / 540
time = 6 second round

how to suspend the program 6 seconds dont click random position on mimap? sorry my English is bad too
09/25/2015 05:41 -popcorn-#2
the time is in miliseconds, so time(was 6 seconds) * 1000, = 6000 miliseconds

Thread.Sleep(time * 1000);