Ilikepie1995
2007-06-16 12:05:03
My 4th or 5th script.
Special thanks to - Kemico2.
What script does?-Steals stuff from chest in ardougne house.
Got
AntiRandoms
DeclarePlayers;
if Finds the gas then runs away :p
If you find anybugs please post here or contact me at my msn [email]vit-1995@hotmail.com[/email]
and if you can help fixing the bug please do.
I dont know y but i cant attach it so here is the script :D
Special thanks to - Kemico2.
What script does?-Steals stuff from chest in ardougne house.
Got
AntiRandoms
DeclarePlayers;
if Finds the gas then runs away :p
If you find anybugs please post here or contact me at my msn [email]vit-1995@hotmail.com[/email]
and if you can help fixing the bug please do.
I dont know y but i cant attach it so here is the script :D
program PieChestThiever;
{.include SRL/SRL.scar}
//Instructions.
//Start at the ardougne house close to the ardougne centre.
//The house is the south one.
//I dont recomend wearing anything on you
var
times: integer;
const
ChestColor = 4808832;//Just leave this alone, its the chest's color it works grat for me.
TimesToTake = 10;//How many times you want to steal from the chest?
procedure DeclarePlayers;
begin
HowManyPlayers := 6; // Set Number of Players here.
NumberOfPlayers(HowManyPlayers); // Sets the Players Array Length;
CurrentPlayer := 0; // CurrentPlayer = Array Index
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Loc := 'Loc1';
Players[0].Skill := '';
Players[0].Active := True;
Players[1].Name := '';
Players[1].Pass := '';
Players[1].Nick := '';
Players[1].Loc := 'Loc1';
Players[1].Skill := '';
Players[1].Active := True;
Players[2].Name := '';
Players[2].Pass := '';
Players[2].Nick := '';
Players[2].Loc := 'Loc1';
Players[2].Skill := '';
Players[2].Active := True;
Players[3].Name := '';
Players[3].Pass := '';
Players[3].Nick := '';
Players[3].Loc := 'Loc1';
Players[3].Skill := '';
Players[3].Active := True;
Players[4].Name := '';
Players[4].Pass := '';
Players[4].Nick := '';
Players[4].Loc := 'Loc1';
Players[4].Skill := '';
Players[4].Active := True;
Players[5].Name := '';
Players[5].Pass := '';
Players[5].Nick := '';
Players[5].Loc := 'Loc1';
Players[5].Skill := '';
Players[5].Active := True;
writeln(IntToStr(HowManyPlayers) + ' Players');
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
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 FindGas;
begin
if FindColor(x, y, 2573640, 0, 0, 450, 450) then
WriteLn('Omfg we found gas!');
Wait(1000 + random(200));
Mouse(701, 79, 4, 4, True);
WriteLn('Omfg we coulda die but i think we got away');
end;
procedure LetsDebug;
begin
ClearDebug;
WriteLn('Thank you for using PieThiever');
WriteLn('This is Version 0.1');
WriteLn('Running Time:' + (TimeRunning) + '');
end;
procedure FindChestAndSearchForTraps;
begin
if FindColor(x, y, ChestColor, 0, 0, 500, 500) then
Wait(1000 + random(3000));
MMouse(x, y, 2, 2);
Wait(1000 + random(200));
if (IsUpText('est')) then
Mouse(x, y, 3, 3, False);
Wait(1000 + random(200));
ChooseOption(x, y, 'aps');
times := times + 1;
Wait(4000 + random(1000));
end;
procedure Report;
begin
Writeln('[]-------------------------------------------[]');
Writeln('Worked For : ' + ScriptTime2(2));
Writeln('Stole ' + IntToStr(Times) + ' Times');
Writeln('[]--------------------------------------------[]');
end;
begin
SetupSRL;
DeclarePlayers;
repeat
FindChestAndSearchForTraps;
FindGas;
FindRandoms;
until (times = timestotake);
report;
nextplayer(False);
end.