Results 1 to 6 of 6

Thread: Coloring broken?

  1. #1
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default Coloring broken?

    I'm using ACA, and like, the WHOLE guy is covered, plug in numbers, run script, nothing, doesn't find ONE point.


    Edit: :| ACA finds color, doesn't find it in script.
    Simba Code:
    function FindJudge(var x,y:integer):Boolean;
    var
       a : Integer;
      TPA  : TPointArray;
      ATPA : T2DPointArray;
      MP   : TPoint;
      tmpCTS,Clicked : Integer;
      Box,SearchArea  : TBox;
    begin
      FindNormalRandoms;
      SMART_ClearCanvas;
      if not LoggedIn then Exit;
      Writeln('Starting hunt for judge...');
     tmpCTS := GetColorToleranceSpeed;
     ColorToleranceSpeed(2);
     SetColorSpeed2Modifiers(0.23,0.95);
     SearchArea := IntToBox((MSCX - 150),(MSCY - 150),(MSCX + 150),(MSCY+150));
     SMART_DrawBoxEx(False,SearchArea,clPurple);
      FindColorsSpiralTolerance(MSCX,MSCY,TPA,2768457,MSCX -150,MSCY - 150 ,MSCX+150,MSCY+150,15);
      SortTPAFrom(TPA,point(MSCX,MSCY));
      ATPA := TPAtoATPAEx(TPA,15,15);
      for a := 0 to High(ATPA) do
      begin
        MP := MiddleTPA(ATPA[a]);
        Box := IntToBox((MP.x - 20),(MP.y - 20),(MP.x + 20),(MP.y + 20));
        SMART_DrawBoxEx(False,Box,clYellow);
        MMouse(MP.x,MP.y,4,4);
        if(WaitUpText('udge',5000))then
        begin
            x := MP.x; y := MP.y;
            SMART_ClearCanvas;
            Mouse(x,y,0,0,False);
            Wait(RandomRange(200,400));
            ChooseOption('Compete');
           WaitOnText(['Yes','es'],Clickleft,5000);
      end;
      Break;
      ColorToleranceSpeed(tmpCTS);
      SetColorSpeed2Modifiers(0.2,0.2);
      Writeln('...finished buying');
     end;
     Wait(500);
    end;
    Last edited by NKN; 04-22-2012 at 03:05 AM.

  2. #2
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    checking

    Simba Code:
    FindColorsSpiralTolerance(MSCX,MSCY,TPA,2768457,MSCX -150,MSCY - 150 ,MSCX+150,MSCY+150,15);
    needs to be edited. your function always stores it as MSCX, MSCY
    Last edited by tehq; 04-22-2012 at 02:50 AM.

  3. #3
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    What should I change it to, x,y?
    Edit: Still not working, read top edit?
    Last edited by NKN; 04-22-2012 at 02:54 AM.

  4. #4
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    Yeah x, y and if it still doesn't work i think i see something else wrong, but i'll wait to tell.

  5. #5
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Can you confirm if this fits the description? http://villavu.com/forum/showthread.php?t=72742

    It could be that but I declared it solved as it no longer happened. Specifically my second post would suit your description so far.

    Also if you didn't know, ACA has well.. been updated in the form of an extension as something was wrong with the colours it gave out. I think it was some kind of calculation multiplied by 100. Cannot seem to find the extension though and don't know what happened to it's development.
    I am Ggzz..
    Hackintosher

  6. #6
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    It seems I had the same problem, I just changed it to CST1, which works, I guess.

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
  •