Harry
2007-10-30 15:11:22
Just wanted to add it here, made mostly bay SantaClause :P
Just call something with if not (loggedIn) then some where in your script and have it run this procedure.
Origional Post here: http://www.villavu.com/forum/showthread.php?t=19826?p=251146#post251146
function ClickedPlayRunescape : Boolean; //Thanks to SantaClause! :)
var
ClickHereToPlay,x,y:integer;
begin
if not(LoggedIn) then
begin
LoginPlayer;
Exit;
Exit;
end;
ClickHereToPlay := BitmapFromString(33, 1, 'z78DA758E510E80300843' +
'AF54C0E2F6E94CB8FF9134123392693FFA41FA4A23A6F0888443D' +
'26DC000A7DCE7F458F23EE444E721444B6A0F53D58FE44F4365B7' +
'067D37AC3D95AADF2F50962C79');
if FindBitmap(x, y, ClickHereToPlay) then
begin
Mouse(X, Y, 3, 3, True);
Wait(5000+Random(5000));
WriteLn('RS lagged- logged back in! :) ');
FreeBitmap(ClickHereToPlay);
Exit;
Exit;
end;
end;
Just call something with if not (loggedIn) then some where in your script and have it run this procedure.
Origional Post here: http://www.villavu.com/forum/showthread.php?t=19826?p=251146#post251146