SRL Archive - First Scripts

first autoefighter


Ipewnjoo

2007-07-01 17:35:40

pretty basic script but its the best i can do atm lol :D

71runemaker

2007-07-01 18:14:45

ok first of all move mouse and click mouse are really detectable so i edited ur script to make it neater and more un-detectable

// my first script not too great
// antirandom no antiban
// Just fill in monster colors and hit run
// Made neater and more undetectable by 71runemaker
// You dont have to put that tho...

program Autofight;

{.include SRL/SRL.Scar}

const
MonsterColor1 = 7305336;
MonsterColor2 = 6775658;

procedure One;
begin
if(FindColorTolerance(x, y, MonsterColor1, MSX1, MSY1, MSX2, MSY2, 10)) then
begin
Mouse(x, y, 1, 1, false)
Chooseoptionex('Attack');
end;
end;

procedure Two;
begin
if(FindColorTolerance(x, y, MonsterColor2, MSX1, MSY1, MSX2, MSY2, 10)) then
begin
Mouse(x, y, 1, 1, false)
Chooseoptionex('Attack');
end;
end;

procedure AntiRandoms;
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
end;
end;


begin
repeat
SetupSRL;
One;
Two;
AntiRandoms;
until(false);
end.

Ipewnjoo

2007-07-01 19:20:49

k thanks

Camaro'

2007-07-01 20:56:18

Nice script, but if you want people to use you have to have more colors and beter anti randoms. and anti ban

Ipewnjoo

2007-07-01 22:53:41

yeah it was a just a basic one to help me get used to scar lol

yanix

2007-07-14 04:44:52

it takes a little time but ull get there

yanix

2007-07-14 04:51:07

heres a good tut press ctrl+f then search anti and it should say how to get anti randoms into ur script here it is http://www.villavu.com/forum/showthread.php?t=8273