Pwnd
2006-03-28 14:24:20
Someone requested this of me, so I made it. I'm not sure if it works;
I only logged in to find the coordinates.
If you're going to use this, make sure the rune is in the second slot, and the notes are in the first slot.
Use a staff with this.
I didn't think it was necessary to add the randoms. Just go into the dueling arena.
I only logged in to find the coordinates.
If you're going to use this, make sure the rune is in the second slot, and the notes are in the first slot.
Use a staff with this.
I didn't think it was necessary to add the randoms. Just go into the dueling arena.
program Alcher;
{.include SRL/SRL.Scar}
var
NoteColor: integer;
RuneColor: integer;
ColorTake: integer;
const
HighAlch = True; //True or false
procedure RandomWait(int1, int2: integer);
begin
Wait((int1 * 100) + random((int2 * 100)));
end;
procedure Alch(alcha: boolean);
var
Alchx, Alchy: integer;
x, y: integer;
begin
if(not(GetColor(732, 177) = 2829182))then
begin
Mouse(732, 177, 2, 2, True);
RandomWait(2, 2);
end;
case alcha of
True:
begin
Alchx:= 638;
Alchy:= 324;
end;
False:
begin
Alchx:= 663;
Alchy:= 250;
end;
end;
Mouse(Alchx, Alchy, 2, 2, True);
repeat
RandomWait(1, 1);
until(GetColor(633, 179) = 2829182)
if(FindColor(x, y, NoteColor, 545, 195, 750, 473))then
begin
Mouse(x, y, 3, 1, True);
repeat
RandomWait(1, 2);
until(GetColor(730, 175) = 2829182)
end else
begin
Writeln('No more notes');
TerminateScript;
end;
end;
procedure Start;
begin
if(ColorTake = 0)then
begin
if(not(GetColor(632, 176) = 2829182))then
Mouse(632, 176, 3, 3, True);
NoteColor:= GetColor(576, 236);
RuneColor:= GetColor(524, 238);
Writeln('Note color: ' + IntToStr(NoteColor));
Writeln('Rune color: ' + IntToStr(RuneColor));
end;
end;
begin
ActivateClient;
RandomWait(2, 4);
Start;
repeat
Alch(HighAlch);
until(False)
end.
"Sum of all attachments owned by Pwnd: " <– Ownd