Footy
2012-07-19 19:28:05
Im using an Uptext DTM to make sure im clicking on the bank, as my script keeps clicking off the bank. Im using the following code, but it wont work. In the DTM editor, it finds the DTM every time. The DTM is of the uptext when hovering over SW bank
Procedure Bank;
var
BankDTM, x, y:integer;
begin
BankDTM := DTMFromString('mbQAAAHicY2VgYPABYksgjgLiRCBWBmJHIHYBYmcobQ/EktePM0jdOA6mQVj4ynEGbIARCwYDAMlQC0U=');
Writeln('Time To Bank');
wait(randomrange(200, 300));
MMouse(259, 170, 4, 4);
wait(randomrange(200, 400));
if FindDTM(BankDTM, x, y, 1, 1, 765, 553) then
begin
Clickmouse2(1);
wait(randomrange(1500, 2000));
Mouse(583, 277, 2, 2, Mouse_right);
Chooseoption('ll')
wait(randomrange(400, 500));
Mouse(102, 159, 2, 2, Mouse_right);
wait(randomrange(300, 400));
Chooseoption('ll');
wait(randomrange(200, 400));
Mouse(490, 84, 2, 2, 1);
wait(randomrange(400, 600));
Fletched := Fletched + 28
end;
end;