View Full Version : How do i add antirandoms and antiban to a script?
Johura
03-28-2007, 08:44 AM
How do i add antirandoms and antiban to a script?
i am foolish
03-28-2007, 09:49 AM
yes. i'm having the same problem. ive downloaded a woodcutter and banker but ill leave and come back to see my character is dead..it does not react to any of the random events. ive set up the configuration thing and put in all the settings as needed. i have in the script:
{.include srl/srl.scar}
{.include srl/srl/skill/woodcutting.scar}
and
procedure FindWcRandoms;
begin
FindNormalRandoms;
FindAxeHeadColor;
if FindHead then begin
attachHead;
end;
FindBirdsNest;
FindEnt(TreeColor);
findDead;
findMod;
FindMime;
findMaze;
FindQuiz;
BoredHuman;
Findlamp ('woodcutting');
FindFight;
if (FindName = true) then;
begin
TalkToRand;
end;
WriteLn('random check');
if not loggedin then loginplayer;
end;
someone please help us...i don't want to die because the defeats the whole purpose of the autoer. :stirthepot:
nielsie95
03-28-2007, 01:08 PM
I refer you to the tutorial section, JAD's ''[TUT] things the begginer tuts don't teach you.'' (http://www.villavu.com/forum/showthread.php?t=6366?t=7368)
Chapter 2
Smartzkid
03-28-2007, 01:14 PM
@i am foolish: Could you please use [scar] tags next time?
FindNormalRandoms;
^^basic antirandoms
mage of begu
03-31-2007, 06:17 PM
Yeah JAD's tutorial is UBERNESS search from there...;)
Wanted
05-25-2007, 05:34 PM
For anti - ban you need to use the Case function that works most simply explained as this
const
UnLikelyHoodForAntiBan = 5; // Increase to reduce the chance of anti ban occuring
procedure Something;
var
i: Integer;
begin
i := Random(3*UnLikelyHoodForAntiBan);
case i of
1: Something
2: Something
3: Something
end;
end;
Here's an example of anti-ban
procedure DontBan; //Occurs some times according to UnlikelyHoodForAntiBan
var
NoBan: Integer;
begin
MouseSpeed := 16 + Random(4);
if (not (LoggedIn)) then Exit;
NoBan := Random((UnLikelyHoodForAntiBan*8))
case NoBan of
0: RandomRClick;
1: if not (BankScreen) then HoverSkill('random', false);
2: if not (BankScreen) then AlmostLogOut;
3: SleepAndMoveMouse(500 + Random(500));
4: PickUpMouse;
5: SleepAndMoveMouse(500 + Random(500));
6: SleepAndMoveMouse(2500 + Random(2500));
7: SleepAndMoveMouse(1500 + Random(1500));
8: SleepAndMoveMouse(500 + Random(500));
end;
MouseSpeed := 5 + Random(2);
end;
For Anti-Randoms you can add FindNormalRandoms; every once in a while or after the stuff that normal triggers a random also you should add SRLRandomsReport; to your progress report.
evilwalrus
05-27-2007, 01:43 AM
its called a tutorial....i recomend the one neilsie95 reccomended =b
Noob Killa
05-27-2007, 07:02 PM
Man i really Am having a rough go because since i am not a mem here i casnnot even start making scripts. it wont let me download srl. plz help me.
evilwalrus
05-27-2007, 08:56 PM
tutorial...
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.