Log in

View Full Version : AntiBanning question.



KeepBotting
01-24-2012, 01:41 AM
Hey guys. Here's my antibanning procedure. I find that my script runs AntiBans way too often.
Here's the link to my script http://villavu.com/forum/showthread.php?t=72713
How should my AntiBan procedure be configured for a woodcutting powerchopper script?
Also, how many times should I call my AntiBans from within my other procedures?

procedure AntiBan; //This keeps the banhammah from striking.
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(11) of
0:
begin
WriteLn('AntiBan chosen: Hover Skill.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
HoverSkill('Woodcutting', false); //This hovers your mouse over the Woodcutting skill.
wait(2453+Random(432));
end;
1:
begin;
WriteLn('AntiBan chosen: Pick Up Mouse.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
PickUpMouse; //This simulates a human picking the mouse up off the mouse pad, then setting it back down.
end;
2:
begin
WriteLn('AntiBan chosen: Move Camera.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
MakeCompass('N'); //This fiddles around with the Camera. Aligns the Camera North, rotates the Camera South, then aligns North again.
wait(100+random(133));
MakeCompass('S');
wait(50+random(133));
MakeCompass('N');
FindNormalRandoms;
end;
3:
begin
WriteLn('AntiBan chosen: Random Right-Click.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
RandomRClick; //This randomly right-clicks somewhere in the game.
end;
4:
begin
WriteLn('AntiBan chosen: Random Camera Angle.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
RandomAngle(True); //This sets the camera to a random angle.
end;
5:
begin
WriteLn('AntiBan chosen: Random Mouse Movement.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
RandomMovement; //This moves the mouse around randomly.
end;
6:
begin
WriteLn('AntiBan chosen: Bored Human.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
BoredHuman; //Makes the script act like a bored human playing Runescape!
end;
7:
begin
WriteLn('AntiBan chosen: Examine Random Inventory Item.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~');
ExamineInv; //Chooses a random item in your inventory, and examines it.
end;
end;
end;

eXoTiK
01-24-2012, 01:46 AM
Change case Random(11) of -> to a higher number to limit how many times it could possibly do an antiban procedure. 8/11 are fairly high chances it will do one of them, I'd personally make it like Random(50) or Random(100).

KeepBotting
01-24-2012, 01:47 AM
Change case Random(11) of -> to a higher number to limit how many times it could possibly do an antiban procedure. 8/11 are fairly high chances it will do one of them, I'd personally make it like Random(50) or Random(100).
Thank you :D I didn't know if you could just increase case Random() or if you had to do something different.

eXoTiK
01-24-2012, 01:50 AM
As for when you should call it, that's all up to you. I'd either call it when the script was cutting, moving, etc. I personally don't tend to use too much antiban when I legit play and skill.

KeepBotting
01-24-2012, 01:51 AM
As for when you should call it, that's all up to you. I'd either call it when the script was cutting, moving, etc. I personally don't tend to use too much antiban when I legit play and skill.I like to call it:

before the bot attempts to find a tree
after the bot clicks on a tree
before and after the bot drops my logs
when my special bugfix failsafe kicks in

Any other places?