SRL Archive - Archive

stampede10343 - SRL Member Application Form


stampede10343

2008-01-18 20:34:03

<!– 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
Looked at a few… Never learned any though

Other Communitys
Sythe but i dont really do anything cause of all the spamming

How Long have You Played Runescape
5 years

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

This will be my second time applying for a membership, and i think I've learned about some new features and tried to implement them into my script.
I've reviewed a couple of the nice beginner tutorials and most of the Intermediate tutorials about all the basics and some TPoints, and things of that nature. I have a decent understanding of Radial Walk, though i haven't used it much. I try to make sure there are fail safes where they need to by looking at similar scripts. I know a little about DDTM's and used one is this script. I thank you guys for all your comments and motivation.

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

{.Script Info:
# ScriptName = Stamp's ChickenKiller v1.2
# Author = Stampede10343
# Description = Kills Chickens and Collects Feathers
# Version = 1.2
# Date = 01/18/08
# Comments = Set your constants, and your players up and press play :)
/Script Info}

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

var x, y, chickx, chicky : Integer;
Chickens, PlayerTimer, c : Integer;
count : String;
SubPoints: array[0..3] of TDTMPointDef;
MainPoint : TDTMPointDef;
PenTDTM: TDTM;
ChickenPen:Integer;
WhichAngle : Extended;

const
TimePerPlayer = 15;// How long to fight and switch players (in mins)
FightTimeOut = 12000;// Max Time it takes to kill a chicken
dbug = false; // Shows extra info via WriteLn, its not really needed
RoadTol = 255;// Dont change unless its having trouble callibrating

procedure DeclarePlayers;
begin
HowManyPlayers := 2;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := 'username'; //username
Players[0].Pass := 'pass'; //password
Players[0].Nick := 'ern'; //3-4 letters from your username
Players[0].Skill := 'strength';
Players[0].Integers[0] := 1; // Fight Mode 1 2
Players[0].Active := True; // 3 4

Players[1].Name := 'username'; //username
Players[1].Pass := 'pass'; //password
Players[1].Nick := 'ern'; //3-4 letters from your username
Players[1].Skill := 'strength';
Players[1].Integers[0] := 1; // Fight Mode 1 2
Players[1].Active := True; // 3 4

end;


{ NOT MINE I borrowed from Forefeathers }
function countfeathers:integer;
var
feathers:integer;
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 borrowed 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
Flag;
if(not(LoggedIn))then Exit;
if(InFight)then Exit;
begin
f := f + 1;
if(FindObj(x, y, 'eather', 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');
wait(750);
end;
end;
until(not(FindObj(x, y, 'eather', 12171971, 5))) or (f >= 3);
end;

procedure WaitInFight;
begin
Flag;
if(not(InFight))then Exit;
wait(250);
repeat
if(dbug)then writeln('Waiting to get out of fight');
FTWait(2);
until(not(InFight));
end;

procedure AssembleDTM;
begin
MainPoint .x:=633;
MainPoint .y:=86;
MainPoint .areasize:=1
MainPoint .areashape:=0;
MainPoint .color:=5987170;
MainPoint .tolerance:=RoadTol;

SubPoints[0].x:=621;
SubPoints[0].y:=79;
SubPoints[0].areasize:=1;
SubPoints[0].areashape:=0;
SubPoints[0].color:=15658734;
SubPoints[0].tolerance:=5;

SubPoints[1].x:=651;
SubPoints[1].y:=89;
SubPoints[1].areasize:=1;
SubPoints[1].areashape:=0;
SubPoints[1].color:=15922923;
SubPoints[1].tolerance:=5;

SubPoints[2].x:=616;
SubPoints[2].y:=93;
SubPoints[2].areasize:=1;
SubPoints[2].areashape:=0;
SubPoints[2].color:=15922923;
SubPoints[2].tolerance:=5;

SubPoints[3].x:=647;
SubPoints[3].y:=93;
SubPoints[3].areasize:=1;
SubPoints[3].areashape:=0;
SubPoints[3].color:=15922923;
SubPoints[3].tolerance:=5;

PenTDTM.MainPoint := MainPoint;
PenTDTM.SubPoints := SubPoints;
ChickenPen:= AddDTM(PenTDTM);
end;

procedure Callibrate;
begin
if(not(LoggedIn))then Exit;
if(FindDTMRotated(ChickenPen, x, y, MMX1, MMY1, MMX2, MMY2, - Pi/2, Pi/2, 0.1,
WhichAngle))then
begin
if rs_OnMinimap(x + 10, y + 50) then
Mouse(x + 10, y + 50, 3, 3, true)
else
Mouse(x, y, 3, 3, true);
c := 0;
end;
end;

function FindChicken : Boolean;
var I : Integer;
begin
for I := 0 to 9 do
begin
if(FindObjCustom(chickx, chicky, ['ttack', 'tack', 'hicken', 'icke'],
[2771037, 8233913, 8102584, 2572886, 3430514, 7443624], i))then
begin
Result := True;
Mouse(chickx, chicky, 3, 3, true);
GameTab(4);
FindFastRandoms;
if(Random(30) = 2)then
begin
if(dbug)then writeln('Random Skill Check');
HoverSkill(Players[CurrentPlayer].Skill, false);
wait(900 + random(500));
end;
Chickens := Chickens + 1;
end;
end;
end;

procedure SetupPlayer;
Begin
if(not(LoggedIn))then
Begin
LoginPlayer;
end;
SetFightMode(Players[CurrentPlayer].Integers[0]);
SetRun(True);
SetAngle(True);
MakeCompass('N');
GameTab(4);
wait(1000);
end;

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

begin
ActivateClient;
SetupSRL;
DeclarePlayers;
AssembleDTM;
SetupPlayer;
MouseSpeed := 16;
repeat
begin
SetupPlayer;
MarkTime(PlayerTimer);
repeat
c := c + 1;
if(c = 3)then Callibrate;
FindChicken;
if(dbug)then writeln('Begin');
Feathers;
if(not(InFight))then FindChicken;
if(dbug)then writeln('Done Waiting for Fight');
Feathers;
FindFastRandoms;
until(TimePerPlayer * 60000 <= TimeFromMark(PlayerTimer));
if(not(LoggedIn))then NextPlayer(False);
if(LoggedIn)then NextPlayer(True);
end;
until(false);
end.

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

Raskolnikov

2008-01-18 21:50:07

Good job! I would recommend using FindColorsTolerance, then moving the mouse to see if the uptext is up, then clicking on the chicken. Good job altogether, but, I am holding my vote for right now.

Hobbit

2008-01-18 22:37:16

I think it's good. It's a nice basic script.

uses anti randoms, multi-player, SRL, etc. I give it a yes.

munk

2008-01-19 01:31:44

looks very nice. Even updated to rev#10.

couple things. First, why did you put at ftwait(2) before the feathers click, shouldnt it be after? doesnt seem to serve a purpose there. You dont need findFastRandoms anymore, findnormalrandoms will do it all. And I think you need some sort of anti-ban or something like that.

oh yeah and you dont have to say "borrowed from forefeathers", just say "by munk" :D

im leanin towards yes.

Psychor

2008-01-19 02:47:36

It's a nice basic script, good use of SRL. But it's abit too basic and short. So i'm going for a no sorry, but keep up the good work and better luck next time.
Try to go for a more complex script next time that involves walking, banking and some Anti ban.

Also, better to replace Flag with FFlag(0) it does the same but has better failsafes.

Sir R. M8gic1an

2008-01-19 03:24:20

if we take out FindFastRandoms and Munk's procedure it's really rather short. standards are off. You have many global vars that could be made into local vars. I like your intro, shows commitment. Not sure, not voting yet.

Daniel

2008-01-19 04:57:23

Total Lines: 281 (Removed Un-Needed Lines (Returns))
Standards: Improper Use.
MultiPlayer: Yes.
Walking: No.
Cases: No.
For to Do Loops: Yes.
Fail Safes: 90%
DDTMS: Yes.
Variables/Arrays: Yes.
Auto Colour: No.
DTM's/Bitmaps: None.

I won't vote yet because i am too early into SRL Members. But that is a reference point for other voters.

Naum

2008-01-19 05:08:57

Sorry its a no Script is too simple.
But you've done good if it weren't for that list ip-drowner populated i would have voted yes.
So i guess you can blame him :D

EvilChicken!

2008-01-19 05:14:08

I want to vote no.
because of many things actually..

What tipped it over to a No was the FindFastRandoms..

But I won't vote. (atleast yet.)

Negaal

2008-01-19 05:39:59

It is short…removed FFR and Munk's countfeathers and got 203 lines of code
If it would be something like 500 lines or 2 good scripts, I would vote yes, but for now it's a NO
Edit: Standards are off aswell…ehh mine werre worser when I applied:D

Santa_Clause

2008-01-19 05:45:15

Sorry. No. Too short. FindObj is used to find things…most complex function is Munk's…and it's not complex at all.

Sir R. M8gic1an

2008-01-19 06:17:47

btw you also have some useless begins and ends in there. no from me, sorry. here's your script with standards, so you may learn something:


procedure Feathers;
var
f : Integer;
begin
repeat
Flag;
{if (not LoggedIn)or(InFight) then Exit; }
if(not(LoggedIn))then Exit;
if(InFight)then Exit;
begin// what is this being for?!
f := f + 1;
if(FindObj(x, y, 'eather', 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');
wait(750);
end;
end; //i guess this is to close the useless begin...
until(not(FindObj(x, y, 'eather', 12171971, 5))) or (f >= 3);
end;

procedure WaitInFight;
begin
Flag;
if(not(InFight))then Exit;
wait(250);
repeat
if(dbug)then writeln('Waiting to get out of fight');
FTWait(2);
until(not(InFight)); //ever thought you might die in a fight?
end;

procedure AssembleDTM;
begin
MainPoint .x:=633;
MainPoint .y:=86;
MainPoint .areasize:=1
MainPoint .areashape:=0;
MainPoint .color:=5987170;
MainPoint .tolerance:=RoadTol;

SubPoints[0].x:=621;
SubPoints[0].y:=79;
SubPoints[0].areasize:=1;
SubPoints[0].areashape:=0;
SubPoints[0].color:=15658734;
SubPoints[0].tolerance:=5;

SubPoints[1].x:=651;
SubPoints[1].y:=89;
SubPoints[1].areasize:=1;
SubPoints[1].areashape:=0;
SubPoints[1].color:=15922923;
SubPoints[1].tolerance:=5;

SubPoints[2].x:=616;
SubPoints[2].y:=93;
SubPoints[2].areasize:=1;
SubPoints[2].areashape:=0;
SubPoints[2].color:=15922923;
SubPoints[2].tolerance:=5;

SubPoints[3].x:=647;
SubPoints[3].y:=93;
SubPoints[3].areasize:=1;
SubPoints[3].areashape:=0;
SubPoints[3].color:=15922923;
SubPoints[3].tolerance:=5;

PenTDTM.MainPoint := MainPoint;
PenTDTM.SubPoints := SubPoints;
ChickenPen:= AddDTM(PenTDTM);
end;

procedure Callibrate;
begin
if(not(LoggedIn))then Exit;
if(FindDTMRotated(ChickenPen, x, y, MMX1, MMY1, MMX2, MMY2, - Pi/2, Pi/2, 0.1,
WhichAngle))then
begin
if rs_OnMinimap(x + 10, y + 50) then
Mouse(x + 10, y + 50, 3, 3, true)
else
Mouse(x, y, 3, 3, true);
c := 0;
end;
end;

function FindChicken : Boolean;
var I : Integer;
begin
for I := 0 to 9 do
begin
if(FindObjCustom(chickx, chicky, ['ttack', 'tack', 'hicken', 'icke'],
[2771037, 8233913, 8102584, 2572886, 3430514, 7443624], i))then
begin
Result := True;
Mouse(chickx, chicky, 3, 3, true);
GameTab(4);
FindFastRandoms;
if(Random(30) = 2)then
begin
if(dbug)then writeln('Random Skill Check');
HoverSkill(Players[CurrentPlayer].Skill, false);
wait(900 + random(500));
end;
Chickens := Chickens + 1;
end;
end;
end;

procedure SetupPlayer;
Begin
if(not(LoggedIn))then
Begin
LoginPlayer;
end;
SetFightMode(Players[CurrentPlayer].Integers[0]);
SetRun(True);
SetAngle(True);
MakeCompass('N');
GameTab(4);
wait(1000);
end;

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

begin
ActivateClient;
SetupSRL;
DeclarePlayers;
AssembleDTM;
SetupPlayer;
MouseSpeed := 16;
repeat
begin //repeat does not need begin, this is useless
SetupPlayer;
MarkTime(PlayerTimer);
repeat
c := c + 1;
if(c = 3)then Callibrate;
FindChicken;
if(dbug)then writeln('Begin');
Feathers;
if(not(InFight))then FindChicken;
if(dbug)then writeln('Done Waiting for Fight');
Feathers;
FindFastRandoms;
until(TimePerPlayer * 60000 <= TimeFromMark(PlayerTimer));
if(not(LoggedIn))then NextPlayer(False);
if(LoggedIn)then NextPlayer(True);
end;//useless
until(false);
end.

~RM

stampede10343

2008-01-19 08:31:22

Thanks for suggestions in another month or two i'll realpply after i updated this script and maybe made a Draynor Willow banker or something??

couple things. First, why did you put at ftwait(2) before the feathers click, shouldnt it be after? doesnt seem to serve a purpose there. You dont need findFastRandoms anymore, findnormalrandoms will do it all. And I think you need some sort of anti-ban or something like that.

I didnt know about the randoms thing, and i must of rearranged things and that just fell there or maybe i just messed up?


Total Lines: 281 (Removed Un-Needed Lines (Returns))
Standards: Improper Use.
MultiPlayer: Yes.
Walking: No.
Cases: No.
For to Do Loops: Yes.
Fail Safes: 90%
DDTMS: Yes.
Variables/Arrays: Yes.
Auto Colour: No.
DTM's/Bitmaps: None.

I won't vote yet because i am too early into SRL Members. But that is a reference point for other voters.

Thanks… jk i though that list does represent how good my script was but im still fuzzy on the standards. I'll be working on some kind of walking and banking script soon :rolleyes:

Jackrawl

2008-01-19 08:41:28

From: IP-Drowner
Total Lines: 281 (Removed Un-Needed Lines (Returns))
Standards: Improper Use.
MultiPlayer: Yes.
Walking: No.
Cases: No.
For to Do Loops: Yes.
Fail Safes: 90%
DDTMS: Yes.
Variables/Arrays: Yes.
Auto Colour: No.
DTM's/Bitmaps: None.

I won't vote yet because i am too early into SRL Members. But that is a reference point for other voters.


He has a dtm and a ddtm. I don't know why you would say no. The only real problem is a few standards.

JuKKa

2008-01-19 13:34:31

Read a tutorial on standards and learn maybe radial walk, good amount of fail safes(i think) the script seems to do its job..

-Yes

Ps: Ill be waiting for a script that involves walking.. ;) when u get in, or in ur next try to appeal for membership….

Edit: i just read other ppls comments.. About ANTIBAN just look at some professional peoples scripts like fakawi or mine.. we good scripters almost never use antiban..

Just look at my guildminer i have 0% antiban because its not needed. I highly doubt jagex is really looking at people if they look at their stats every once in a while. What i do think is that they look for how long a player has been playing. For example if the player has been playing for over 2-3 hours. They could start to suspect thus sending a random (automated process).

Daniel

2008-01-19 20:27:38

From: JackLKrawl
He has a dtm and a ddtm. I don't know why you would say no. The only real problem is a few standards.

Yes, but that DTM was created by Munk. What i meant was DTMs created by himself.

Jackrawl

2008-01-20 10:27:17

Oh jeez, I didn't see that. o_O

Santa_Clause

2008-01-20 11:49:44

From: JuKKa
Read a tutorial on standards and learn maybe radial walk, good amount of fail safes(i think) the script seems to do its job..

-Yes

Ps: Ill be waiting for a script that involves walking.. ;) when u get in, or in ur next try to appeal for membership….

Edit: i just read other ppls comments.. About ANTIBAN just look at some professional peoples scripts like fakawi or mine.. we good scripters almost never use antiban..

Just look at my guildminer i have 0% antiban because its not needed. I highly doubt jagex is really looking at people if they look at their stats every once in a while. What i do think is that they look for how long a player has been playing. For example if the player has been playing for over 2-3 hours. They could start to suspect thus sending a random (automated process).


You're a good scripter? On what basis :p Have you seen VYC? That script has antiban. I don't expect someone to keep their mouse hovered over a tree the whole time. Humans are always fidgetting.

Dumpin

2008-01-20 13:19:16

From: cut em2 it
Good job! I would recommend using FindColorsTolerance, then moving the mouse to see if the uptext is up, then clicking on the chicken. Good job altogether, but, I am holding my vote for right now.


Do you know hwat findobject does? :P

Nice good clean script. yes :)

stampede10343

2008-01-20 14:33:42


Edit: i just read other ppls comments.. About ANTIBAN just look at some professional peoples scripts like fakawi or mine.. we good scripters almost never use antiban..

Just look at my guildminer i have 0% antiban because its not needed. I highly doubt jagex is really looking at people if they look at their stats every once in a while. What i do think is that they look for how long a player has been playing. For example if the player has been playing for over 2-3 hours. They could start to suspect thus sending a random (automated process).


yea thats kinda what i thought that the antiban isnt needed but couldnt hurt i guess thanks for the vote though

Ps: Ill be waiting for a script that involves walking.. when u get in, or in ur next try to appeal for membership….

i'll hopefully make u proud(now that i have encouragement!!:spot: )

WT-Fakawi

2008-01-20 14:39:07

C'mon people? This gotta be good enough no?


YES!

stampede10343

2008-01-20 15:28:25

WT-Fakawi… I appreciate that a lot thanks for the vote, but now i want to make a walking banking script but I'd love to be a member :)

HyperSecret

2008-01-20 16:27:54

personally i have seen worse but it doesnt have some things that i would like to see but doesnt matter…

the thing that gets me is only 36 posts…you have been here longer than a year and only have 36 posts…become more active and help people and ask questions…no for this app

Jackrawl

2008-01-20 16:49:32

From: stampede10343
WT-Fakawi… I appreciate that a lot thanks for the vote, but now i want to make a walking banking script but I'd love to be a member :)


Comments like that make people want to say no.

Smartzkid

2008-01-20 18:08:25

Can't vote yes, but I think you have a lot of talent, and a lot of potential, so I won't vote no, either.

stampede10343

2008-01-20 18:45:37

yea i probably should'nt campaign for votes… i used to pretty much just shadow the forums instead of help people and share. I think your right about my posts though

P1nky

2008-01-20 20:15:40

get ur actvity up too[we dont like people who become srl members than dont stay active]

if not this time than NEXT TIME YOU WILL FORSURE

Smartzkid

2008-01-20 21:40:35

Aye, yes, that's most of my reason behind the no. Not enough posts to determine your attitude or trustworthiness.

Raskolnikov

2008-01-21 00:38:47

From: Dumpin
Do you know hwat findobject does? :P


I do, but, it moves the mouse frantically… If you make a slower and more efficient findobject, that would make the mouse move slower…

Jackrawl

2008-01-21 12:52:17

From: cut em2 it
I do, but, it moves the mouse frantically… If you make a slower and more efficient findobject, that would make the mouse move slower…


Set the mouse speed higher?

Hobbit

2008-01-25 14:03:58

Poll has closed

10 yes
14 no

Sorry, please apply in a months time.
Remember to use the tips people have given you to improve you script :)

Cheers,
Hobbit.