Metagen
2009-05-11 19:38:50
Did runescape change the way flags work? because they are fucking up for me…
2009-05-11 19:38:50
2009-05-11 19:40:06
2009-05-11 19:42:52
2009-05-11 19:46:31
2009-05-11 21:00:47
2009-05-11 22:30:49
2009-05-11 22:37:50
procedure Flags;
begin
FFlag(20);
Wait(3000 + Random(1000));
end;It should speed your script up :)
2009-05-12 01:03:57
From: Frt
It should speed your script up :)procedure Flags;
begin
FFlag(20);
Wait(3000 + Random(1000));
end;
2009-05-12 01:14:20
2009-05-12 01:36:22
From: noidea
lolno.
Just use SRL's >.<
2009-05-12 01:38:34
2009-05-12 01:39:27
procedure DFlag(FDist: integer);
var
dist, a, check: Integer;
begin
check := GetSystemTime;
while FlagPresent do
begin
dist := FlagDistance;
if (dist = 0) or (dist < FDist) then Exit;
a := GetSystemTime;
if GetSystemTime - check > 20000 then
begin
Mouse(MMCX, MMCY, 0, 0, True);
Exit;
end;
while dist = FlagDistance do
begin
if GetSystemTime - a > 1500 then
Exit;
Wait(10);
end;
if Random(30) = 1 Then IdleTime(500, 1000, 0.01);
end;
end;
2009-05-12 17:52:06
2009-05-13 05:26:49
2009-05-13 09:39:49
{*******************************************************************************
Function DifferentMSColours: Boolean;
By: Floor66
Description: This function takes the colours of specific MainScreen points,
waits 100 + Random(50), takes new colours, and checks if the
colours are different from the first ones taken.
*******************************************************************************}
Function DifferentMSColours(MS_Points : Integer): Boolean;
Var
BeginColours, CheckColours : Array Of Integer;
ColorCoords : TPointArray;
i : Integer;
Begin
SetLength(ColorCoords, MS_Points);
SetLength(BeginColours, MS_Points);
SetLength(CheckColours, MS_Points);
For i := 0 To High(BeginColours) Do
Begin
ColorCoords[i].x := MSCX + Random(50);
ColorCoords[i].y := MSCY + Random(50);
BeginColours[i] := GetColor(ColorCoords[i].x, ColorCoords[i].y);
End;
Wait(100 + Random(50));
For i := 0 To High(CheckColours) Do
Begin
CheckColours[i] := GetColor(ColorCoords[i].x, ColorCoords[i].y);
If BeginColours[i] <> CheckColours[i] Then
Result := True;
End;
End;
{*******************************************************************************
Procedure CharacterMoving;
By: Floor66
Description: This procedure incorporates the function DifferentMSColours to do
a check if the character is still moving. A real handy check when
doing something with walking!
*******************************************************************************}
Function CharacterMoving: Boolean;
Var
Checks, t : Integer;
Begin
Wait(1500 + Random(250));
Result := True;
MarkTime(t);
Repeat
If (Not DifferentMSColours(7)) Then
Inc(Checks);
If (Checks >= 2) Or (Not FlagPresent) Then
Result := False;
If TimeFromMark(t) >= (10 * 1000) Then
Result := False;
Until(Not Result);
End;
{Use as:
While CharacterMoving Do
Wait(10 + Random(50));}