Raskolnikov
2008-01-11 21:15:30
cut em2 it - SRL Member Application Form
cut em2 it
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
C++
Other Communitys
Sythe, Fagex
How Long have You Played Runescape
2 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I have experience in DDTMs and map walking. I find learning canvases hard, but, I am starting to figure them out. I understand TBoxes and TPointArrays. I now use anti-ban and changed the anti-randoms so the script is a little shorter. I hope you accept me as an SRL Member.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
program ShrimpThenBank;
{.include SRL/SRL.scar}
{By Cut em2 it. Edit line 8-10 and 16-46, move your
characters to the Draynor fishing area, and run the script!(Have extra nets in first bank slot.)}
var
a, b, HowLoads, z, w, o, d, Time, Shrimps, Anchovies:integer;
const
YourSRLId = ''; //Leave blank if you don't have one.
YourSRLPassword = ''; //Leave blank if you don't have one
CurrentVersion = '2.18 BETA';//No Touchey!!!
procedure CountTehShrimp(Shrimp, Anchovys: integer); forward;
procedure DeclarePlayers;
begin
CurrentPlayer := 0;
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
Players[0].Name := ''; //username
Players[0].Pass := ''; //Password
Players[0].Nick := ''; //3-4 letters of user name
Players[0].Integers[0] := 50; //How many loads for player to do
Players[0].Strings[0] := '0000'; //PIN Number
Players[0].Active := True; //Player active
{ Players[1].Name := ''; //username
Players[1].Pass := ''; //Password
Players[1].Nick := ''; //3-4 letters of user name
Players[1].Integers[0] := 2; //How many loads for player to do
Players[1].Strings[0] := '0000'; //PIN Number
Players[1].Active := True; //Player active
Players[2].Name := ''; //username
Players[2].Pass := ''; //Password
Players[2].Nick := ''; //3-4 letters of user name
Players[2].Integers[0] := 2; //How many loads for player to do
Players[2].Strings[0] := '0000'; //PIN Number
Players[2].Active := True; //Player active
Players[3].Name := ''; //username
Players[3].Pass := ''; //Password
Players[3].Nick := ''; //3-4 letters of user name
Players[3].Integers[0] := 2; //How many loads for player to do
Players[3].Strings[0] := '0000'; //PIN Number
Players[3].Active := True; //Player active
}
end;
procedure MeAntiBan;
begin
case random(8) of
0: BoredHuman;
1: RandomRClick;
2: PickupMouse;
3: RandomMovement;
4: MMouse(4, 4, 600, 600);
6: AlmostLogout;
7: HoverSkill('random', false);
end;
end;
procedure ChangeTimeNow;
begin
if HowLoads=Players[CurrentPlayer].Integers[0] then
begin
NextPlayer(False);
HowLoads := 0;
MakeCompass('N');
end;
if not LoggedIn then
begin
LoginPlayer;
MakeCompass('N');
end;
end;
procedure Progress;
begin
Writeln('This is my first auto fisher + banker.');
Writeln('By cut em2 it.');
Writeln('Did '+ IntToStr(HowLoads) +' loads.');
Writeln('Fished '+ IntToStr(Shrimps) +' shrimp.');
Writeln('Fished '+ IntToStr(Anchovies) +' anchovies.');
Writeln('Thanks for using my auto fisher!');
end;
procedure ScriptTerminate;
begin
Progress;
SendSRLReport;
Writeln('Script terminated');
end;
procedure Fish;
var x, y, runx, runy: integer;
Box: TBox;
begin
repeat
if not LoggedIn then Exit;
Wait(4000+random(200));
FindNormalRandoms;
MakeCompass('N');
if not FindColorSkipBox(x, y, 16315112, 0, 0, 259, 331, Box) then
begin
SendArrowSilentWait(3, 2000+random(100));
FindColorSkipBox(x, y, 16315112, 0, 0, 259, 331, Box);
Mouse(x, y, 1, 1, true);
end else
begin
case random(2) of
0: begin
MMouse(x, y, 1, 1);
if IsUpText('Net') then
begin
Mouse(x, y, 1, 1, true);
Wait(6000+random(400));
end;
end;
1: begin
MMouse(x, y, 1, 1);
if IsUpText('Net') then
begin
Mouse(x, y, 1, 1, false);
ChooseOption('Net');
Wait(6000+random(400));
end;
end;
end;
end;
if(FindFight)then
begin
RunAwayDirection(runx, runy, 'S');
Wait(10000+random(2000));
RunBack(runx, runy);
end;
FindNormalRandoms;
MeAntiBan;
until(InvFull);
Writeln('Done fishing.');
CountTehShrimp(Shrimps, Anchovies);
end;
function LoadShrimp: integer;
var
fishMP: TDTMPointDef;
fishSP: array of TDTMPointDef;
fishDDTM: TDTM;
begin
SetArrayLength(fishSP, 3);
fishMP.x := 557;
fishMP.y := 301;
fishMP.areasize := 1;
fishMP.areashape := 0;
fishMP.color := 6982976;
fishMP.tolerance := 9;
fishSP[0].x := 606;
fishSP[0].y := 296;
fishSP[0].areasize := 1;
fishSP[0].areashape := 0;
fishSP[0].color := 65536;
fishSP[0].tolerance := 0;
fishSP[1].x := 619;
fishSP[1].y := 313;
fishSP[1].areasize := 1;
fishSP[1].areashape := 0;
fishSP[1].color := 65536;
fishSP[1].tolerance := 0;
fishSP[2].x := 632;
fishSP[2].y := 293;
fishSP[2].areasize := 1;
fishSP[2].areashape := 0;
fishSP[2].color := 65536;
fishSP[2].tolerance := 0;
fishDDTM.MainPoint := fishMP;
fishDDTM.SubPoints := fishSP;
result := AddDTM(fishDDTM);
end;
function LoadAnch: integer;
var
anchMP: TDTMPointDef;
anchSP: array of TDTMPointDef;
anchovy: TDTM;
begin
SetArrayLength(anchSP, 3);
anchMP.x := 619;
anchMP.y := 265;
anchMP.areasize := 1;
anchMP.areashape := 0;
anchMP.color := 9208450;
anchMP.tolerance := 9;
anchSP[0].x := 578;
anchSP[0].y := 272;
anchSP[0].areasize := 1;
anchSP[0].areashape := 0;
anchSP[0].color := 65536;
anchSP[0].tolerance := 0;
anchSP[1].x := 606;
anchSP[1].y := 261;
anchSP[1].areasize := 1;
anchSP[1].areashape := 0;
anchSP[1].color := 65536;
anchSP[1].tolerance := 0;
anchSP[2].x := 629;
anchSP[2].y := 256;
anchSP[2].areasize := 1;
anchSP[2].areashape := 0;
anchSP[2].color := 65536;
anchSP[2].tolerance := 0;
anchovy.MainPoint := anchMP;
anchovy.SubPoints := anchSP;
result := AddDTM(anchovy);
end;
procedure CountTehShrimp(Shrimp, Anchovys: integer);
var i, x, y: integer;
tehslot: TBox;
begin
for i := 2 to 28 do
begin
if not LoggedIn then Exit;
tehslot := InvBox(i);
if FindDTM(LoadShrimp, x, y, tehslot.x1, tehslot.y1, tehslot.x2, tehslot. y2) then
Shrimp := Shrimp + 1;
ReportVars[0] := ReportVars[0] + 1;
if FindDTM(LoadAnch, x, y, tehslot.x1, tehslot.y1, tehslot.x2, tehslot.y2) then
Anchovies := Anchovies + 1;
ReportVars[1] := ReportVars[1] + 1;
end;
Writeln('Fished '+ IntToStr(Shrimp) +' shrimp.');
Writeln('Fished '+ IntToStr(Anchovies) +' anchovies.');
end;
procedure Bank;
var TehColor: integer;
begin
if not LoggedIn then Exit;
MakeCompass('N');
SymbolAccuracy := 0.5;
MeAntiBan;
if not(FindSymbol(o,d,'bank'))then
begin
if not LoggedIn then Exit;
TehColor := FindRoadColor;
RadialRoadWalk(TehColor, 2, 90, 65, 1, 1);
FFlag(1+random(1));
FindSymbol(o, d, 'bank');
Mouse(o, d, 1, 1, true);
FFlag(1+random(2));
end;
if not LoggedIn then Exit;
If FindSymbol(o,d,'bank') Then
begin
Mouse(o,d,0,0,true);
FFlag(1+random(2));
while FlagPresent do
begin
MeAntiBan;
FindNormalRandoms;
Wait(1000+(320));
end;
repeat
if not LoggedIn then Exit;
FindObjCustom(z, w, ['Use','Booth'], [3421240,4937311], 5);
Mouse(z,w,0,0,false);
ChooseOption('Use-quickly');
Wait(300+random(12));
until(BankScreen) or (PinScreen);
if(PinScreen)then
begin
InPin(Players[CurrentPlayer].Strings[0]);
end;
if(Bankscreen)then
begin
Wait(1000+random(103));
Writeln('Banking');
if (not(FindFishingEquipment(3097172,'Small fishing net'))) then
begin
Withdraw(1, 1, 1);
end;
if not LoggedIn then Exit;
Deposit(2,28,1);
ReportVars[1] := 27;
Wait(700+random(100));
CloseBank;
if not FindSymbol(a,b,'fish')then
begin
TehColor := FindRoadColor;
RadialWalk(TehColor, 170, 200, 21, 1, 1);
while FlagPresent do MeAntiBan;
FFlag(1+random(2));
FindSymbol(a, b, 'fish');
Mouse(a, b, 1, 1, true);
FFlag(1+random(2));
end else
Mouse(a,b,0,0,true);
if not LoggedIn then Exit;
FFlag(1+random(2));
end;
end;
end;
begin
MarkTime( Time );
SRLID := YourSRLId;
SRLPassword := YourSRLPassword;
HowLoads := 0;
SetupSRL;
ScriptId := '477';
ActivateClient;
DeclarePlayers;
Wait(1000);
if not LoggedIn then LoginPlayer;
Repeat
Repeat
Fish;
Bank;
HowLoads := HowLoads + 1;
SRLRandomsReport;
Until(HowLoads = Players[CurrentPlayer].Integers[0]);
Progress;
ChangeTimeNow;
Until( False );
end.——————————————————
<!– END TEMPLATE: formanswers –>