PDA

View Full Version : New to SLR scripting



ben123321
11-19-2006, 12:13 PM
im new to SLR scripting, my friend uses it, it looks more effective that normal scripting without SRL, so i decided to download it and use it. im hoping everyone will be nice to me and help me with tutorials :)

if you care can you post an example script to help me? would be greatly appreciated, thanks :P

Boreas
11-19-2006, 03:21 PM
Here's a start. http://www.villu-reborn.com/srl_manual/index.php?title=SRL

Read thru that. In the tutorial section, look for driger's tutorial.exe (you might need someone to upload it) and JaniLabo's Massive SCAR Learning package. Read those, then the other tutorials. Then look in the free scripts section for examples (this forum). BTW this should be in Who Is You?.

Wrycu
11-19-2006, 04:33 PM
Here is a script someone just wrote... it's pretty simple. Maybe you two can work together, he is new to it too.

It high or low alchs, i took out the credits. Its Da Der Der's, if you want to know. Avliable now! ;)


program High_Low_Alcher;
{.include SRL/SRL.scar}


var
NumAlchs: Integer;


const
Alchs=2; {Number of alchs that you will be completing}
HighAlcha=True; {Set True for High Alch, False for Low Alch}


Procedure DeclarePlayers;
Begin

HowManyPlayers:=1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active :=True;
End;


Procedure MageBook;
Begin
Mouse(735,184,3,4,True);
Wait(300)
End;


Procedure ProgressReport;
Begin
Writeln(' /////////////////////\\\\\\\\\\\\\\\\\\\\\ ')
Writeln(' Thanks for using' )
Writeln(' Da Der Ders Alcher' )
Writeln(' Worked For:'+ScriptTime2(2) )
Writeln(' Alched:'+IntToStr(NumAlchs)+'Times' )
Writeln(' \\\\\\\\\\\\\\\\\\\\\///////////////////// ')
End;


Procedure HighAlc;
Begin
Mouse(708,326,3,2,True);
Wait(500)
Mouse(711,334,3,4,True);
Wait(3000)
End;


Procedure LowAlc;
Begin
Mouse(707,252,3,2,True);
Wait(500)
Mouse(708,262,2,3,True);
Wait(3000)
End;


Procedure NoBan;
Begin
AntiBan;
BoredHuman;
RandomMovement;
FindMod;
RotateEvery(10);
FindNormalRandoms;
End;


Begin
MageBook;
DeclarePlayers;
If HighAlcha=True Then
Repeat
SetupSRL;
HighAlc;
NumAlchs:=NumAlchs+1;
Until(NumAlchs=Alchs)
SRLRandomsReport;
ProgressReport;
If HighAlcha=False Then
Repeat
SetupSRL;
LowAlc;
NumAlchs:=NumAlchs+1;
Until(NumAlchs=Alchs)
SRLRandomsReport;
ProgressReport;
End.

ben123321
11-20-2006, 10:30 AM
thanks guys, i cant seem to find the tutorial in the link you game me BOREAS if you can explain it better it would be a great help thanks : )

and thanks for everyones help

Boreas
11-20-2006, 01:27 PM
The link is the SRL wiki, it should work, the other day the villureborn and daktastorm stuff was going weird, but it should work now. Look for the tutorials I was talking about in tutorial section.

darksid
11-20-2006, 01:43 PM
Go to your scar screen then help

Wrycu
11-20-2006, 08:02 PM
Im getting a bunch of errors... "Wrycu: you do no have permission to view this" then i refresh and it works...