SRL Archive - Archive

hey321 - SRL Member Application Form


Hey321

2007-01-16 16:36:58

hey321 - SRL Member Application Form
hey321

What is the meaning to life?


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


Programming Knowledge
None, just SCAR

Other Communitys
Ummm, to many to list :o

How Long have You Played Runescape
2 years or so i think

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

Well, i've been with scar for a few months (4-7?) and have been coding for a month or two. This is my best work so far, having problems with the repeat in the last procedure and the duel screen but other then that i hope its adequate (sp?).

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

{.Script Info:
# ScriptName = Hey321's Auto-Dueler
# Author = Hey321
# Description = Auto accepts and waits until duel is over
# Version = 0.3
# Date = Dec, 17th
# Comments = Copyright i WILL take action if i find this script being: 1.Sold 2.Impersonated (saying its your when its not)
/Script Info}
{If i forgot you in credits PM me on villu-reborn.com and i will add you.
Credits:
Boreas/Yakman for the chat coords
Junior for the DuelScreen help
Da Der Der for random talking!}
Program DuelTrainer;
{.include SRL/SRL.scar}

var
FalseTimes: Integer;

function Duel: Boolean;
begin
if ( FindColorTolerance ( x, y, 12926 , MCX1, MCY1, MCX2, MCY2, 1 )) Then
begin
Result := True
WriteLn('Woot! We''re True and Safe!')
MMouse(x, y, 3, 3);
Mouse(x,y,3,3, True);
FalseTimes:=FalseTimes-1
end //<------ No Semicolon ( one of these ; ) in here
else //<---- nothing wrong here but the line above is added to this line at compile time
begin
WriteLn('OMFG It''s False');
FalseTimes:=FalseTimes+1
Result := False;
If (FalseTimes>100) Then TerminateScript;
End;
End;


Procedure FunDuel;
Var
RandomDuel : Integer;
DuelMsg : String;
Begin
Repeat
RandomDuel:= random(6)+1;
Case(RandomDuel)Of
0 : DuelMsg:= ('funning all');
1 : DuelMsg:= ('fun dueling');
2 : DuelMsg:= ('funning everyone');
3 : DuelMsg:= ('dueling for fun');
4 : DuelMsg:= ('funning');
5 : DuelMsg:= ('funning anyone');
End;
TypeSend(DuelMsg);
Until(duel)
End;

Procedure Accept1;
Begin
Sleep(1000)
If (findcolorTolerance(x, y, 32768 , MSX1, MSY1, MSX2, MSY2, 25)) Then
Begin
Sleep(1000)
MMouse(x, y, 3, 3);
Mouse(x, y, 3, 3, True);
If (findcolorTolerance(x, y, 32768 , MSX1, MSY1, MSX2, MSY2, 25)) Then
Begin
Sleep(1000)
MMouse(x, y, 3, 3);
Mouse(x, y, 3, 3, True);
If(not (Gametab(4))) Then
Begin
Repeat
Wait(1000)
If InChat('Well Done!') or
InChat('Oh dear') Then Break;
Until(InChat('Well done!') Or InChat('Oh dear'))
End;
End;
End;
End;



Begin
SetupSRL;
ActivateClient;
Repeat
FunDuel;
Accept1;
Until(False);
End.

——————————————————

YoHoJo

2007-01-17 00:52:30

Hmm its too simple for me, but i see room for improvement
try making a miner or chopper or something a bit more special

Ill wait a bit though and re look at the script before i vote

Buckleyindahouse

2007-01-17 05:47:28

I agree with Yoho, it does look a little too simple.

Hey321

2007-01-17 07:27:18

From: yohojo8
Hmm its too simple for me, but i see room for improvement
try making a miner or chopper or something a bit more special

Ill wait a bit though and re look at the script before i vote


Ok :(.Well, i hadn't seen many duelers out there and i started out to make one :o. But yea, i'll try to make like a miner or a chopper next time. I'll wait till this thread is gone first though.

Ruroken

2007-01-17 07:27:24

in accordance with YoHo, i say No

Killerdou

2007-01-17 09:17:03

ow and try to use SRL,

begin
SRLRule#1:=MultiPlayer;
SRLRule#2:='until(false) without break is WRONG';
end
i hope you will use that in your next script:)

Boreas

2007-01-17 10:48:33

He does have a terminate script in there, but more ways to break out would be nice.

Hey321

2007-01-17 12:11:47

Ok, ill take that into consideration and start working on it again :).

YoHoJo

2007-01-17 16:17:53

i can tell you have some good scar/srl knowledge
just take some time to make a litle better script and il accept you for sure. =)
Cant wait to see your new script =)

good luck

WT-Fakawi

2007-01-23 08:30:48

Membership Granted. Stay active and learn.