h4x_
2012-04-29 11:34:23
Been following YoHoJo's youtube tutorials, except making a script that mines copper in lumbridge mine.
im sorta stuck with a dropping method does want to compile at
"MouseItem(OrePatter,False);":
It says its a type mismatch, but im sure im doing it right? :s
thanks in advance for any help (and to YoHoJo for making the Tut's)
im sorta stuck with a dropping method does want to compile at
"MouseItem(OrePatter,False);":
Procedure DropOres;
var
x, y, OreDTM, I : Integer;
SlotBox : Tbox;
OrePattern : TIntegerArray;
begin
OreDTM := DTMFromString('mKgEAAHic42NgYPBhYmDwYoLQgUAcDsQRQBwNxMFQOTsgtoFiJyB2BWJuIJYEYmEgFgJiQSDmAmIWIGYE4r+MDAxsUHWCUDViQLw7xxpoKxMGNlBQwCqOwOQBRjIxKgAAQyYIBQ==');
OrePattern:=[1,5,9,13,17,21,25,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,28];
For I:=0 to 27 Do
Begin
SlotBox:=InvBox(OrePattern[I]);
If FindDTM(OreDTM,x,y,SlotBox.X1,SlotBox.Y1, SlotBox.X2, SlotBox.Y2)
Then
Begin
MouseItem(OrePattern[I],False);
ChooseOption('Dro');
end;
end;
end;It says its a type mismatch, but im sure im doing it right? :s
thanks in advance for any help (and to YoHoJo for making the Tut's)