JAD
2007-06-26 19:13:49
program New;
{.include SRL/SRL.scar}
function Loading: Boolean;
var TPA: TPointArray;
LoadingTime: Integer;
begin
if(not(LoggedIn))then
Exit;
if(not(GetColor(114,32) = 0))then
begin
Result := False;
Exit;
end;
FindColorsSpiralTolerance(x,y,TPA,0,7,7,204,34,0);
Result := GetArrayLength(TPA) = 5291;
end;
begin
ActivateClient;
wait(1000+random(500));
repeat
wait(1);
until(Loading);
MarkTime(LoadingTime);
repeat
wait(1);
until(not(Loading));
Writeln('took ' + IntToStr(TimeFromMark(LoadingTime)) + ' Milliseconds to stop loading');
end.
:) Run the script and then while it's running keep walking on the map for about 15 seconds until you see the loading - please wait thing, it works perfectly for me :) I mark timed it and it took 0 milliseconds for the Loading procedure to check :p