Bam Bam
08-23-2006, 11:33 AM
Why are these two functions in inventory.scar?
function FindRS: Boolean;
By: RsN
Description: Finds RS Window
function FindLoginScreen: Boolean;
By: Krazy_Meerkat & phantombmx
Description: Finds the login screen.
{************************************************* ******************************
function FindRS: Boolean;
By: RsN
Description: Finds RS Window
************************************************** *****************************}
function FindRS: Boolean;
begin
Result := FindWindowBySize(766, 504);
end;
{************************************************* ******************************
function FindLoginScreen: Boolean;
By: Krazy_Meerkat & phantombmx
Description: Finds the login screen.
************************************************** *****************************}
function FindLoginScreen: Boolean;
var cx, cy: Integer;
begin
if (FindRS) then
if (FindColor(cx, cy, 5063489, 245, 189, 523, 342)) or (FindText(cx, cy, 'ser', UpChars, 245, 189, 523, 342)) then
Result := True;
end;
function FindRS: Boolean;
By: RsN
Description: Finds RS Window
function FindLoginScreen: Boolean;
By: Krazy_Meerkat & phantombmx
Description: Finds the login screen.
{************************************************* ******************************
function FindRS: Boolean;
By: RsN
Description: Finds RS Window
************************************************** *****************************}
function FindRS: Boolean;
begin
Result := FindWindowBySize(766, 504);
end;
{************************************************* ******************************
function FindLoginScreen: Boolean;
By: Krazy_Meerkat & phantombmx
Description: Finds the login screen.
************************************************** *****************************}
function FindLoginScreen: Boolean;
var cx, cy: Integer;
begin
if (FindRS) then
if (FindColor(cx, cy, 5063489, 245, 189, 523, 342)) or (FindText(cx, cy, 'ser', UpChars, 245, 189, 523, 342)) then
Result := True;
end;