Hello All! This is my first little script that I wanted to post. It's fairly simplistic, but I like it. After seeing Lobster's ban report, I wanted to go ahead and post this - any feedback is absolutely welcome! Feel free to include it in any of your scripts and see how it works. It is designed to run one of its included anti-ban functions about 10% of the time the procedure is called. It has the highest chance of running a small off-client break when active, as I personally think that is one of the best anti-bans that SRL has.
Thanks so much in advance for your input!
Simba Code:
//Roman's Little Anti-Ban script!
//This procedure can be added to your script to help keep your bots safe.
//All feedback welcome and appreciated!
procedure lilAntiBan ();
begin
if random(9) = 0 then //Approximately 10% of the time this procedure is run an antiban feature will engage.
case random(100) of
0..10 : begin
writeLn('Hovering Over Skill...');
hoverSkill(SKILL_WOODCUTTING); //Feel free to change this skill to suit your needs.
wait(randomRange(750, 1400));
end;
11..20 : begin
writeLn('Picking Up Mouse...');
pickUpMouse;
end;
21..30 : begin
writeLn('Looking at Random Game Tab...');
randomGameTab(true);
end;
31..45 : begin
writeLn('Acting Like a Bored Human...');
boredHuman(true);
end;
46..50 : begin
writeLn('Moving Mouse a Small Amount...');
smallRandomMouse();
end;
51..90 : begin
writeLn('Moving Outside the Client + Shortbreaking...');
mouseOffClient(OFF_CLIENT_RANDOM, randomRange(6012, 40302)); //Yes I do like strange numbers ;)
end;
91..100 : begin
writeLn('Sleeping and Moving Mouse...');
sleepAndMoveMouse(1250 + random(2347));
end;
end;
end;