SRL Archive - Archive

stampede10343 - SRL Member Application Form


stampede10343

2007-10-24 21:47:18

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

What is the meaning to life?


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


Programming Knowledge
some python

Other Communitys
Sythe

How Long have You Played Runescape
4 years

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

I have been scripting for about a year, and have been using SCAR for about 1.5 years, i have used a couple other Autominers, and got banned so i got interested in Scar after i learned my lesson, i started just using some autominers. but i wanted to know why they work so i read tutorials on here and Sythe. And i learned and i think im doing pretty good and i think im ready to see if im good enough to be a member, and to share my experiece.

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

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

var x, y : Integer;
Chickens : Integer;

const
TimePerPlayer = 15;// How long to fight and switch players (in mins)

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 1;

Players[0].Name := ''; //username
Players[0].Pass := ''; //password
Players[0].Nick := ''; //3-4 letters from your username
Players[0].Skill := 'strength'; //'attack','strength','defence'
Players[0].Integers[1] := 1; // 1 2 // 1 = Attack
Players[0].Integers[2] := 500;// // 2, 3 = Strength //Chickens to Kill
Players[0].Active := True; // 3 4 // 4 = Defense
end;

function FindChicken : Boolean;
var
Colors : array[1..4]of Integer;
i : Integer;
begin
Result := False;
colors[1] := 5227996;
colors[2] := 923765;
colors[3] := 5161431;
colors[4] := 5269622;
for i := 1 to 4 do
begin
if(FindObj(x, y, 'ick', colors[i], 5))then
begin
Result := True;
end else
Result := false;
end;
end;


{ NOT MINE I copied from Forefeathers }
function countfeathers:integer;
var
feathers:integer;
count:string;
begin
result:=0;
feathers:=DTMFromString('78DA639464606010614001DBD7AC61E002D28' +
'C40FC1F081845810C5E0634C08844026921202148400D485E8C08' +
'73A409A8E107124A04D480FC2443408D3CA6DF31D448000949FC6' +
'A00153F07BB');
gametab(4);
wait(200+random(50));
if finddtm(feathers,x,y,mix1,miy1,mix2,miy2) then
begin
count:=GetTextAtEx(x-16, y-17, 0, statchars, False, False, 0, 1, 65535, 10, false, tr_AlphaNumericChars);
count:=trim(TrimOthers(count));
if not(count='') then
begin
result:=strtoint(count);
end;
end;
freedtm(feathers);
end;
{ NOT MINE I copied from Forefeathers }


function FindFastRandoms: Boolean; //By WT-Fakawi.
var
i: Integer;
begin
for i := 1 to 8 do
begin
case I of
1: if FindDead then
Result := True;
2: if FindMod then
Result := True;
3: if FindMime then
Result := True;
4: if FindMaze then
Result := True;
5: if FindQuiz then
Result := True;
6: if FindDemon then
Result := True;
7: begin
if NoGameTab then
begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Logout;
Exit;
end;
end;
7: begin
if InBlack then
begin
Result := True;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
8: RC;
end;
wait(1);
end;
end;

procedure Feathers;
var
f : Integer;
begin
repeat
begin
if(FindObj(x, y, 'ath', 12171971, 5))then
begin
FTWait(2);
MMouse(x, y, 5, 5);
wait(30 + random(10));
Mouse(x, y, 0, 0, false);
wait(100 + random(30));
ChooseOption('eather');
end;
F := f + 1;
end;
until(not(FindObj(x, y, 'ath', 12171971, 5))) or (f = 5);
end;

procedure Attack;
begin
if(FindChicken)then
begin
if(FindFight)then Exit;
MMouse(x, y, 5, 5);
Mouse(x, y, 0, 0, true);
end;
repeat
wait(300);
until(not(FindFight));
if(Random(5) = 2)then
begin
HoverSkill(Players[CurrentPlayer].Skill, false);
wait(1000 + random(500));
end;
Chickens := Chickens + 1;
end;

procedure SetupPlayer;
Begin
if(not(LoggedIn))then
Begin
LoginPlayer;
end;
SetFightMode(Players[CurrentPlayer].Integers[1]);
end;

procedure Proggy;
begin
writeln('|<---------------------------->|');
writeln('|< Stamp''s Chicken Killer 1.0 >|');
writeln('|<---------------------------->|');
writeln('|< Killed : ' + inttostr(Chickens) + 'Chickens >|');
writeln('|<Worked For: ' + ' >|');
writeln('|<---------------------------->|');
end;

begin
SetupSRL;
repeat
if(not(LoggedIn))then
Begin
NextPlayer(False);
end;
until(Chickens >= Players[CurrentPlayer].Integers[2]);
end.

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

Harry

2007-10-24 21:49:58

Nice for a first try, but it is sadly not enough for members..

Things I would add: A better function to tell if you are in a fight or not, DTM's of bones+chickens, and a boolean to bury bones.

With these things stated above you should get in.

Good luck. :)

gerauchert

2007-10-24 22:29:15

I agree with hy…

things to add for next version could include:

- more failsafes (like what it does if there are no chickens in the area…)
- bone burying
- death walk (tele to lumby if lost)

just remember the more functions that you make and the more complex you make your script, the better your chances are at getting accepted.

You show a lot of potential, good luck with your improvements ;)

HellBoyz

2007-10-24 22:47:05

Multiplayer not included… sorry

MMouse(x, y, 5, 5);
Mouse(x, y, 0, 0, true);


why move the mouse again when you have findobj get it for you?

HyperSecret

2007-10-25 01:43:23

sry no from me just not member material as stated above…

also are you from Sioux Falls, South Dakota? or any of the surrounding area?

Negaal

2007-10-25 03:15:12

Just too short… nice try, but multiplayer and failsafes are missing, also fakawi findfastrandoms are useless in your script, since you haven't used them…

Rikje

2007-10-25 03:25:20

Sorry, its a no. but keep it up;)

MasterKill

2007-10-25 03:43:34

sorry another no.

great start but not enough.

keep up the good work and come back when you made a awesome script :D

gl

stampede10343

2007-10-25 16:09:03

thanks for suggestions, and im from Ohio

Lalaji

2007-10-28 17:11:27

writeln('|<Worked For: ' + ' >|');

Should be
writeln('|<Worked For: ' + TimeRunning +' >|');


EDIT :: Something i noticed, you have FindFastRandoms but you havent used it anywhere in the script…That just means yo uhave no anti random.

the scar noob

2007-10-28 19:00:14

I have to agree with hy, but on the other side I love the comments of gerauchert:)

Learn more things and re-apply in 30 days,

-Tsn.

stampede10343

2007-10-29 07:03:23

From: lalaji
Should be
writeln('|<Worked For: ' + ' >|');
Should be
Quote:
writeln('|<Worked For: ' + TimeRunning +' >|');


yea i coulnt figure out that time running thing thanks.

YoHoJo

2007-10-29 14:44:04

Its one of the better apps iv seen in a while, you show most of the things needed to become SRL member, but it can still become better.
It could be longer, have more extra features, and maybe use bitmaps/dtms more.
Failsafes would also be nice.
Just read the feedback given and expand on this script, you are very close =).
Good luck for next time!