SRL Archive - RS3 Outdated / Broken Scripts

Pie Boner.


Ilikepie1995

2007-06-29 12:09:09

PieBoner

Current Version = 0.2

What the script will do is, it will kill monsters and bury bones.
Contact me at MSN if found any bugs or if you have idias about adding something to the script.
Post reports here.


PieBoner - V. 0.1
FEATURES
- Anti-Randoms.
- Report.
- Holds Only 1 Player.
- Kills Monsters.
- Buries Bones


PieBoner - V. 0.2 = RELEASED!!!
FEATURES
- More Anti-Randoms.
- Better Report.
- Holds 1 Player.
- Anti-Ban ———-I need a good anti-ban procedure, could someone make one for me?
- Kills Monsters.
- Buries Bones.
- Eat Food.

Harry

2007-06-29 12:12:04

You stole that name ;)

LordGregGreg

2007-06-29 12:13:37

For goodness sake, dont realse a script unless if has proper standards. People like me want to read you script before they run it. You should get into the habbit fo it now, if you need any help, let me know.

Of yeah, you missed a semi colon after "loginplayer'

program PieBoner;

{.include SRL/SRL.scar}
//Stand near a place with some monsters, that are not high level.
//Don't have anything with you, maybe just like a scimmy.
const
BoneColor = 14342878;//The color of the bones dont change.
BonesToBury = 10; //How many bones you want to bury.
MonsterColor = 0; //The color of the monster.
Monster = 'eag';//3 letters of the monster's name you want to fight
NumberOfUsers = 1; //How many players you are using.
var
BonesDone: integer;

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

Players[0].Name := 'Username';//Your runescape username
Players[0].Pass := 'Password';//Your runescape password
Players[0].Nick := 'ser'; //3 Letters of your username.Username = ser.
Players[0].Loc := 'Bank';
Players[0].Active := True;

end;

procedure Kill;
begin
repeat
FindColor(x, y, MonsterColor, 0, 0, 450, 450);
MMouse(x, y, 1, 1);
until (IsUpText(Monster));
if (IsUpText(Monster)) then
Mouse(x, y, 2, 2, False);
Wait(1000 + random(450));
ChooseOption(x, y, 'ack');
end;

procedure FindBones;
begin
repeat
FindColor(x, y, BoneColor, 0, 0, 450, 450);
MMouse(x, y, 1, 1);
until (IsUpText('one'));
if (IsUpText('one')) then
Mouse(x, y, 1, 1, False);
Wait(1000 + random(300));
ChooseOption(x, y, 'ury');
end;

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 FindRandoms;
begin
FindFastRandoms;
FindNormalRandoms;
end;

procedure Report;
begin
ClearDebug;
WriteLn('---PieBoner-----Report----------------');
WriteLn('Running Time: ' + (TimeRunning) + '');
WriteLn('Bones Buried: ' + IntToStr(BonesToBury) + '');
WriteLn('Monsters Pwned: ' + IntToStr(BonesToBury) + '');
WriteLn(':P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:');
end;

begin
SetupSRL;
DeclarePlayers;
if not LoggedIn then
LoginPlayer;
repeat
Kill;
FindRandoms;
FindBones;
until (BonesToBury = BonesDone);
if (BonesToBury = BonesDone) then
Report;
Exit;
TerminateScript;
end.

Haxor

2007-06-29 19:38:36

some anti ban would be good. and for functions would be good to.

haxor

Santa_Clause

2007-06-29 20:50:02

From: lordgreggreg
For goodness sake, dont realse a script unless if has proper standards. People like me want to read you script before they run it. You should get into the habbit fo it now, if you need any help, let me know.

Of yeah, you missed a semi colon after "loginplayer'

program PieBoner;

{.include SRL/SRL.scar}
//Stand near a place with some monsters, that are not high level.
//Don't have anything with you, maybe just like a scimmy.
const
BoneColor = 14342878;//The color of the bones dont change.
BonesToBury = 10; //How many bones you want to bury.
MonsterColor = 0; //The color of the monster.
Monster = 'eag';//3 letters of the monster's name you want to fight
NumberOfUsers = 1; //How many players you are using.
var
BonesDone: integer;

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

Players[0].Name := 'Username';//Your runescape username
Players[0].Pass := 'Password';//Your runescape password
Players[0].Nick := 'ser'; //3 Letters of your username.Username = ser.
Players[0].Loc := 'Bank';
Players[0].Active := True;

end;

procedure Kill;
begin
repeat
FindColor(x, y, MonsterColor, 0, 0, 450, 450);
MMouse(x, y, 1, 1);
until (IsUpText(Monster));
if (IsUpText(Monster)) then
Mouse(x, y, 2, 2, False);
Wait(1000 + random(450));
ChooseOption(x, y, 'ack');
end;

procedure FindBones;
begin
repeat
FindColor(x, y, BoneColor, 0, 0, 450, 450);
MMouse(x, y, 1, 1);
until (IsUpText('one'));
if (IsUpText('one')) then
Mouse(x, y, 1, 1, False);
Wait(1000 + random(300));
ChooseOption(x, y, 'ury');
end;

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 FindRandoms;
begin
FindFastRandoms;
FindNormalRandoms;
end;

procedure Report;
begin
ClearDebug;
WriteLn('---PieBoner-----Report----------------');
WriteLn('Running Time: ' + (TimeRunning) + '');
WriteLn('Bones Buried: ' + IntToStr(BonesToBury) + '');
WriteLn('Monsters Pwned: ' + IntToStr(BonesToBury) + '');
WriteLn(':P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:P:');
end;

begin
SetupSRL;
DeclarePlayers;
if not LoggedIn then
LoginPlayer;
repeat
Kill;
FindRandoms;
FindBones;
until (BonesToBury = BonesDone);
if (BonesToBury = BonesDone) then
Report;
Exit;
TerminateScript;
end.


I don't know how to standardise, so I just run it through a code formatter.

Macho Man67

2007-06-29 21:12:23

Nice script! I can't test right now because my army is in woodcutting mode. But I will leave a progress report later. But nice script:D

SantaClause: You know where to get the code formatter? It would help me a bunch if you could tell me or just send me a copy by pm( If you want to…..):)

LordGregGreg

2007-06-30 10:40:30

From: SantaClause
I don't know how to standardise, so I just run it through a code formatter.


Santa clause, i dont know if you were talking for yourself, or making an insult at me, so ill just give you the benifit of the doubt and assume you were talking for yourself.

First off, i do know how to standardise, I have to to be able to read my code.
2nd, yes, i do send script through a formatter because fixing standards is a pain without them.

If you want a link to one, Google "Jedi pascal formater"

Ilikepie1995

2007-07-01 21:22:56

You stole that name
-Err…No?If there is a script named JUST like mine then sorry well i never saw it :confused:

Harry

2007-07-01 21:31:06

I not accusing you of anything, just saying someone also used that name :D

sukomabawls

2007-07-10 04:05:17

cool, script but ir needs some anti ban, i went crazy with it in the wild in the bone yard, lol killing skeletons and burying like 20 bones a min…

i strider

2007-07-10 13:48:35

umm attacks one npc and freezes?…

Spky

2007-07-10 14:13:02

Guys, uh, what exactly does third base feel like?

Like warm apple pie.
.

lordcisco

2007-09-26 16:13:38

ill give it a shot in the wild

ShowerThoughts

2007-09-26 16:16:24

antiban isnt that hard just look in srl include and about multyplayer look at tuts theres somthing new that you can with 1 command can make a (auto)form(create by summilion)
sesarch for summilion or his tut about it its nice