Results 1 to 11 of 11

Thread: SMART messing up colors

  1. #1
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default SMART messing up colors

    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
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  2. #2
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Awkwardsaw View Post
    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
    I use it daily for script's I'm working on and never have an issue with it.

  3. #3
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    I use it daily for script's I'm working on and never have an issue with it.
    well then, what could i be doing wrong?

    all my graphic options are set correctly
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  4. #4
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    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.

  5. #5
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    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;
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  6. #6
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Same thing used to happen with autocolours on my pc. Never found a fix.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  7. #7
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Awkwardsaw View Post
    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;
    Perhaps it's something to do with your reflection?

  8. #8
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.
    “Ignorance, the root and the stem of every evil.”

  9. #9
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    Perhaps it's something to do with your reflection?
    nopes, when i was painting on the smart canvas, i forgot to change the DC or what ever back to rs's. so scar was looking at the SMART canvas instead of the RS one
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  10. #10
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Awkwardsaw View Post
    nopes, when i was painting on the smart canvas, i forgot to change the DC or what ever back to rs's. so scar was looking at the SMART canvas instead of the RS one
    Ok, so you have it fixed then?

  11. #11
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    Ok, so you have it fixed then?
    si, thanks though
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •