View Full Version : Proggress report problem
xlawlerx
11-18-2009, 03:34 PM
Maybe it's silly question but how can I stop script and still get proggy ? I only receive reports when bot finishes task set up in script (like 200 kills, 40 loads etc.) If I stop SCAR manually proggy is gone and I don't have a chance to look at interesting numbers :D
Wanted
11-18-2009, 10:04 PM
There isn't a way when manually stopping a script, you could just wait until the progress report is printed tho.
MylesMadness
11-18-2009, 10:06 PM
The scripter has to do it with ScriptTerminate;
Baked0420
11-18-2009, 10:41 PM
yea, just add this into the program:
procedure ScriptTerminate;
begin
Proggy; //or whatever the procedure is called for printing out the progress report
end;
then whenever the script stops, whether manually from the user, or it just ending, it'll always print out the progress report last.
Wanted
11-18-2009, 11:03 PM
yea, just add this into the program:
procedure ScriptTerminate;
begin
Proggy; //or whatever the procedure is called for printing out the progress report
end;
then whenever the script stops, whether manually from the user, or it just ending, it'll always print out the progress report last.
Manually wont do it.
IwriteCode
11-19-2009, 02:42 AM
I'amhaving the same problem is it possible to display the proggy when the user manually stops it? Any way around if if not?
MylesMadness
11-19-2009, 11:40 PM
Manually wont do it.Yes it will...
program New;
Procedure ScriptTerminate;
begin
Writeln('HA!');
end;
begin
repeat
wait(1);
until false
end.
Wanted
11-20-2009, 02:45 AM
Yes it will...
program New;
Procedure ScriptTerminate;
begin
Writeln('HA!');
end;
begin
repeat
wait(1);
until false
end.
Not always...
program New;
Procedure ScriptTerminate;
begin
Writeln('HA!');
end;
begin
Sleep(10000);
end.
MylesMadness
11-20-2009, 08:36 PM
It will after it finishes the current procedure, and most wont take ten seconds
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.