either smart is messing up colors, or i am just really stupid..
but whenever i use SMART, things like flag; and my object finder(which is usually really good) always fails
Printable View
either smart is messing up colors, or i am just really stupid..
but whenever i use SMART, things like flag; and my object finder(which is usually really good) always fails
Try messing with tolerances.
Also, if that doesn't work, maybe post your code that's messing up? I don't see how Flag; would be messing up though.
the only parts that messes up that i'm concerned with is:
flag
ismoving - in animation.scar
i use it in:
SCAR Code:{*******************************************************************************
Function WalkToTile(Tile: TPoint; Randomness, FlagD: Integer): Boolean;
By: Wizzup and TheGuyWhoGotOn, small edit from awkwardsaw
Description: Walks to the tile using minimap.
*******************************************************************************}
function WalkToTile(Tile: TPoint; Randomness, FlagD: Integer): Boolean;
var
wTile : TPoint;
begin
Result := False;
Tile := Point(RandomRange(Tile.X-Randomness, Tile.X+Randomness), RandomRange(Tile.Y-Randomness, Tile.Y+Randomness));
wTile := TileToMM(Tile);
if not rs_OnMiniMap(wTile.X, wTile.Y) then
Exit;
if DistanceFrom(wTile) < 6 then
Exit;
Mouse(wTile.x, wTile.y, 0, 0, true);
Wait(RandomRange(80, 100));
flag; //here
Result := true;
end;
Same thing used to happen with autocolours on my pc. Never found a fix.
do you call a setColorTolerance(x) and not set it back or set the modifiers and not set them back. That happened to me once and I almost pulled my hair out when I found out.