SRL Archive - Research & Development Lounge

AntiBan.


Dervish

2009-05-30 00:52:45

I did not know where to put this, so I put it here, someone move to appropriate section if needed.

I thought I'd help out the newcomers by posting some antiban for people with the desire to script.

Feel free to use it.

Paste the whole antiban please (or in the same order, or else it will fuck up and not work).

{*******************************************************************************
Procedure : MouseAntiBan
Creater : Dr D. Dervish
Use : AntiBan using the mouse
*******************************************************************************}
Procedure MouseAntiBan;
VAR
x,y,Times : Integer;

BEGIN
CASE random(2) of
0: BEGIN
REPEAT

MMouse(0,0,700,500);
If IsUpText('ptions') then
BEGIN
GetMousePos(x,y);
Wait(100+random(200));
Mouse(x,y,0,0,true);
Wait(300+random(500));
ChooseOption('xamin');
Wait(500+random(500));
END;
Times := Times +1;
UNTIL(Times = 5+random(10));
Times := 0;
END;
1 :BEGIN
REPEAT
MMouse(0,0,700,500);
MMouse(0,0,700,500);
MMouse(0,0,700,500);
Times := Times +1
UNTIL(Times = 5+random(10));
Times := 0;
END;
END;
Wait(2500+random(1000));
END;

{*******************************************************************************
Procedure : CompassAntiBan
Creater : Dr D. Dervish
Use : AntiBan using compass rotation
*******************************************************************************}
Procedure CompassAntiBan;
VAR
Times: integer;

BEGIN
REPEAT
MakeCompass(IntToStr(0+random(500)));
Wait(500+random(2500));
CASE Random(5) of
0: MouseAntiBan;
1: MakeCompass(IntToStr(0+random(500)));
2: MouseAntiBan;
3: MakeCompass(IntToStr(0+random(500)));
END;
Times := Times +1;
UNTIL(Times = 5+random(10));
Times := 0;
Wait(2500+random(1000));
END;

{*******************************************************************************
Procedure : AntiBan
Creater : Dr D. Dervish
Use : Handles the AntiBan functions
*******************************************************************************}
Procedure AntiBan;

BEGIN
if (not (LoggedIn)) then
Exit;
BEGIN
MouseSpeed := 15+random(15);
CASE random(20) of
1,2,3 : MouseAntiban;
4 : SleepAndMoveMouse(400+random(200));
5,7,8 : MouseAntiban;
9,11,13 : CompassAntiBan;
10 : BoredHuman ;
12 : CASE random(9) of
0 : HoverSkill('Defence', False);
4 : HoverSkill('Attack', False);
8 : HoverSkill('Strength', False);
END;
14 : RandomRClick;
18 : PickUpMouse;
19 : BEGIN
GameTab(1+random(12));
Wait(1500+random(500));
END;
END;
END;
Wait(2500+random(1000));
END;

Harry

2009-05-30 01:05:02

The standards hurt my eyes :|

Nadeem

2009-05-30 01:07:57

Nice :) But I found a mistake…

You Put:

Mouse(x,y,0,0,true);

if should be:

Mouse(x,y,0,0,false);

because you wanna right click not left :)



~NS

marpis

2009-05-30 01:17:32


case random(5) of
0: MakeCompass(IntToStr(Random(360)));
1: RandomRClick; // not sure if this is the correct name but it alrdy exists
2: HoverSkill('random');
3: BoredHuman;
4: RandomMovement;
end;

voilá. effective antiban. but yours is still very good, im not dissing! :)

Dervish

2009-05-30 02:30:58

From: marpis

case random(5) of
0: MakeCompass(IntToStr(Random(360)));
1: RandomRClick; // not sure if this is the correct name but it alrdy exists
2: HoverSkill('random');
3: BoredHuman;
4: RandomMovement;
end;

voilá. effective antiban. but yours is still very good, im not dissing! :)


Owned.

Ty Nadeem for pointing that out.

jakeyboy29

2009-05-30 02:37:43

commonly used anti-ban, isent such anti, as pro.

Da 0wner

2009-05-30 03:21:26

Oh my god. Script := Replace(Script, BoldedWords, Lowercase(BoldedWords));

Nadeem

2009-05-30 04:20:07

np Dervish :)

lol Kyle :P those capital words are quite annoying tbh, but its his personal choice I guess :P



~NS

Dervish

2009-05-30 12:47:01

Wow caps aren't really appreciated I see =.=.

It helps me script as I see how many begins / ends and where they are and such.

Floor66

2009-05-30 15:39:29

Meh I use Capitals (Begin, End) but fully capsed It hurts :p

Torrent of Flame

2009-05-30 17:10:30

IT HURTS!! MY EYYESS AAAAAH.

Seems a bit pointless having big antiban procs. When I'm playing I dont really move my mouse about much because I Multi task, conventional antiban normally works anywhoo.

Dervish

2009-05-30 19:10:32

I thought about something……..

Most of the antiban's in SRL (like mine) are INSIDE the client screen… Unlike human.

Gu3st...

2009-05-30 19:20:51

From: Dr D. Dervish
I thought about something……..

Most of the antiban's in SRL (like mine) are INSIDE the client screen… Unlike human.

Alot of people have been thinking this, but how could it work with smart?

Floor66

2009-05-30 19:42:07

From: Dr D. Dervish
I thought about something……..

Most of the antiban's in SRL (like mine) are INSIDE the client screen… Unlike human.


I'd swear my mouse sometimes goes off the client =s

jakeyboy29

2009-05-30 19:59:44

From: Floor66
I'd swear my mouse sometimes goes off the client =s


munk's anti ban is the best iv used. and that does what your talking about. i use munks anti-ban for all my scripts.

Dervish

2009-05-30 20:49:22

I'll upgrade my antiban to do that …

jakeyboy29

2009-05-30 20:49:55

i recomend looking throught munk's in his clay softner.

Dervish

2009-06-03 00:03:44

I upgraded it, way better now (I think :)).

Procedure MouseAntiBan;
Var
x,y,Times : Integer;

Begin
Case random(3) of
0: Begin
Repeat
MMouse(0,0,700,500);
If IsUpText('ptions') then
Begin
GetMousePos(x,y);
Wait(100+random(200));
Mouse(x,y,0,0,false);
Wait(300+random(500));
ChooseOption('xamin');
Wait(500+random(500));
End;
Times := Times +1;
Until(Times = 5+random(10));
Times := 0;
End;
1 :Begin
Repeat
MMouse(0,0,700,500);
MMouse(0,0,700,500);
MMouse(0,0,700,500);
Times := Times +1;
Until(Times = 5+random(10));
Times := 0;
End;
2 :Begin
Repeat
MouseBox(-75,-50,900,500,3);
Wait(50+random(150));
MouseBox(-75,-50,900,500,3);
Wait(50+random(150));
MouseBox(-75,-50,900,500,3);
Times := Times +1;
RandomRClick;
Until(Times = 1+random(3));
End;
End;
Wait(2500+random(1000));
End;

Procedure CompassAntiBan;
Var
Times: integer;

Begin
Repeat
MakeCompass(IntToStr(0+random(500)));
Wait(500+random(2500));
Case Random(5) of
0: MouseAntiBan;
1: MakeCompass(IntToStr(0+random(500)));
2: MouseAntiBan;
3: MakeCompass(IntToStr(0+random(500)));
End;
Times := Times +1;
Until(Times = 5+random(10));
Times := 0;
Wait(2500+random(1000));
End;

Procedure AntiBan;
Begin
if (not (LoggedIn)) then
Exit;
Begin
MouseSpeed := 15+random(15);
Case random(35) of
1,2,3,21,22,23 : MouseAntiban;
4,24,25,26 : SleepAndMoveMouse(400+random(200));
5,7,8 : MouseAntiban;
9,11,13 : CompassAntiBan;
10,27,28,29 : BoredHuman ;
12,30,31 : Case random(9) of
0 : HoverSkill('Defence', False);
1,2,3,5,7 : HoverSkill('Random', False);
4 : HoverSkill('Attack', False);
8 : HoverSkill('Strength', False);
End;
14,32 : RandomRClick;
18 : PickUpMouse;
19 : Begin
GameTab(1+random(12));
Wait(1500+random(500));
End;
34 : Begin
Status('Sleeping...');
Disguise('Sleeping...');
LogOut;
Wait(300000+Random(1000000)-Random(1100000));
LoginPlayer;
Wait(5000+random(1500));
FindNormalRandoms;
End;
End;
End;
Wait(2500+random(1000));
End;

Dervish

2009-06-03 00:07:52

Sorry for double post but I made it compile, type mismatch…

mrpickle

2009-06-03 00:18:37

To make mouse go off client, just add to the movement variable negative integers and "over the client size" positive integers.

Dervish

2009-06-03 00:22:57

From: mrpickle
To make mouse go off client, just add to the movement variable negative integers and "over the client size" positive integers.


Done already :p.

Da 0wner

2009-06-03 02:30:36

                   Repeat
MMouse(0,0,700,500);
MMouse(0,0,700,500);
MMouse(0,0,700,500);
Times := Times +1;
Until(Times = 5+random(10));
Hmm? Why not just do
                   Repeat
MMouse(0,0,700,500);
Times := Times +1;
Until(Times = 8+random(10));

mrpickle

2009-06-03 03:20:15

From: Da 0wner
                   Repeat
MMouse(0,0,700,500);
MMouse(0,0,700,500);
MMouse(0,0,700,500);
Times := Times +1;
Until(Times = 5+random(10));
Hmm? Why not just do
                   Repeat
MMouse(0,0,700,500);
Times := Times +1;
Until(Times = 8+random(10));


perhaps MMouse is a lovely command?
Repeat
MMouse(0,0,700,500);
Times := Times +1;
Until(Times = 15{15 for the same number of clicks Dr.D has originally intended, 8 will get less =D}+random(10));

Da 0wner

2009-06-03 04:33:43

Oh crap, I know I had the until times wrong :p. But also, what you put is what he should use.

Dervish

2009-06-03 17:42:50

What you suggested doesn't change much/anything does it ?

Nice of you to suggest anyways :p.