SRL Archive - Archive

himlol - SRL Member Application Form


himlol

2007-05-14 11:31:41

<!– BEGIN TEMPLATE: formanswers –>
himlol - SRL Member Application Form
himlol

What is the meaning to life?


Where you Referred to SRL? If yes, by whom?
no


Programming Knowledge


Other Communitys
www.SLforums.com

How Long have You Played Runescape
3 years

Are you affilated in anyway with Jagex LTD?
No Comment
—————————————————–
Please write down a paragraph about Yourself.

hey am HIMLOL,I just worked Hard to learn some SCar scripting, am not that advanced yet, but still reading and learning more about SCAR….
I just created my first auto fletcher after i did autotalkers,and some nooby powerchopers, i hope ill be an SRL memeber..

——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted


//Himlol Fletcher//
//1-put the knife in first inv slot.
//2-put the logs u wanan fletch in first bank slot
//3-Happy fletching


program HImlolfletcher;
{.include SRL/SRL.scar}
//-----------------------------------------//
const
BankBooth = 7703191;//Bank Booth Colour
RunAwayDir = 'S';//wher u wanna run if random attacks
LogsToDo = 719; //much logs u wanna fletch?

var
LogsDone:Integer;

Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
end;
//Run away Procedure//
Procedure RunAway;
begin
RunAwayDirection(RunAwayDir);
Wait(12000+random(2000));
RunBack;
end;

//Randoms procedure//
Procedure Randoms;
begin
FindTalk;
wait(10)
FindNormalRandoms;
if(FindFight)then
RunAway;
end;

//Banking Procedures-MY friend helpes-

Procedure Bank;
var bx,by:Integer;
begin
Randoms;
repeat
FindObj(bx,by,'Bank',BankBooth,10);
Wait(100 + Random(200));
until (IsUpText('Use Bank'));
if(IsUpText('Use Bank'))then
begin
GetMousePos(bx, by);
Mouse(bx,by,10,10,false);
wait(100);
if(ClickOption('quickly', 1))then
begin
repeat
Wait(500);
until(BankScreen);
end
else
begin
Bank;
end;
FixBank;
Deposit(2,28,2);
Withdraw(1, 1, 0);
repeat
CloseBank;
Wait(500);
until(BankScreen = False);
end;
end;
// Fletch Procedure//
Procedure Fletch;
var Number:Integer;
begin
begin
Randoms;
UseItem(1);
Wait(100 + Random(800));
UseItem(2);
Randoms;
Wait(random(500));
end;
begin
MMouse(244,407,10,10);
if (IsUpText('Make')) then
begin
Mouse(244,407,10,10,false);
ClickOption('Make X', 3);
Wait(700+Random(500));
Number:=27+Random(11);
TypeSend(IntToStr(number));
Wait(100 + Random(250));
TypeSend(Chr(13));
end
else Fletch;
end;
repeat
wait(500);
Randoms;
if (FindNpcChatText('continue')) then
begin
begin
Randoms;
UseItem(1);
Wait(100 + Random(800));
UseItem(28);
Wait(random(500));
end;
begin
Mouse(244,407,10,10,false);
wait(300);
ClickOption('Make X', 3);
Wait(700+Random(500));
Number:=27+Random(11);
TypeSend(IntToStr(number));
Wait(100 + Random(250));
TypeSend(Chr(13));
end;
end;
Randoms;
until(GetColor(717,447)=65536);
if (GetColor(717,447)=65536) then
LogsDone:= LogsDone+27;
end;

procedure Report;
begin
ClearDebug;
SRLRandomsReport;
WriteLn('////////////////////////////////////////////')
WriteLn(' HimlolfletcherBetav0.1b ')
WriteLn(' ')
WriteLn(' Running Time: ' + (TimeRunning) + '')
WriteLn(' Logs Cut: ' + IntToStr (LogsDone) + '')
WriteLn(' Approx. XP Gained: ' + IntToStr (LogsDone*41) + '')
WriteLn('//////////////////////////////////////////// ')
end;

//Setup//
begin
SetupSRL;
Newline:=Newline;
ActivateClient;
DeclarePlayers;
begin
If (Not(LoggedIn)) then
begin
Status('Logging In');
Loginplayer;
HighestAngle;
end;
end;
repeat//Main loop//
Bank;
Fletch;
Report;
until(LogsDone >= LogsToDo);
if (LogsDone >= LogsToDo)then
begin
Logout;
TerminateScript;
end;
end.

——————————————————
<!– END TEMPLATE: formanswers –>

Edited by Sumilion :
Scar tags pl0x ;)

Killerdou

2007-05-14 11:36:51

standards and scar tags please, it sucks to read it like this, but it seems to include most elements, but it is not brilliant or anythign(waits for copy buster)

Rambozin

2007-05-14 11:45:32

Yea, before your script post [.SCAR] (without the . ) and after your script post
Also I don't really know or you made this .. YoHoJo? :D

Sumilion

2007-05-14 11:51:57

From: iloveit8
standards and scar tags please, it sucks to read it like this, but it seems to include most elements, but it is not brilliant or anythign(waits for copy buster)


Look at that, you add tags and its sorta standarized (i didnt touch standards)

Rambozin

2007-05-14 12:04:59

Why don't you just use OpenBank; or something like that for opening a bank?

Also, you use ALOT of mouse coordinates. Don't do this, because when you run this script for a long time, you will get banned …

  if (FindNpcChatText('continue')) then
There is a better SRL function for that..
function ClickToContinue: Boolean; 
By: Masquerader
Description:
Handles 'Click to Continue'. Results True if found & handled.


until(GetColor(717,447)=65536);
if (GetColor(717,447)=65536) then
LogsDone:= LogsDone+27;
1) Use a DTM for that
2) Let the user pick the collor
But do not use only 1 color, because 99% of tie it will not find it …


Well, the script is very basically. For now i will vote No, but I am sure that if you keep on with learning how to script, you will become a member one day ;)

The Un-Named

2007-05-14 12:20:01

procedure Report;
begin
ClearDebug;
SRLRandomsReport;
WriteLn('////////////////////////////////////////////')
WriteLn(' neGs Fletcher BETA ')
WriteLn(' ')
WriteLn(' Running Time: ' + (TimeRunning) + '')
WriteLn(' Logs Cut: ' + IntToStr (LogsDone) + '')
WriteLn(' Approx. XP Gained: ' + IntToStr (LogsDone*41) + '')
WriteLn('//////////////////////////////////////////// ')
end;

Didn't anyone see " WriteLn(' neGs Fletcher BETA ')"?

YoHoJo

2007-05-14 14:11:16


SILLY GOOSE

http://www.villavu.com/forum/showthread.php?t=7307

Thanks UnNAmed

himlol

2007-05-14 23:19:04

uhrm,, that coz helped…,he told that i shoulv mention his name..

himlol

2007-05-14 23:24:05

k ask me questions bout it if u want ill answer simple,and ill post an autowoodcutter powerchoper 1,its cool..

neG

2007-05-15 01:46:10

From: Rambozin
Why don't you just use OpenBank; or something like that for opening a bank?

Also, you use ALOT of mouse coordinates. Don't do this, because when you run this script for a long time, you will get banned …

  if (FindNpcChatText('continue')) then
There is a better SRL function for that..
function ClickToContinue: Boolean; 
By: Masquerader
Description:
Handles 'Click to Continue'. Results True if found & handled.


until(GetColor(717,447)=65536);
if (GetColor(717,447)=65536) then
LogsDone:= LogsDone+27;
1) Use a DTM for that
2) Let the user pick the collor
But do not use only 1 color, because 99% of tie it will not find it …


Well, the script is very basically. For now i will vote No, but I am sure that if you keep on with learning how to script, you will become a member one day ;)


Acutally, it works 100% of the time.
That colour is a static colour.

rkroxpunk

2007-05-15 02:54:43

From: himlol
k ask me questions bout it if u want ill answer simple,and ill post an autowoodcutter powerchoper 1,its cool..


err no it's not "cool" you copied a script…..u don't get another chance for another month and I doubt you could answer any questions we asked about this script