Torrent of Flame
03-17-2008, 10:08 PM
Methods AntiBan&AntiRandoms Guide is good, but not updated. Such things as
function FindFastRandoms: Boolean;
Arent needed with the SRL4 Rev#14, so I decided to make a new updated version for people out there still using the old guide.
Included is:
Overview
Nicknames and their use with AntiRandoms
Using AntiRandoms
Using AntiBan
Using AntiBan&AntiRandoms
Overview
AntiRandoms, and less importantly AntiBan, are needed in any script to make it SRL Member quality [AntiRandoms for sure, AntiBan helps] and to stop it being flawed when Jagex sends out a random to stop us autoing. With the ability to sleep, logout randomly and switch players in SCAR, we can recude the amount of randoms, but ofcourse we still get them. AntiRandoms catch any randoms, save unsolvable ones [Mime, Maze, etc] and solve them.
AntiBan stops robotic movements, and acts playerlike, 'checking' skills, pretending to log out, and occasionally does emotes aswell.
Nicknames and their use with AntiRandoms
You have probably seen this at the start of every script:
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'Username';
Players[0].Pass := 'Password';
Players[0].Nick := 'ame';
Players[0].Active := True;
end;
The important part here is the .Nick part. Enter a few letters of your username and SRL creates a mask of your nickname, and looks for it when a talking random pops up and gives you something.
UsingAntiRandoms
Since the release of SRL 4 Rev#14, the AntiRandoms procedure is pretty basic. All you have to do is setup a procedure following this:
procedure FindRandoms;
begin
LampSkill := 'theskill';
FindNormalRandoms;
if FindFight then RunAway('N',True,1,15000);
end;
LampSkill - Theskill is when you setup a script, ie, fletching, you set it to get the LampSkill fletching
FindNormal Randoms - Finds the normal randoms.
FindFight - If it finds a fight it runs away! Runs North, True ie, it will run north, up about 1 or 2, and waits 15 seconds.
This is all you basically need now. I will explain how to use AntiRandoms later on.
Using AntiBan
When making a script, you need to have an AntiBan procedure, to do what the name says, stop you from being Banned! This is achievable by following something of this sort:
procedure AntiBan;
begin
if not LoggedIn then Exit;
case Random(30) of
1: RandomRClick;
2: HoverSkill('Woodcutting', False);
3: RandomMovement;
4: BoredHuman;
5: AlmostLogout;
6: DoEmote(400 +Random(90));
end;
end;
1) RandomRClick - Randomly Right clicks the mouse anywhere in the screen
2) HoverSkill - Hovers over the skill declared in the ' ', but doesnt click on it[why it says false]
3) RandomMovement - Randomly moves the mouse
4) Bored Human - Moves the mouse around like someone who is bored would do.
5) AlmostLogout - Clicks on logout, like someone who might have had enough of playing, and doesnt click, just hovers over the logout button
6) Do Emote - Does an emote, with a 400-490 random chance.
Using AntiBan & AntiRandoms:
Say this is your script:
procedure DeclarePlayers;
begin
HowManyPlayers := 1; //How many Players
NumberOfPlayers(HowManyPlayers);
CurrentPlayer :=0; //Starting Player
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
end;
Procedure ChopTree;
begin
if not LoggedIn then
Exit;
MakeCompass('N');
repeat
if FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7) then
begin
Mouse(x,y,0,0,false);
Wait(500+(random(150)));
ChooseOption('hop')
AntiBan;
Writeln('Found Tree!');
end else
Writeln('Tree Not Found!');
AntiBan;
AntiBan;
AntiBan;
until( InvFull )
end;
begin
Chopping
end.
Now Random Finding happens well, when a Random Pops up, but you have to TELL your script to do AntiBan. Now notice how much AntiBan is in the above script. It AntiBans when chopping, like you do, move the mouse boredly etc, but also when it doesnt find the tree, it AntiBans until it does, or until the inventory is full.
Overall, using AntiBan and AntiRandoms doesnt only stop you from being banned, but can also improve your chances of getting into SRL Members, aslong as you follow tutorials by JAD or Cazax on how to get into members. Using this tutorial, you should be able to make a more human, antirandoming script.
Thanks.
function FindFastRandoms: Boolean;
Arent needed with the SRL4 Rev#14, so I decided to make a new updated version for people out there still using the old guide.
Included is:
Overview
Nicknames and their use with AntiRandoms
Using AntiRandoms
Using AntiBan
Using AntiBan&AntiRandoms
Overview
AntiRandoms, and less importantly AntiBan, are needed in any script to make it SRL Member quality [AntiRandoms for sure, AntiBan helps] and to stop it being flawed when Jagex sends out a random to stop us autoing. With the ability to sleep, logout randomly and switch players in SCAR, we can recude the amount of randoms, but ofcourse we still get them. AntiRandoms catch any randoms, save unsolvable ones [Mime, Maze, etc] and solve them.
AntiBan stops robotic movements, and acts playerlike, 'checking' skills, pretending to log out, and occasionally does emotes aswell.
Nicknames and their use with AntiRandoms
You have probably seen this at the start of every script:
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'Username';
Players[0].Pass := 'Password';
Players[0].Nick := 'ame';
Players[0].Active := True;
end;
The important part here is the .Nick part. Enter a few letters of your username and SRL creates a mask of your nickname, and looks for it when a talking random pops up and gives you something.
UsingAntiRandoms
Since the release of SRL 4 Rev#14, the AntiRandoms procedure is pretty basic. All you have to do is setup a procedure following this:
procedure FindRandoms;
begin
LampSkill := 'theskill';
FindNormalRandoms;
if FindFight then RunAway('N',True,1,15000);
end;
LampSkill - Theskill is when you setup a script, ie, fletching, you set it to get the LampSkill fletching
FindNormal Randoms - Finds the normal randoms.
FindFight - If it finds a fight it runs away! Runs North, True ie, it will run north, up about 1 or 2, and waits 15 seconds.
This is all you basically need now. I will explain how to use AntiRandoms later on.
Using AntiBan
When making a script, you need to have an AntiBan procedure, to do what the name says, stop you from being Banned! This is achievable by following something of this sort:
procedure AntiBan;
begin
if not LoggedIn then Exit;
case Random(30) of
1: RandomRClick;
2: HoverSkill('Woodcutting', False);
3: RandomMovement;
4: BoredHuman;
5: AlmostLogout;
6: DoEmote(400 +Random(90));
end;
end;
1) RandomRClick - Randomly Right clicks the mouse anywhere in the screen
2) HoverSkill - Hovers over the skill declared in the ' ', but doesnt click on it[why it says false]
3) RandomMovement - Randomly moves the mouse
4) Bored Human - Moves the mouse around like someone who is bored would do.
5) AlmostLogout - Clicks on logout, like someone who might have had enough of playing, and doesnt click, just hovers over the logout button
6) Do Emote - Does an emote, with a 400-490 random chance.
Using AntiBan & AntiRandoms:
Say this is your script:
procedure DeclarePlayers;
begin
HowManyPlayers := 1; //How many Players
NumberOfPlayers(HowManyPlayers);
CurrentPlayer :=0; //Starting Player
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
end;
Procedure ChopTree;
begin
if not LoggedIn then
Exit;
MakeCompass('N');
repeat
if FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7) then
begin
Mouse(x,y,0,0,false);
Wait(500+(random(150)));
ChooseOption('hop')
AntiBan;
Writeln('Found Tree!');
end else
Writeln('Tree Not Found!');
AntiBan;
AntiBan;
AntiBan;
until( InvFull )
end;
begin
Chopping
end.
Now Random Finding happens well, when a Random Pops up, but you have to TELL your script to do AntiBan. Now notice how much AntiBan is in the above script. It AntiBans when chopping, like you do, move the mouse boredly etc, but also when it doesnt find the tree, it AntiBans until it does, or until the inventory is full.
Overall, using AntiBan and AntiRandoms doesnt only stop you from being banned, but can also improve your chances of getting into SRL Members, aslong as you follow tutorials by JAD or Cazax on how to get into members. Using this tutorial, you should be able to make a more human, antirandoming script.
Thanks.