andryaze
2013-03-01 19:43:53
Atm i have 2 questions.
procedure checkTrap;
Begin
trapcol := 5723997 Writeln('Found Trap');
if P07_FindObj(x, y, 'Check', trapcol, 0) then
Begin
wait(randomrange(100, 200));
ClickMouse2(mouse_left);
wait(randomrange(1000, 2000));
Begin
P07_DropInventorySlot(2);
wait(1000);
P07_DropInventorySlot(3);
wait(1000);
Begin
wait(3000);
ClickMouse2(mouse_left);
end;
end;
end;
end;
^this kinda waits until a bird trap is succesful. Then it drops slot 2 and 3. After that i'll write more to start over and over.
1. Question: The mouse is like instant moving above the trapcol colour. How can i fix that?
2. Question: Once the items in slot 2 and 3 are dropped the bot should walk back to a specific spot and start again. How can i make it remember at the beginning of the script where it starts and to walk back once u've done something?
procedure checkTrap;
Begin
trapcol := 5723997 Writeln('Found Trap');
if P07_FindObj(x, y, 'Check', trapcol, 0) then
Begin
wait(randomrange(100, 200));
ClickMouse2(mouse_left);
wait(randomrange(1000, 2000));
Begin
P07_DropInventorySlot(2);
wait(1000);
P07_DropInventorySlot(3);
wait(1000);
Begin
wait(3000);
ClickMouse2(mouse_left);
end;
end;
end;
end;
^this kinda waits until a bird trap is succesful. Then it drops slot 2 and 3. After that i'll write more to start over and over.
1. Question: The mouse is like instant moving above the trapcol colour. How can i fix that?
2. Question: Once the items in slot 2 and 3 are dropped the bot should walk back to a specific spot and start again. How can i make it remember at the beginning of the script where it starts and to walk back once u've done something?