Daniel
2008-04-11 08:09:38
I know some of these may appear useless to you, but some may find it very helpful to them in their scripts.
In: Core/AntiRandoms/AntiRandoms.scar
In: Core/Antiban.scar
In: Core/Antiban.scar
You don't have to add them if you want. I know they're basic.
In: Core/AntiRandoms/AntiRandoms.scar
function SolveMostRandoms: Boolean;
begin
if (not (LoggedIn)) then Exit;
case 12 of
1: Result := FindTalk;
2: Result := FindInventoryRandoms;
3: Result := FindNonInventoryRandoms;
4: Result := FindMod;
5: if(InBlack)then
begin
Writeln('Player is in black!');
LogOut;
NextPlayer(False);
Result := True;
Exit;
end;
6: DwarfItem;
8: Result := SolvePinball;
9: if(NoGameTab)then
begin
Writeln('No standard game tab found.');
LogOut;
NextPlayer(False);
Result := True;
Exit;
end;
10: Result := SolveNonTalkingRandoms;
11: if(FindDead)then
begin
LogOut;
NextPlayer(False);
Result := True;
Exit;
end;
12: Result := FindNormalRandoms;
end;
end;In: Core/Antiban.scar
procedure RandomRotate;
var
i: Integer;
begin
i := 1 + Random(359);
case random(5) of
0: MakeCompass('N');
1: MakeCompass('S');
2: MakeCompass('E');
3: MakeCompass('W');
4: MakeCompass(IntToStr(i));
end;
end;In: Core/Antiban.scar
procedure IP_RockWait;
var
i: Integer;
begin
if (not (LoggedIn)) then Exit;
GetAntiRandoms;
case Random(10) of
0: RandomRClick;
1: GameTab(1 + Random(14));
2: BoredHuman;
3: PickUpMouse;
4: AlmostLogOut;
5: RandomMovement;
6: HoverSkill('mining', False);
7: RandomRotate;
8: AlmostLogout;
9: begin
i:=MouseSpeed;
MouseSpeed := 15 + Random(31);
MMouse(1 + Random(790), 1 + Random(593), 4, 5);
MouseSpeed:=i;
end;
end;
end;You don't have to add them if you want. I know they're basic.