This is my first SCAR based tutorial. In this tutorial I will be teaching you how to use Anti Ban procedures, a requirement for becoming a SRL Member, and very important in any script. Basically it adds randomness to your script to make it more undetectable.
Using AntiBan
The Anti Ban procedure is a randomized Case.
Example: (We Will be going over each case later on).
SCAR Code:
Program AntiBan;
{.include SRL\SRL.scar}
Procedure ExampleOfAntiBan;
begin
if(not(LoggedIn))then
LogInPlayer; //Notice im not calling a 'Exit' and the Cammel Capping.
case Random(11) of //11 is 100% chance of antiban, 0 No anti ban ext
0: Begin
HoverSkill('Random', false);
wait(2453+Random(432));
end;
1: RandomRClickEvery(3 + Random(2));
2: PickUpMouse;
3: AlmostLogOut;
4: SayCurrentLevels('Woodcutting');
5: begin
MakeCompass('N');
wait(10+random(5));
MakeCompass('S');
wait(10+random(5));
MakeCompass('N');
end;
6: BoredEvery(10+random(5));
7: begin
SetAngle('True');
wait(10+random(10));
SetAngle('False');
end;
10: SleepAndMoveMouse(600000+random(400000));
End;
Begin
End.
Lets Go Over Each Case:
0 - HoverSkill - Basically what this does is hover over one of the Skills. Example: HoverSkill('NameOfSkill', False); False being wether or not it clicks (True = Click Skill and False = Dont Click).
1 - RandomRClickEvery(3+Random(1)); - Random Right Click every 3+ 1 minutes (not milliseconds)
2 - PickUpMouse; - In this procedure, SCAR simulates you picking up the mouse and putting it back down.
3 - AlmostLogOut; - In this procedure, it hovers over the log out box like its bored and is considering logging out.
4 - SayCurrentLevels('Skill'); - Says the current level of a skill.
5 - Self explanitory, moves around the Compass
6 - BoredEvery(10+random(5)); - Moves the mouse like a bored human - Minutes, Not Milliseconds.
7 - This sets the lowest angle and then the highest.
- NeehoSoft (Donnie)