Results 1 to 11 of 11

Thread: Remove TPoint from TPA or Find Colors Tolerance in Circle ?

  1. #1
    Join Date
    Oct 2009
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Remove TPoint from TPA or Find Colors Tolerance in Circle ?

    Need solution fast. As I checked there is no such function what can find colors from circle..

    Edit:

    Edit2: Captain slows... RemoveDistTPointArray
    Last edited by Neg_; 08-07-2010 at 10:26 AM.

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    use something like FilterPointsPie
    SCAR Code:
    procedure FilterPointsPie(var Points: TPointArray; const SD, ED, MinR, MaxR: Extended; Mx, My: Integer);

    you would use
    SCAR Code:
    procedure FilterPointsPie(ThePoints, 0, 360, 0, 70, MMCX, MMCY);

    i thnk the radius of the MM is 70, it might be more or less, idk

    ~shut
    Last edited by Shuttleu; 08-07-2010 at 11:08 AM.

  3. #3
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    SCAR Code:
    {*******************************************************************************
    function FindColorsPie(var Points: TPointArray; Color, Tol: Integer; StartD,
      EndD, MinR, MaxR: Extended; x1, y1, x2, y2, Mx, My: Integer): Boolean;
    By: Wizzup?, edit by EvilChicken!
    Description: Finds all Colors with tolerance in the Pie, defined by
    x1, y1, x2, y2, Mx, My, StartDegree, EndDegree, MinRadius and MaxRadius.
    *******************************************************************************}

    From Color.scar

    x1, y1, x2, y2 are redundant so just pick the minimap bounds or something.

  4. #4
    Join Date
    Oct 2009
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have already found what I looked for - RemoveDistTPointArray

  5. #5
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  6. #6
    Join Date
    Oct 2009
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    im assuming your making a essence miner?

    ~shut
    Done now, runs really smooth.

    ------ 0 H 30 min 0 s ------
    ------ Banked ~504 ess ------
    Last edited by Neg_; 08-07-2010 at 01:50 PM.

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

    Default

    Why not have your old account unbanned now that you're starting to become more active?
    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

  8. #8
    Join Date
    Oct 2009
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    Why not have your old account unbanned now that you're starting to become more active?
    Banned? no...

    I typed some random letters, and copied it twice to password changing form.


  9. #9
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post

    i thnk the radius of the MM is 70, it might be more or less, idk

    ~shut
    it's around 76 (77) in places, I always use 75 though.

  10. #10
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Neg_ View Post
    Banned? no...

    I typed some random letters, and copied it twice to password changing form.

    You can ask an admin to reset it for you.

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

    Default

    Quote Originally Posted by Neg_ View Post
    Banned? no...

    I typed some random letters, and copied it twice to password changing form.

    Sorry, I thought you were still banned...
    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

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
  •