Hi, I have been working on my smither script and Cut em 2it has been very nice and helped me get started. I'm trying to make it find the symbol of the anvil next to the bank. I wrote the code and Cut em 2it showed me where I messed up. Here is the code.
SCAR Code:
Procedure WalkToAnvil;
begin
if not FindSymbol(x, y, 'anvil') then
begin
Repeat
i := i + 1;
if (FindColorTolerance(x, y, 2699827, MMX1, MMY1, MMX2, MMY2, 15)) then
begin
Mouse(x, y, 0, 0, True);
FFlag(4);
Break;
end;
until(i = 10);
end else if FindSymbol(x, y, 'anvil') then
begin
Mouse(x, y, 4, 4, true);
FFlag(4);
end;
end;
It will compile, run and terminate. It doesn't seem to find the symbol or anything. I have read up on alot of tuts and I am kind of getting the hang of it. Any help would be appreciated. =]
Also, should I find the anvil using the colors of it, bitmaps, or something else?