rotchy1
2013-06-03 19:03:46
So I made this little procedure that searches for a raw chicken, and then moves mouse over and if uptext is "take" then it right clicks and selects "take chicken" and then waits until player is not moving and repeats until the inv is full. My question is, is there any way for me to have the player right click another raw chicken on the ground and wait to click "take until he is not moving (like after he has already clicked one).
Basically, I want it to look more human like by first clicking take chicken, and then while moving to the chicken it just clicked, it will then find and right click another chicken so that as soon as the player stops moving it is ready to click the next chicken which will add more human like interactions and make the script faster as well?
heres the procedure.
Basically, I want it to look more human like by first clicking take chicken, and then while moving to the chicken it just clicked, it will then find and right click another chicken so that as soon as the player stops moving it is ready to click the next chicken which will add more human like interactions and make the script faster as well?
heres the procedure.
Procedure FindRaw;
var
Raw, i, l, r, T, TimesFailed: integer;
RawTPA: TPointArray;
begin
Raw := GetToleranceSpeed;
SetColorToleranceSpeed(2);
SetToleranceSpeed2Modifiers(0.20, 0.44);
FindColorsTolerance(RawTPA, 9213099, MSX1, MSY1, MSX2, MSY2, 19);
SetColorToleranceSpeed(Raw);
SetToleranceSpeed2Modifiers(0.02, 0.02);
L := High(RawTPA)
marktime(T);
for i := 0 to L do
begin
r := random(L);
wait(randomrange(60, 200));
mmouse(RawTPA[r].x, RawTPA[r].y, 2, 2);
if waituptext('ake', 300) then
Break;
if timefrommark(T) > 3000 then
begin
Inc(TimesFailed);
if TimesFailed = 3 then
begin
KillChicken;
AntiBan;
end;
if TimeFromMark(T) > 30000 then
begin
Logout;
TerminateScript;
end
else
end;
end;
clickmouse2(mouse_right);
ChooseOption('hicken');
WaitNotMoving(true);
end;