SRL Archive - General Botting Help

Progress reports


zwheele1

2013-03-16 22:32:12

Where can I learn to add progress reports to Simba scripts?

I have tried looking at scripts that contain progress reports for Simba and I am running across a lot of bitmaps were not freed and other errors. When trying to incorporate it into other scripts.

Le Jingle

2013-03-16 22:36:00


var
tracker: Integer;

procedure Proggy;
begin
Writeln('Times doing this thing = ' + IntToStr(tracker) + '.');
end;

begin
proggy;
repeat
inc(tracker);
until(tracker > 10);
proggy;
end.

You basically keep a variable global and increment it when you track something.
Then the progress report prints out what the variable kept is currently at.

zwheele1

2013-03-16 22:44:51

Now is that going to only show a progress report when it ends? or is it going to show it in the Smart window. Because I apologize for not specifying but I want the latter of the two.

zwheele1

2013-03-16 23:46:51

Thank you core exactly what I was looking for.