FreakyMonkey
2008-05-01 22:54:39
hey just became a member a few days ago =).
and i dont know if this is the appropriate way i would use this TPA function.
BTW wat it does is that it opens the magic gametab and checks if the high alch colors are "lighted up" suggesting that it has runes
here it is (not sure if i got the right gametab)
and i dont know if this is the appropriate way i would use this TPA function.
BTW wat it does is that it opens the magic gametab and checks if the high alch colors are "lighted up" suggesting that it has runes
here it is (not sure if i got the right gametab)
function GetAlchColor: Boolean;
var
AlColor,NoAlColor: Tpointarray;
i,col,Nocol: integer;
begin
GetArrayLength(alcolor):=Col;
if not GetCurrentGameTab=6 then
Gametab(6);
if not GetColorToleranceSpeed=2 then
ColorToleranceSpeed(2);
FindColorsSpiralTolerance(x,y,Alcolor,849658,582,369,561,352,5);
for i:=0 to High(Alcolor)do
if col>=3 then
begin
Writeln('High Alch Found!');
Result:=True;
end;
FindCOlorsSprialTOlerance(x,y,Noalcolor,71705,582,369,561,352,150);
GetArrayLength(NoAlColor):=NoCol;
for i:=0 to High(Noalcolor)do
if nocol>=4 then
begin
Writeln('You dont have the sufficent runes to do this spell.');
end;
end;