Well you see, the problem is i tried many ways to make SCAR find the Iron, Tin or Copper Rocks. I tried Auto-Color, but that did not work. I tried FindColorSpiralTolerance, but it kept clicking on my character. And i tried FindColorTolerance, but all it did is click on random stuff.
Now i though of a way to avoid SCAR from choosing the wrong stuff, but that went wrong too.
SCAR Code:unction TempColor : Boolean;
var
Tries : Integer;
begin
repeat
TempIronColor := 2108229;
FindColorTolerance(tx, ty, 2108229, MSX1, MSY1, MSX2, MSY2, 5);
MMouse(tx, ty, 1, 1);
if (IsUpText('Mine')) then
begin
Writeln('Found ' + Players[CurrentPlayer].Strings[0] + ' Rock.');
Result := True;
end;
if (not (IsUpText('Mine'))) then
begin
Writeln('Could not find a ' + Players[CurrentPlayer].Strings[0] + ' Rock.');
Result := False;
Tries := Tries + 1;
if (Tries = 5) then
begin
Writeln('Exiting, could not find any ' + Players[CurrentPlayer].Strings[0] + ' Rock.');
LogOut;
end;
end;
until (Result = True);
end;
I thought that if the IsUpText('Mine') is not there, than it would look for other colors, but it didn't! All it did was just keep on searching on that spot where it previously found the color... Can some one please help me with my Power Multi Mine or Bank. Thanks... If your wonder what it does. It mines from tin, copper and iron. And has the option to bank in veb, akb or feb, using radial walk (Which im still working on.)
Another problem are the FindBlackChatMessage, i tried using it but then it wont find the ('You manage to mine some') message....



Reply With Quote





All I know is that when I put it on 2 it was way more accurate.