Mr. Doctor
2009-09-07 23:25:36
How Long have You Played Runescape?
6 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
SCAR
Are you a member of any other communities?
Moparisthebest, playstation forums and others..
Tell us about yourself…
Please show us one (or multiple) of your scripts.
6 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
SCAR
Are you a member of any other communities?
Moparisthebest, playstation forums and others..
Tell us about yourself…
From: Junkj
13, buy my own stuff. Gonna work soon and have ALOT of free time.
Please show us one (or multiple) of your scripts.
//////JUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRK//////
//////JUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRK//////
//////JUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRK//////
//////JUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRK//////
//////JUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRKJUNKJ LRK//////
///////////////////////////////////////////////////////////////////////////
// JUNK's LRK //
//eating procedure-meat or shrimp infight/keeps fighting if not done //
//Skill setter Stat Progress //
//failsafes/antiban Boner picker and burrier //
//AND FINALLY..............MULTIPLAYER!!!!!!!!!!!!!!!!!!!!!!!!!!!!! //
//////////////////////////////V5.00////////////////////////////////////////
program LRK;
{.include srl/srl.scar}
{.include srl/srl/skill/fighting.scar}
var
x,y,bonesb,bone :integer;
const
///////////////////////////////////////////////////////////////////////////
mousecolor= 9276803; //the very light cyan color of the mouse-recomended //
///////////////////////////////////////////////////////////////////////////
/////////////////////////Thats not all...//////////////////////////////////
procedure DeclarePlayers;
begin
HowManyPlayers:= 1; // Make the inactive players[#] green
NumberOfPlayers(HowManyPlayers); //So you dont get a runtime error :D
CurrentPlayer := 0;
///// fill all of below in
Players[0].Name := ''; //Username
Players[0].Pass := ''; //Password
Players[0].Nick := ''; //Nickname 3-4 letters no first or cap
Players[0].Active := true; //Wanna use?
Players[0].Booleans[0]:= true;//Want to eat?
Players[0].Integers[0]:= 3; //How many rats do you want to kill?
Players[0].Strings[0] := 'attack'; //Attack Strength Defence or Shared, Scims only
Players[0].Strings[1] := 'shrimp'; //shrimp or meat
{Players[1].Name := '1'; //Username
Players[1].Pass := '1'; //Password
Players[1].Nick := '1'; //Nickname 3-4 letters no first or cap
Players[1].Active := true; //Wanna use?
Players[1].Booleans[0]:= true;//Want to eat?
Players[1].Integers[0]:= 1; //How many rat do you want to kill?
Players[1].Strings[0] := ''; //Attack Strength Defence or Shared, Scims only
Players[1].Strings[1] := ''; //shrimp or meat
{Players[2].Name := '1'; //Username
Players[2].Pass := '1'; //Password
Players[2].Nick := '1'; //Nickname 3-4 letters no first or cap
Players[2].Active := true; //Wanna use?
Players[2].Booleans[0]:= true;//Want to eat?
Players[2].Integers[0]:= 1; //How many rat do you want to kill?
Players[2].Strings[0] := ''; //Attack Strength Defence or Shared, Scims only
Players[2].Strings[1] := ''; //shrimp or meat }
end;
///////////////////////////STOP!NO-Further!///////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
function FindBone : Boolean;
begin
Result:= FindDTM(bone, X, Y, MIX1, MIY1, MIX2, MIY2);
end;
//////////////////////////////////////////////////////////////////////////////
Procedure Boner; //LOLZER
var bone :integer;
begin
bone := DTMFromString('78DA637CC6C4C0708A910106803C86FAB2520' +
'611200D1365FC88AA062A8A4402E94740358708A8B94384394F80' +
'6A2EE1570300705B0A09');
If(not(loggedin)) then exit;
if(findbone)then
begin
Freedtm(bone);
repeat
Getmousepos(x,y);
mouse(x,y,3,3,true);
Freedtm(bone);
bonesb:=bonesb+1;
Writeln('Burried');
Disguise('Burried');
wait(2000+random(500));
until not findbone;
end else
begin
Disguise('Done With Bones');
Writeln('Done with bones');
Writeln('Did not find the bone Dtm in your inventory.');
end;
end;
//////////////////////////////////////////////////////////////////////////////
procedure Eatmeat;
var meatbmp :integer;
begin
If(not(loggedin)) then exit;
meatbmp := BitmapFromString(13, 12, 'beNpzMpoV7zEpyqU/0rnWV' +
'2BAENBqZERdZbhUEmkaJagn3KkxwGZqjCseK7pCHer8rEs9zBal+A' +
'AjAqvi9mB7oDkQZSsz/Zek+cIVQyIOiIDmAJW1BNlV+1hmAwB9+ZV' +
'I');
if(hppercent<20)then
begin
if(Players[currentplayer].booleans[0])then
begin
Writeln('said yes to eat.');
Disguise('Eating...');
GameTab(tab_Inv);
wait(100+random(20));
if (FindBitmapToleranceIn(meatbmp, x, y, MIX1, MIY1, MIX2, MIY2, 20)) then
begin
freebitmap(meatbmp);
Getmousepos(x,y);
Mouse(x, y, 2, 2, true);
freebitmap(meatbmp)
writeln('Ate Meat successfully!');
Disguise('Ate');
wait(1500+random(200));
end else
if not(FindBitmapToleranceIn(meatbmp, x, y, MIX1, MIY1, MIX2, MIY2, 20))then
begin
writeln('Could not find food running and waiting to restore hp');
Disguise('Running Away');
runaway('n',false,1,60000)
end;
end else
begin
Writeln('Said no to eat');
end;
end;
end;
//////////////////////////////////////////////////////////////////////////////
procedure eatshrimp;
var smp :integer;
begin
If(not(loggedin)) then exit;
smp := BitmapFromString(7, 4, 'beNqz4b49TebeDNkHs2Qfz5F9Olf' +
'ucJvk3ByRAy2SQMbWGvEFeSKdcYJ53nxZnrzT0oWXFYlCRIDcNDfe' +
'RGeexkiB1mjBngQhCDfWgScCAK1bHiU=');
if(hppercent<20)then
begin
if(Players[currentplayer].booleans[0])then
begin
Writeln('said yes to eat.');
Disguise('Eating...');
GameTab(tab_Inv);
wait(100+random(20));
if (FindBitmapToleranceIn(smp, x, y, MIX1, MIY1, MIX2, MIY2, 20)) then
begin
freebitmap(smp);
Getmousepos(x,y);
Mouse(x, y, 2, 2, true);
freebitmap(smp);
writeln('Ate Shrimp successfully!');
Disguise('Ate');
wait(1500+random(200));
end else
if not(FindBitmapToleranceIn(smp, x, y, MIX1, MIY1, MIX2, MIY2, 20))then
begin
writeln('Could not find food running and waiting to restore hp');
Disguise('Running Away');
runaway('n',false,1,60000)
end;
end else
begin
Writeln('Said no to eat');
end;
end;
end;
//////////////////////////////////////////////////////////////////////////////
procedure eatwhatchooser;
begin
case Lowercase(Players[currentplayer].strings[1]) of
'shrimp': eatshrimp;
'meat': eatmeat;
end;
end;
//////////////////////////////////////////////////////////////////////////////
procedure invcheck;
begin
If(not(loggedin)) then exit;
if(invfull)then
begin
Disguise('Inventory Full, Burrying');
boner;
writeln('Inventory full burying bones...');
end;
end;
//////////////////////////////////////////////////////////////////////////////
procedure Bonepick;
var pick :integer;
begin
x:=Mscx;
y:=Mscy;
If(not(loggedin)) then exit;
findcolorspiral(x,y,12961212, msx1, msy1, msx2, msy2)
begin
Writeln('Finding Bones')
Disguise('Finding Bones');
mmouse(x,y, 3, 3);
Wait(500);
if isuptext('ake') then
begin
Writeln('Found bones')
Disguise('Found Bones');
Getmousepos(x,y);
mouse(x,y, 0, 0, false);
chooseoption('ones');
Writeln('Took Bones')
Disguise('Took The Bones');
pick:=pick+1
end else
writeln('Bones not found or didnt try.');
Disguise('Didnt find bones');
end;
end;
//////////////////////////////////////////////////////////////////////////////
Procedure Anti;
begin
case random(60) of
0:Sleepandmovemouse(3000+random(1000));
1:Boredhuman;
2:begin
Case random(4) of
0: HoverSkill('strength', false);
1: HoverSkill('attack', false);
2: HoverSkill('defence', false);
3: HoverSkill('prayer', false);
end;
end;
3:Pickupmouse;
4:Begin
Makecompass('w')
wait(1000+random(500))
makecompass('e')
wait(1000+random(500))
Makecompass('w')
end;
5:randomrclick;
end;
end;
//////////////////////////////////////////////////////////////////////////////
function findmouse : boolean;
var tpa : tpointarray;
var kill :integer;
begin
x := mscx;
y := mscy;
If(not(loggedin)) then exit;
begin
findcolorsspiraltolerance(x, y, TPA, mousecolor, msx1, msy1, msx2, msy2, 10);
if(GetArrayLength(TPA) > 0)then
begin
mmouse(tpa[0].x, tpa[0].y, 3, 3);
if(waituptext('ttack',300+random(200)))then
begin
result := true;
Getmousepos(x,y);
mouse(tpa[0].x, tpa[0].y, 3, 3,false);
chooseoption('ttack');
Disguise('Attacking');
Writeln('Mouse is found');
wait(3000+random(1000))
if(infight)then
begin
Disguise('Waiting');
repeat;
Anti;
until not infight;
Disguise('Done with fight');
Kill:=Kill+1
bonepick;
end else
Result:= False;
end;
end;
end;
end;
//////////////////////////////////////////////////////////////////////////////
procedure proggy;
var kill,pick,checks :integer;
begin
writeln('---------------------=Proggy=---------------------');
writeln('|------------------------------------------------|');
writeln('|Killed aprroximitely ' + inttostr(kill)+' |');
writeln('|ran for '+ (timerunning)+ ' |');
writeln('|Picked up '+ inttostr(pick) + ' bones |');
writeln('|burried '+ inttostr(bonesb) + ' bones |');
writeln('|Checked for rat '+ inttostr(checks) + ' times |');
writeln('|Junkjs Lumbridge Rat Killer |');
writeln('|end of the script |');
writeln('|Make sure you post a proggy or suggestion |');
writeln('==================================================');
Writeln('|==Skills are below. Att, Str, Def, and prayer.==|');
Writeln('==================================================');
getxp('attack');
getxp('strength');
getxp('defence');
getxp('prayer');
end;
//////////////////////////////////////////////////////////////////////////////
procedure death;
begin
If(not(loggedin)) then exit;
if(finddead)then
begin
logout;
proggy;
Writeln('You died. Next player');
Disguise('Died next player');
nextplayer(false);
end else
if(finddead) and (allplayersinactive) then
begin
writeln('Player dead and no more players available. Terminating');
logout;
proggy;
Terminatescript;
end;
end;
//////////////////////////////////////////////////////////////////////////////
Procedure setskiller;
begin
Disguise('Setting Skill');
case Lowercase(Players[currentplayer].strings[0]) of
'attack': SetFightMode(1);
'strength': SetFightMode(2);
'shared': SetFightMode(3);
'defence': SetFightMode(4);
end;
end;
//////////////////////////////////////////////////////////////////////////////
procedure logcheck;
begin
if (not(loggedin)) then
begin
proggy;
writeln('Logged out somehow... Nextplayer');
Proggy;
nextplayer(false);
end else
if(not(loggedin)) and (allplayersinactive)then
begin
writeln('Logged out somehow and no next player. Terminating');
proggy;
terminatescript;
end;
end;
//////////////////////////////////////////////////////////////////////////////
var
Kill : Integer;
begin
SetupSRL;
DeclarePlayers;
ClearDebug;
ActivateClient;
repeat
Kill := 0;
if not LoggedIn then
LoginPlayer;
SetRun(True)
MakeCompass('w');
SetAngle(True);
SetSkiller;
Retaliate(True);
repeat
FindNormalRandoms;
MakeCompass('w');
FindMouse;
EatWhatChooser;
FindDead;
until(Kill >= Players[CurrentPlayer].Integers[0])
LogOut;
nextplayer(false);
proggy;
until(AllPlayersInactive);
proggy;
Disguise('Successful');
end.
//////////////////////////////////////////////////////////////////////////////
//CREDITS-CREDITS-CREDITS-CREDITS-CREDITS-CREDITS-CREDITS-CREDITS-CREDITS /|
// JAD Feroc1ty Boreas I don't know if they helped me /|
// Marpis Baked Ian but i did know that they had /|
// cohen Tarajunky Evilkitten the time to post in my threads /|
// MasterBB Awkwardsaw richie Thanks guys /|
//////////////////////////////////////////////////////////////////////////////
//Jad-mentor
//marpis- bitmaps
//MasterBB- login help
//feroc1ty- random time with infight;
//Baked- Standards and others
//Tarajunky- Tpa idea
//Awkwardsaw- Tutorial And procedure
//Boreas- Multiplayer and alot of other things.
//Ian- True False infight;
//EvilKitten- Chooseoption
//cohen-Feedback
//richie- Multiplayer help
//Junkj- Making this all happen
//////////////////////////////////////////////////////////////////////////////
//!Not responsible for banned acounts!!!Not responsible for banned acounts! //
//////////////////////////////////////////////////////////////////////////////
