MylesMadness
2008-01-21 08:41:03
Mylesmadness - SRL Member Application Form
Mylesmadness
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
Programming Knowledge
Tiny bit of java and html
Other Communitys
Kyab.asssoft.org
How Long have You Played Runescape
3 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Hello all,
This is my 4th and hopefully final time applying. The first time was terrible. The second time I applied with the script with almost no fail-safes. The third time it was 10 yeses and 6 noses but I still got declined but I got to apply in two weeks instead of four thanks to wizzup?. Well I hope you like it and if you did last time, you will even more. A few credits, well one and he is going to hate me for saying this but footballjds. Without you, I would have never had wanted to finish this.
Sincerely,
Myles
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
{======================================================================]
[ NAME : MEM ]
[ WRITER : MylesMadness ]
[ CATEGORY : Mineing ]
[ DESCRIPTION : Mines Iron and Banks It ]
[ USAGE : Start In Varock East Bank ]
[ AUTOCOLOR : Yes ]
[ NOTES : None ]
[======================================================================]
[ Instructions. ]
[======================================================================]
[ 1. USE Runescape with Low Detail, Very Bright. ]
[ 2. Set your Screen to 32 bit TRUE color. ]
[ 3. Set Playernames and Passwords in DeclarePlayers. ]
[ 4. Start script Logged In! ]
[======================================================================}
program MEM;
{.include srl/srl.scar}
{.include srl/srl/misc/Users.scar}
var
x, y, Loads, Item, Ore, RRoadDTM, Pick, PickStatis, Gem: integer;
RoadMP: TDTMPointDef;
RoadSP: array[0..2] of TDTMPointDef;
RoadDTM: TDTM;
procedure LoadDDTM;
begin
RoadMP.x := 623;
RoadMP.y := 60;
RoadMP.areasize := 1;
RoadMP.areashape := 0;
RoadMP.color := FindVarrockRoadColor;
RoadMP.tolerance := 6;
RoadSP[0].x := 632;
RoadSP[0].y := 30;
RoadSP[0].areasize := 5;
RoadSP[0].areashape := 0;
RoadSP[0].color := FindVarrockRoadColor;
RoadSP[0].tolerance := 6;
RoadSP[1].x := 637;
RoadSP[1].y := 84;
RoadSP[1].areasize := 5;
RoadSP[1].areashape := 0;
RoadSP[1].color := FindVarrockRoadColor;
RoadSP[1].tolerance := 6;
RoadSP[2].x := 600;
RoadSP[2].y := 62;
RoadSP[2].areasize := 5;
RoadSP[2].areashape := 0;
RoadSP[2].color := FindVarrockRoadColor;
RoadSP[2].tolerance := 6;
RoadDTM.MainPoint := RoadMP;
RoadDTM.SubPoints := RoadSP;
RRoadDTM := AddDTM(RoadDTM);
end;
procedure LoadDtms;
begin
Pick := DTMFromString('78DA6374666260B8C980026C83A2197418191' +
'88088E13F10300600D53C6440038C4824903601AAB94D408D1B50' +
'CD3D026A40EEB946408D05A69B31D4F800D5DCC5AF0600BD720D0' +
'9');
Gem := DTMFromString('78DA637467646088624001826293197480C24' +
'0C4F01F0818DD80AC200634C0884402694F202B9D801A7F202B86' +
'801A1B202B96801A7B202B95801A5F202B84801A5B22D4F801596' +
'9F8D500009D5F0ABE');
Ore := DTMFromString('78DA63CC63626078CA8002BCF594187418191' +
'88088E13F1030D600D53C6040038C4824908E05AA794E404D1650' +
'CD27026A8A806A6E1050930C54738F809A0AA09AD7F8D500003D9' +
'90E24');
end;
procedure NoBan;
var
OldTab, I, R: integer;
begin
if (not (LoggedIn)) then
Exit;
case Random(250) of
0, 10, 11, 12, 13, 14: MMouse(Random(MSX2), Random(MSY2), random(5), random(5))
1, 15, 16, 17:
begin
R := Random(3) + 1;
repeat
MMouse(Random(MSX2), Random(MSY2), random(5), random(5))
Inc(I)
until (I = R)
end;
2, 18, 19, 20:
begin
HoverSkill('Mining', false);
GameTab(4)
end;
3, 21, 22, 23:
begin
HoverSkill('random', false);
GameTab(4);
end;
4, 24, 25:
begin
OldTab := GetCurrentTab;
GameTab(Random(14) + 1)
GameTab(OldTab)
end;
5: PickUpMouse;
6: AlmostLogOut;
7: RandomRClick;
8: begin
if FindColor(x, y, 16711422, MMX1, MMY1, MMX2, MMY2) then
case random(5) of
0: TypeSend('Whats up?');
1: TypeSend('Mining lvls?');
2: TypeSend('Mine levels?');
3: TypeSend('Sup?');
end;
end;
9: begin
MakeCompass('N');
wait(10 + random(5));
MakeCompass('S');
wait(10 + random(5));
MakeCompass('N');
end;
10: begin
SetAngle(false)
wait(10 + random(10));
SetAngle(True)
end;
11: begin
SetAngle(false)
wait(10 + random(5));
Makecompass('E')
wait(10 + random(5));
SetAngle(True)
wait(10 + random(5));
Makecompass('S')
wait(10 + random(5));
SetAngle(false)
wait(10 + random(5));
Makecompass('W')
wait(10 + random(5));
SetAngle(True)
wait(10 + random(5));
Makecompass('N')
wait(10 + random(5));
end;
end;
end;
function ToTab: Integer;
begin
if GetCurrentTab = 4 then
Result := 5
else
Result := 4
end;
function GotPick: Integer;
begin
if (not (LoggedIn)) then
Exit;
if FindDtm(Pick, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
if GetCurrentTab = 4 then
Result := 1
else
Result := 0
exit;
end else
begin
GameTab(ToTab)
if FindDtm(Pick, x, y, MIX1, MIY1, MIX2, MIY2) then
Result := 0
else
Result := 2
end;
end;
procedure RespondBack(Find, Say: TStringArray);
var
I, R: Integer;
begin
for I := 0 to GetArrayLength(Find) - 1 do
if InChat(Find[I]) then
begin
If not GetBlackChatMessage = Players[CurrentPlayer].Name then
begin
Writeln('Found Text ' + Find[I] + ', Responding')
R := Random(GetArrayLength(say));
Typesend(Say[R])
Writeln('Said ' + Say[R])
exit;
end;
end;
end;
procedure DoResponding;
begin
if (not (LoggedIn)) then
Exit;
RespondBack(['hello', 'hi', 'yo', 'Hey'], ['hello', 'hi', 'yo', 'Hey'])
RespondBack(['mining lvls', 'mine lvls'], ['Im ' + IntToStr(Players[CurrentPlayer].level[15]), 'Im ' + IntToStr(Players[CurrentPlayer].level[15]) + '. You?', IntToStr(Players[CurrentPlayer].level[15])])
RespondBack(['respond', 'talk'], ['what?', 'no', 'why?'])
end;
procedure WalkMine;
begin
if (not (LoggedIn)) then
Exit;
if not RadialRoadWalk(FindVarrockRoadColor, 45, 60, 70, 3, 3) then
Logout;
if not RadialRoadWalk(FindVarrockRoadColor, 70, 85, 70, 3, 3) then
Logout;
if not RadialRoadWalk(FindVarrockRoadColor, 150, 170, 70, 3, 3) then
Logout;
if not RadialRoadWalk(FindVarrockRoadColor, 160, 180, 70, 3, 3) then
Logout;
if not RadialRoadWalk(FindVarrockRoadColor, 185, 180, 70, 3, 3) then
Logout;
if FindColor(x, y, FindStoneColor, MMX1, MMY1, MMX2, MMY2) then
begin
Mouse(x, y, 2, 2, True)
flag;
end else
Logout;
end;
procedure WalkBank;
begin
if (not (LoggedIn)) then
Exit;
if not RadialRoadWalk(FindVarrockRoadColor, 10, 25, 70, 2, 2) then
Logout;
if not RadialRoadWalk(FindVarrockRoadColor, 370, 350, 70, 2, 2) then
Logout;
if not RadialRoadWalk(FindVarrockRoadColor, 0, 1, 70, 2, 2) then
Logout;
if not RadialRoadWalk(FindVarrockRoadColor, 360, 330, 70, 2, 2) then
logout;
if DtmRotated(RRoadDTM, x, y, MMX1, MMY1, MMX2, MMY2) then
begin
if not RadialRoadWalk(FindVarrockRoadColor, 280, 265, 70, 2, 2) then
logout;
if not RadialRoadWalk(FindVarrockRoadColor, 280, 260, 70, 2, 2) then
logout;
if findsymbol(x, y, 'Bank') then
begin
Mouse(x, y, 2, 2, True)
flag;
end else
Logout;
end;
end;
procedure Bankit;
begin
if (not (LoggedIn)) then
Exit;
if (findbank('veb')) then
begin
if FindDtm(Ore, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Mouse(x, y, 2, 2, False)
ChooseOption('al')
Loads := Loads + 1;
end;
if FindDtm(Gem, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Mouse(x, y, 2, 2, False)
ChooseOption('al')
end;
end else
begin
Writeln('We couldnt find the bank. Logging out')
logout;
end;
end;
procedure HitRock;
var
trys: integer;
begin
if (not (LoggedIn)) then
Exit;
repeat
if (FindObjCustom(x, y, ['ine'], [2832993], 6)) then
begin
Mouse(x, y, 1, 1, True);
exit;
end else
begin
Inc(trys)
end;
until (trys > 5)
Writeln('I Think were lost. Logging out')
Logout;
end;
function FindGas: boolean; //Colors from Masterkills Varock miner
begin
if not LoggedIn then exit;
if FindColorTolerance(x, y, 10596274, 200, 150, 500, 500, 1)
or FindColorTolerance(x, y, 8950933, 200, 150, 500, 500, 1)
or FindColorTolerance(x, y, 9017755, 200, 150, 500, 500, 1)
or FindColorTolerance(x, y, 7900302, 200, 150, 500, 500, 1) then
Result := True;
end;
procedure DoAntiGasStuff;
begin
if (not (LoggedIn)) then
Exit;
if FindGas then
begin
Mouse(MSCX, MSCY, 200, 200, True)
GameTab(5 - PickStatis)
if FindDtm(Pick, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Writeln('We avoided the gas')
end else
begin
Writeln('We Lost The Pick :( Logging out')
Logout;
end;
flag; //Just to make sure the flag is gone
end;
end;
procedure Mine1;
var
MineTime: integer;
begin
if (not (LoggedIn)) then
Exit;
Item := PickStatis;
repeat
HitRock;
MarkTime(MineTime);
Item := Item + 1;
DoAntiGasStuff;
FindNormalRandoms;
repeat
NoBan;
DoResponding;
until ExistsItem(Item) or (TimeFromMark(MineTime) > 5000)
until (invfull)
end;
begin
SRLPlayerForm(True, [], ['Loads'], [], [])
setupsrl;
LoadDtms;
ActivateClient;
if (not (LoggedIn)) then Loginplayer;
repeat
Players[CurrentPlayer].level[15] := GetSkillInfo('mining', False)
LoadDDTM;
PickStatis := Gotpick;
if PickStatis = 2 then
logout;
repeat
WalkMine;
Mine1;
WalkBank;
Bankit;
until (not (LoggedIn) or (Players[CurrentPlayer].Integers[0] = Loads))
NextPlayer(LoggedIn)
Loads := 0;
until (false)
end.——————————————————
<!– END TEMPLATE: formanswers –>