Jethr0x
2009-08-26 01:58:48
I am trying to make a very undetectable alch procedure (no autoresponder or anything yet)
heres what I have, I just want a check on the logic.
heres what I have, I just want a check on the logic.
procedure Alch;
var
Alchs, i, x, y : integer;
msg : string;
begin
wait(100+random(200));
GameTab(Tab_Magic); // changes to the magic tab.
wait(10+random(30));
MouseBox(561, 337, 582, 351, 3); //the bigges possible box to click for alch
GetMousePos(x, y);
begin
Alchs := 0; //resets value
i := 1 + random(9); //random for antiban?
Writeln('Set of ' +IntToStr(i)+ ' alchs.'); //displays (debug)
repeat
if not(rs_GetUpText = 'Cast High Level Alchemy') then
Alch;
HoldMouse(x, y, true); // \
wait(10+random(60)); // --- Humanlike mouse click?
ReleaseMouse(x, y, true);// /
wait(800+random(200));
if not(rs_GetUpText = 'Cast High Level Alchemy -> Yew longbow') then
Alch;
HoldMouse(x, y, true);
wait(10+random(60));
ReleaseMouse(x, y, true);
wait(1000+random(300));
Alchs := Alchs + 1;
until(Alchs >= i) // stops clicking same spot (back to mousebox to get
Alch; // a new spot to click on... ???
end;
end;