SRL Archive - Simba (Testing) Scripts

My AntiBan


okokokok

2012-01-13 07:20:37

Hello guys,

I haven't had alot of time to script lately and i wanted to know if my antiban is acceptable. Personally i want a high antiban, because i don't like comments like "omfgz0r ur scriptz got my acc banned!@@#$@".

Now i made this antiban and my question is: Have i overdone it, not enough randomness, not enough antiban etc. All suggestions are welcome, so if you see something that needs to be changed, i'd love it if you would tell me :)

The antiban needs to be rewritten for SRL5, but i'll do that some other time.

procedure AntiBan;
begin
if (not(LoggedIn)) then
Exit;
Case Random (1000) of
0..8:
begin
HoverSkill('Woodcutting', false);
wait(2453+Random(432));
end;
20..27: BoredHuman;
40..49: PickUpMouse;
60..70: RandomRClick;
80..83: RandomMovement;
100..105: ExamineInv;
120..127:
begin
HoverSkill('random', false);
sleepandmovemouse(276 + Random(100));
PickUpMouse;
ChooseOption('Cancel');
SetAngle(true);
end;
140..142: BoredHuman;
160..168: PickUpMouse;
180..190: RandomRClick;
200: RandomMovement;
208..217: SleepAndMoveMouse(3000 + Random(500));
end;
end;

Greetz

Inception

2012-01-21 02:21:06

From: okokokok
Now i made this antiban and my question is: Have i overdone it, not enough randomness, not enough antiban etc. All suggestions are welcome, so if you see something that needs to be changed, i'd love it if you would tell me :)


I personally think that the amount of antiban you have is dependent on the type of script you are running. For example, I see tasks like woodcutting and fishing as more of afk tasks, so I usually include a lot of active antiban functions like you've done. On the other hand, I see tasks like firemaking and alching as very active tasks, so I usually include more passive (Wait calls) antiban functions. I'm not exactly sure if my way of thinking is correct, but it makes sense to me.

As for if you have enough antiban, that depends on how often you call your procedure. In almost every procedure I have, I am making a call to my antiban procedure. Especially inside loops that repeat for a while, such as waiting for your character to chop down a tree.

Hope my input helps a bit.

okokokok

2012-01-21 05:23:57

From: Inception
I personally think that the amount of antiban you have is dependent on the type of script you are running. For example, I see tasks like woodcutting and fishing as more of afk tasks, so I usually include a lot of active antiban functions like you've done. On the other hand, I see tasks like firemaking and alching as very active tasks, so I usually include more passive (Wait calls) antiban functions. I'm not exactly sure if my way of thinking is correct, but it makes sense to me.

As for if you have enough antiban, that depends on how often you call your procedure. In almost every procedure I have, I am making a call to my antiban procedure. Especially inside loops that repeat for a while, such as waiting for your character to chop down a tree.

Hope my input helps a bit.


Thanks for your feedback :)
It is indeed a woodcutting script and i call my antiban everytime i repeat the woodcutting procedure. I like a good antiban, but overdoing your antiban is also not good :)