Pwnd
2006-04-09 13:09:56
Bewnt.
It works, ;D
It works, ;D
program Alcher;
{
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ High and Lower Alcher By Pwnd +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Instructions: +++
+++ 1: Fill out the setup. +++
+++ 2: Target the client. +++
+++ 3: Press start, and hopefully enjoy. +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Contact: +++
+++ MSN: Dirtywonker@yahoo.com. +++
+++ AIM: Dirtywonker. +++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ }
{.include SRL\SRL.scar}
const
{+++ Setup +++}
HighAlch = True; //True for high alch; False for low alch
Report = 1; //Put the number of times you'd like the report to come out.
{++++++++++++++}
{++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
var
NoteColor: integer;
RuneColor: integer;
ColorTake: integer;
Exp, ExpGained: integer;
{++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
procedure RWait(Base, Rand: integer);
begin
if((Base > 100) and (Rand > 100))then
begin
Wait(Base + Random(Rand));
end else
Wait(Base * 100 + Random(Rand * 100));
end;
{++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
procedure Alch(AlchA: boolean);
var
Sex, Sey: integer;
x, y, xa, ya: integer;
begin
GameTab(7);
case(AlchA)of
True:
begin
Sex:= 638;
Sey:= 324;
end;
False:
begin
Sex:= 663;
Sey:= 250;
end;
end;
Mouse(Sex, Sey, 2, 2, True);
repeat
RWait(1, 1);
until(GetColor(633, 179) = 2829182)
if(FindColor(x, y, NoteColor, 545, 195, 750, 473) and
FindColor(xa, ya, RuneColor, 545, 195, 750, 473))then
begin
Mouse(x, y, 3, 1, True);
repeat
RWait(15, 5);
until(GetColor(730, 175) = 2829182)
end else
begin
WriteLn('No more notes or runes!');
TerminateScript;
end;
end;
{++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
procedure Start;
begin
if(ColorTake = 0)then
begin
GameTab(4);
RWait(1, 1);
case(HighAlch)of
True:
Exp:= 65;
False:
Exp:= 31;
end;
NoteColor:= GetColor(576, 236);
RuneColor:= GetColor(621, 233);
Writeln('Note color: ' + IntToStr(NoteColor));
Writeln('Rune color: ' + IntToStr(RuneColor));
end;
end;
{++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
procedure ProgressReport;
begin
ClearDebug;
WriteLn('(++++++++++++++++++++++++++++++++++++)');
WriteLn('(++ Pwnd'#39's High and low Alcher ++)');
WriteLn('(++++++++++++++++++++++++++++++++++++)');
WriteLn('(++ ' + ScriptTime2(2) + ' ++)');
WriteLn('(++ You'#39've alched ' + IntToStr(ExpGained / Exp) + ' items ++)');
WriteLn('(++++++++++++++++++++++++++++++++++++)');
WriteLn('(++ You'#39've gained ' + IntToStr(ExpGained) + ' Exp points ++)');
WriteLn('(++++++++++++++++++++++++++++++++++++)');
end;
{++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
begin
SetupSRL;
ActivateClient;
ExpGained:= 0;
RWait(2, 4);
Start;
repeat
Alch(HighAlch);
ExpGained:= ExpGained + Exp;
if((ExpGained / Exp) mod Report = 0)then
ProgressReport;
until(False)
end.