kitchenrange
2008-12-03 01:48:36
<!– BEGIN TEMPLATE: formanswers –>
kitchenrange - SRL Member Application Form
kitchenrange
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
SCAR only
Other Communitys
How Long have You Played Runescape
many years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I have played Runescape for a very long time, going back to playing it in the library any time i could….
I quit for 3 years and came back and now have not much interest in actually playing the game. I have fun at this community and hope to become a contributing member. Im very smart and a very fast learner as well as being very active.
Ive had wonderful help from basically anyone who has been around when I needed it and found the irc channel to be very helpful especially. Im easy to talk to and willingly help with any problem I can.
Thank you for taking the time to look this over.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
——————————————————
<!– END TEMPLATE: formanswers –>
kitchenrange - SRL Member Application Form
kitchenrange
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
SCAR only
Other Communitys
How Long have You Played Runescape
many years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I have played Runescape for a very long time, going back to playing it in the library any time i could….
I quit for 3 years and came back and now have not much interest in actually playing the game. I have fun at this community and hope to become a contributing member. Im very smart and a very fast learner as well as being very active.
Ive had wonderful help from basically anyone who has been around when I needed it and found the irc channel to be very helpful especially. Im easy to talk to and willingly help with any problem I can.
Thank you for taking the time to look this over.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
program KitchensGuildMiner;
{.include srl/srl.scar}
var
MiniLadder : integer;
Loads : integer;
Const
MaxLoads = 1; // Set to Loads per player.
Procedure DeclarePlayers;
begin
HowManyPlayers := 2;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'username';// Your UserName
Players[0].Pass := 'passord';// Your PassWord
Players[0].Nick := 'owmi';// Your Nick (3-4 letters from your username)
Players[0].Active := True;// Use this player ??}
Players[1].Name := 'username';// Your UserName
Players[1].Pass := 'password';// Your PassWord
Players[1].Nick := 'agic';// Your Nick (3-4 letters from your username)
Players[1].Active := True;// Use this player ??}
end;
Procedure LadderDTM;
begin
MiniLadder := DTMFromString('78DA63EC61626098C980029C9421342394CFD' +
'805543395809A4EA09AD904D4F41161573F61BB000AB707C1');
end;
function FindLadderDown(x, y: Integer): Boolean;
var
CTS, I, x1, y1, time: Integer; //CTS will store the ColorToleranceSpeed before we change it, for later.
TPA: TPointArray; //The TPointArray in which all Coordinates which are found later will be stored
ATPA: Array of TPointArray;
begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2); //Sets the color tolerance speed to 2 so we can do HSL tolerance stuff
SetColorSpeed2Modifiers(0.089, 0.22);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 4025991, MSX1, MSY1, MSX2, MSY2, 10); //For tolerance, put in your own tolerance.
ColorToleranceSpeed(CTS); //Make sure you do this after you're done color finding, so text finding will work again.
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y); //Returns the middle coords of the current TPA in the ATPA
MMouse(x, y, 2, 2); //Moves mouse over the object
If(IsUpTextMultiCustom(['limb', 'open'])) then
begin
Result := True;
FindNormalRandoms;
Break; //Exits the For To Do statement so it doesn't keep moving around looking for the object
end;
end;
end;
Procedure WalkToLadder;
var
x,y : integer;
begin
if FindDTM(MiniLadder, x, y, mmX1, mmY1, mmX2, mmY2) then
begin
Mouse(x,y,2,2,true);
WriteLn('DTMed that bitch');
wait(4000);
FFlag(2);
end else
RadialWalk(FindFallyRoadColor, 170, 160, 60, 2, 2);
FindNormalRandoms;
end;
function FindGuildGroundColor: Integer;
var
i, Red, Green, Blue, GC, TestColor, GuildGroundColor: Integer;
P: TPointArray;
begin
GC := 4615804
FindColorsSpiralTolerance(mmcx, mmcy, p, gc, mmx1, mmy1, mmx2, mmy2, 50);
for i:= 0 to High(p)-1 do
begin
if rs_OnMinimap(P[i].x,P[i].y) then
begin
TestColor := GetColor(P[i].x,P[i].y);
ColorToRGB(TestColor, Red, Green, Blue);
if InRange(Red - Blue, 40, 50) then
if InRange(Red - Green, 5, 24) then
if InRange(Green - Blue, 20, 38) then
if GetColor(P[i].x + 2, P[i].y + 2) = TestColor then
if GetColor(P[i].x + 1, P[i].y + 1) = TestColor then
if GetColor(P[i].x, P[i].y + 2) = TestColor then
if GetColor(P[i].x + 2, P[i].y) = TestColor then
if GetColor(P[i].x, P[i].y + 1) = TestColor then
if GetColor(P[i].x + 1, P[i].y) = TestColor then
if GetColor(P[i].x + 2, P[i].y + 1) = TestColor then
if GetColor(P[i].x + 1, P[i].y + 2) = TestColor then
if IsupText('limb') then
begin
Result := TestColor;
FindNormalRandoms;
Writeln(' Guild Ground Color = '+IntToStr(Result));
TestColor := GuildGroundColor;
exit;
end;
end;
end;
WriteLn('Guild Ground Color could NOT be Found!');
Result := 0;
end;
procedure AntiBan;// Simplest Antiban by Method Prob will update
begin
case random(100) of //do a random number so it won't always perform the antiban
0: RandomRClick;
1: BoredHuman;
2: HoverSkill('Mining', False);
3: GameTab(random(6));
end;
end;
function TPAFinderCoal(x, y: Integer): Boolean;
var
CTS, I, x2, y2, time: Integer; //CTS will store the ColorToleranceSpeed before we change it, for later.
TPA: TPointArray; //The TPointArray in which all Coordinates which are found later will be stored
ATPA: Array of TPointArray;
begin
wait(1000+random(200));
Fflag(0);
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2); //Sets the color tolerance speed to 2 so we can do HSL tolerance stuff
SetColorSpeed2Modifiers(0.01, 30.5);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 2241331, MSX1, MSY1, MSX2, MSY2, 10); //For tolerance, put in your own tolerance.
ColorToleranceSpeed(CTS); //Make sure you do this after you're done color finding, so text finding will work again.
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y); //Returns the middle coords of the current TPA in the ATPA
MMouse(x, y, 2, 2); //Moves mouse over the object
If(IsUpTextMultiCustom(['ine'])) then
begin
Result := True;
getmousepos(x2,y2);
HoldMouse(x2, y2, True);
wait(random(333));
ReleaseMouse(x2, y2, True);
marktime(time);
repeat
wait(random(1200));
FindNormalRandoms;
until(FindBlackChatMessage('You manage') or FindBlackChatMessage('There is no') or (TimeFromMark(time) >= 8000+random(2000)));
Break; //Exits the For To Do statement so it doesn't keep moving around looking for the object
end;
end;
end;
function FindLadderUp(x, y: Integer): Boolean;
var
CTS, I, x1, y1, time: Integer; //CTS will store the ColorToleranceSpeed before we change it, for later.
TPA: TPointArray; //The TPointArray in which all Coordinates which are found later will be stored
ATPA: Array of TPointArray;
begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2); //Sets the color tolerance speed to 2 so we can do HSL tolerance stuff
SetColorSpeed2Modifiers(0.023, 1.83);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 4281953, MSX1, MSY1, MSX2, MSY2, 10); //For tolerance, put in your own tolerance.
ColorToleranceSpeed(CTS); //Make sure you do this after you're done color finding, so text finding will work again.
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y); //Returns the middle coords of the current TPA in the ATPA
MMouse(x, y, 2, 2); //Moves mouse over the object
If(IsUpTextMultiCustom(['limb'])) then
begin
GetMousePos(x1, y1)
Result := True;
FindNormalRandoms;
Break;
end;
end;
end;
function TPAFinderMith(x, y: Integer): Boolean;
var
CTS, I, x1, y1, time: Integer; //CTS will store the ColorToleranceSpeed before we change it, for later.
TPA: TPointArray; //The TPointArray in which all Coordinates which are found later will be stored
ATPA: Array of TPointArray;
begin
wait(1000+random(200));
Fflag(0);
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2); //Sets the color tolerance speed to 2 so we can do HSL tolerance stuff
SetColorSpeed2Modifiers(0.029, 0.048);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 8542295, MSX1, MSY1, MSX2, MSY2, 20); //For tolerance, put in your own tolerance.
ColorToleranceSpeed(CTS); //Make sure you do this after you're done color finding, so text finding will work again.
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y); //Returns the middle coords of the current TPA in the ATPA
MMouse(x, y, 2, 2); //Moves mouse over the object
If(IsUpTextMultiCustom(['ine'])) then
begin
GetMousePos(x1, y1)
Result := True;
HoldMouse(x1, y1, True);
wait(random(333));
ReleaseMouse(x1, y1, True);
marktime(time);
repeat
wait(random(1200));
FindNormalRandoms;
until(FindBlackChatMessage('You manage') or FindBlackChatMessage('There is no') or (TimeFromMark(time) >= 9000+random(2000)));
Break; //Exits the For To Do statement so it doesn't keep moving around looking for the object
end;
end;
end;
function ClimbUp(x, y: Integer): Boolean;
var
CTS, I, x1, y1, time: Integer; //CTS will store the ColorToleranceSpeed before we change it, for later.
TPA: TPointArray; //The TPointArray in which all Coordinates which are found later will be stored
ATPA: Array of TPointArray;
begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2); //Sets the color tolerance speed to 2 so we can do HSL tolerance stuff
SetColorSpeed2Modifiers(0.023, 1.83);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 4281953, MSX1, MSY1, MSX2, MSY2, 10); //For tolerance, put in your own tolerance.
ColorToleranceSpeed(CTS); //Make sure you do this after you're done color finding, so text finding will work again.
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y); //Returns the middle coords of the current TPA in the ATPA
MMouse(x, y, 2, 2); //Moves mouse over the object
If(IsUpTextMultiCustom(['limb'])) then
begin
GetMousePos(x1, y1)
Result := True;
HoldMouse(x1, y1, True);
wait(random(333));
ReleaseMouse(x1, y1, True);
wait(random(300));
repeat
wait(2000);
wait(random(1200));
FindNormalRandoms;
until(FindLadderDown(x, y) = true);
WriteLn('climbed up');
Break;
end;
end;
end;
function ClimbDownOne(x, y: Integer): Boolean;
var
CTS, I, x1, y1, time: Integer; //CTS will store the ColorToleranceSpeed before we change it, for later.
TPA: TPointArray; //The TPointArray in which all Coordinates which are found later will be stored
ATPA: Array of TPointArray;
begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2); //Sets the color tolerance speed to 2 so we can do HSL tolerance stuff
SetColorSpeed2Modifiers(0.089, 0.22);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 4025991, MSX1, MSY1, MSX2, MSY2, 10); //For tolerance, put in your own tolerance.
ColorToleranceSpeed(CTS); //Make sure you do this after you're done color finding, so text finding will work again.
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y); //Returns the middle coords of the current TPA in the ATPA
MMouse(x, y, 2, 2); //Moves mouse over the object
If(IsUpTextMultiCustom(['limb-down'])) then
begin
GetMousePos(x1, y1)
Result := True;
HoldMouse(x1, y1, True);
wait(random(333));
ReleaseMouse(x1, y1, True);
repeat
wait(random(1200));
FindNormalRandoms;
until(FindBlackChatMessage('You climb'));
WriteLn('climbed');
Break; //Exits the For To Do statement so it doesn't keep moving around looking for the object
end;
end;
end;
Procedure ClimbDown;
var
x,y : integer;
begin
ClimbDownOne(x, y);
FindNormalRandoms;
if not(FindBlackChatMessage('You climb')) then
begin
wait(random(1200));
ClimbDownone(x, y);
FindNormalRandoms;
end;
end;
Procedure WalkDeeper;
var
x,y, GuildGroundColor:integer;
begin
if (RadialWalk(GuildGroundColor, 180, 90, 70, 1, 1)) then
FindNormalRandoms;
if (RadialWalk(GuildGroundColor, 180, 90, 70, 1, 1)) then
FindNormalRandoms;
if (RadialWalk(GuildGroundColor, 180, 90, 70, 1, 1)) then
begin
WriteLn('Walked Deep');
end;
end;
Procedure RelocateTwo;
var
x, y, GuildGroundColor : integer;
begin
if (RadialWalk(GuildGroundColor, 0, 90, 40, 1, 1)) then
begin
WriteLn('Relocated');
end;
end;
Procedure Relocate;
var
x, y, GuildGroundColor : integer;
begin
if (RadialWalk(GuildGroundColor, 180, 90, 70, 1, 1)) then
begin
WriteLn('Relocated');
end;
end;
Procedure WalkOutOne;
var
guildgroundcolor, x, y : integer;
begin
FindNormalRandoms;
if RadialWalk(GuildGroundColor, 180, 270, 70, 1, 1) then
FindNormalRandoms;
if RadialWalk(GuildGroundColor, 180, 300, 70, 1, 1) then
FindNormalRandoms;
if RadialWalk(GuildGroundColor, 180, 300, 70, 1, 1) then
FindNormalRandoms;
if FindLadderUp(x, y) = False then
if RadialWalk(GuildGroundColor, 180, 300, 70, 1, 1) then
begin
WriteLn('moved out once');
end;
end;
Procedure GotoBank;
var
x,y : integer;
begin
SymbolAccuracy := 0.45;
FindNormalRandoms;
RadialWalk(FindFallyRoadColor, 80, 0, 70, 2, 2);
FindNormalRandoms;
RadialWalk(FindFallyRoadColor, 20, (-10), 70, 2, 2);
if FindSymbol(x, y, 'bank') then
begin
MMouse(x,(y-3),2,2);
Wait(random(345));
HoldMouse(x,y,true);
wait(random(343));
ReleaseMouse(x,y, true);
WriteLn('Used the symbol to bank');
end;
end;
Procedure DepositIt;
begin
FFlag(0);
if FindBank('feb') then
begin
if BankScreen then
begin
Deposit(2,28, true);
Loads := Loads + 1;
if Loads >= MaxLoads then
begin
Logout;
NextPlayer(True);
end;
end;
end;
end;
Procedure MineRocks;
var
x,y : integer;
begin
repeat
if TpaFinderMith(x,y) then
begin
WriteLn('Mined Mith');
end else
if TpaFinderCoal(x,y) then
begin
WriteLn('Mined Mith');
end else
begin
Relocate;
end;
Until(InvFull);
end;
Procedure MainLoopOne;
var
x, y : integer;
begin
repeat
begin
DeclarePlayers;
LoginPlayer;
LadderDTM;
WalktoLadder;
Antiban;
ClimbDown;
FindGuildGroundColor;
Antiban;
WalkDeeper;
Antiban;
Minerocks;
Relocate;
WalkOutOne;
Antiban;
ClimbUp(x,y);
GotoBank;
Antiban;
DepositIt;
FreeDTM(MiniLadder);
end;
until(false);
end;
begin
Setupsrl;
ActivateClient;
MainloopOne;
end.——————————————————
<!– END TEMPLATE: formanswers –>