From: Ox Pure
This is the extreme strength makeall option bitmap i had it working but it stopped working with my dtms and i added tolerance to dtms and i don't know how to do bitmaps
How would i add that into this
You should edit your post and replace the tag you're using for your code with
tags so that it comes out formatted, as seen below.
For your problem, you should use [URL="http://docs.villavu.com/srl-6/wrappers.html?highlight=bitmap#findbitmaptolerancein-overload"]findBitmapToleranceIn [/URL]as riwu suggested.
Example usage:
[simba]
procedure WaitWhileFilling();
var
waitTimer: TTimeMarker;
x, y, r: integer;
doneAntiban: boolean;
begin
waitTimer.start();
r := randomRange(2000, 3000);
while (not progressScreen.isOpen(50) and (waitTimer.getTime() < r)) do
wait(random(50));
waitTimer.reset();
while (findBitmapToleranceIn(bmpCancelButton, x, y, mainScreen.getBounds(), 150)) and
(not findBitmapToleranceIn(bmpDoneButton, x, y, mainScreen.getBounds(), 150)) do
begin
if (not doneAntiban) then
begin
doneAntiban := true;
GaussWait(200, 300);
Antiban();
end;
GaussWait(100, 150);
mouseSpeed := randomRange(25, 35);
if (random(10) = 0) then
sleepAndMoveMouse(randomRange(250, 2000));
claimTicket();
end;
mouseSpeed := 22;
GaussWait(500, 1000);
end;