Element17
06-26-2013, 04:35 AM
I just added the new points to the my include. Should work. I tested it and it worked for me. Not sure if anyone else updated this yet.
function LodestoneTeleport(Where: String): Boolean;
var
TPA: TPointArray;
TSA: TStringArray;
CTS, I: Integer;
begin
if not LoggedIn then Exit;
if not LodestoneScreen then
if not OpenLodestoneScreen then
Exit;
Wait(RandomRange(400, 1000));
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(1);
TSA := ['Lunar Isle', 'Yanille', 'Ardougne', 'Seers Village', 'Catherby', 'Taverley',
'Burthorpe', 'Edgeville', 'Falador', 'Port Sarim', 'Draynor Village', 'Lumbridge',
'Varrock', 'Al Kharid', 'Bandit Camp', 'Fremennik Province', 'Eagles Peak', 'Tirannwn',
'Ooglog', 'Karmaja', 'Wilderness', 'Canifis'];
TPA := [Point(45, 78), Point(160, 262), Point(167, 211), Point(192, 158), Point(223, 181),
Point(253, 180), Point(251, 145), Point(293, 160), Point(278, 206), Point(276, 249), Point(308, 211),
Point(327, 243), Point(345, 182), Point(362, 229), Point(326, 297), Point(199, 120), Point(102, 180), Point(98, 225),
Point(150, 300), Point(220, 255), Point(311, 120), Point(401, 175)];
for I := 0 to 22 do
if Capitalize(Where) = TSA[I] then
begin
Mouse(TPA[I].X, TPA[I].Y, 2, 2, mouse_left);
Result := True;
end;
ColorToleranceSpeed(CTS);
end;
function LodestoneTeleport(Where: String): Boolean;
var
TPA: TPointArray;
TSA: TStringArray;
CTS, I: Integer;
begin
if not LoggedIn then Exit;
if not LodestoneScreen then
if not OpenLodestoneScreen then
Exit;
Wait(RandomRange(400, 1000));
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(1);
TSA := ['Lunar Isle', 'Yanille', 'Ardougne', 'Seers Village', 'Catherby', 'Taverley',
'Burthorpe', 'Edgeville', 'Falador', 'Port Sarim', 'Draynor Village', 'Lumbridge',
'Varrock', 'Al Kharid', 'Bandit Camp', 'Fremennik Province', 'Eagles Peak', 'Tirannwn',
'Ooglog', 'Karmaja', 'Wilderness', 'Canifis'];
TPA := [Point(45, 78), Point(160, 262), Point(167, 211), Point(192, 158), Point(223, 181),
Point(253, 180), Point(251, 145), Point(293, 160), Point(278, 206), Point(276, 249), Point(308, 211),
Point(327, 243), Point(345, 182), Point(362, 229), Point(326, 297), Point(199, 120), Point(102, 180), Point(98, 225),
Point(150, 300), Point(220, 255), Point(311, 120), Point(401, 175)];
for I := 0 to 22 do
if Capitalize(Where) = TSA[I] then
begin
Mouse(TPA[I].X, TPA[I].Y, 2, 2, mouse_left);
Result := True;
end;
ColorToleranceSpeed(CTS);
end;