Mouse-Controlling Autoers

Discussion in 'Neofriends Help and Suggestions' started by Blulightning, Nov 13, 2008.

  1. Blulightning

    Blulightning Level I

    Joined:
    Nov 12, 2008
    Messages:
    87
    Likes Received:
    1
    I have a question, obviously :). When I use SCAR scripts that control the mouse, specifically an Evil Fuzzles Beyond the Stars script I have, I am unable to stop the code so that I can click 'Send Score'. At times I have to restart my computer. Does the code have to be changed, or is there something I can do?

    Here's the code:


    ///////////////////////////////////////////
    // Fuzzle Assassin v2.3 by Arkanor //
    ///////////////////////////////////////////
    //http://neopets.com/games/fuzzles2.phtml//
    ///////////////////////////////////////////
    //Target the game window and start. This//
    //will buy automatically for you... hull //
    //first followed by a weapon. Note that //
    //since TNT has introduced color change, //
    //detection of fuzzles 100% of the time //
    //is fairly impossible. Currently I can //
    //detect over 85% of fuzzles, and mines //
    //perhaps 60-70% of the time. I am in //
    //the process of improving this. //
    ///////////////////////////////////////////
    //<3 to xxkanexx for his arrays tutorial.//
    ///////////////////////////////////////////

    program EvilFuzzles;

    const
    tolerance=10; //tweak this until you get optimum performance. 10 works for me well enough.

    var
    x,y:integer;

    procedure shootfuzzles;
    var
    shoot:Array[1..40] Of integer;
    f:integer;
    begin
    shoot[1]:=2870647;
    shoot[2]:=2805147;
    shoot[3]:=3001726;
    shoot[4]:=3124379;
    shoot[5]:=3722607;
    shoot[6]:=2991515;
    shoot[7]:=2936219;
    shoot[8]:=2739570;
    shoot[9]:=2870683;
    shoot[10]:=2674031;
    shoot[11]:=2858395;
    shoot[12]:=2791796;
    shoot[13]:=3709851;
    shoot[14]:=3722626;
    shoot[15]:=214;
    shoot[16]:=193;
    shoot[17]:=119;
    shoot[18]:=134;
    shoot[19]:=234;
    shoot[20]:=224;
    shoot[21]:=177;
    shoot[22]:=161;
    shoot[23]:=154;
    shoot[24]:=185;
    shoot[25]:=208;
    shoot[26]:=245;
    shoot[27]:=2659440;
    shoot[28]:=3710327;
    shoot[29]:=3709339;
    shoot[30]:=3710327;
    shoot[31]:=13616462;
    shoot[32]:=263357;
    shoot[33]:=263243;
    shoot[34]:=13616487;
    shoot[35]:=2592923;
    shoot[36]:=3707035;
    shoot[37]:=3722608;
    shoot[38]:=3058048;
    shoot[39]:=3708016;
    shoot[40]:=3711354;
    For f:=1 to 40 Do
    if(findcolortolerance(x,y,shoot[f],3,76,597,337,tolerance))then
    clickmouse(x,y,true);
    end;

    procedure buyfromshop;
    var
    c:integer;
    begin
    c:=0;
    repeat
    clickmouse(307,235,true);
    wait(100);
    until(getcolor(403,242)=8413517);
    wait(100);
    repeat
    clickmouse(150,56,true);
    wait(50);
    c:=(c+1);
    until(c=10);
    movemousesmooth(155,225);
    wait(100);
    clickmouse(155,225,true);
    wait(100);
    movemousesmooth(491,336);
    wait(100);
    clickmouse(491,336,true);
    wait(100);
    end;

    begin
    clickmouse(152,286,true);
    wait(200);
    repeat
    repeat
    shootfuzzles;
    until(getcolor(468,288)=52479);
    buyfromshop;
    wait(200);
    clickmouse(369,282,true);
    wait(500);
    clickmouse(300,268,true);
    wait(250);
    until(false);
    end.
     
  2. SoC

    SoC Moderator
    Staff Member

    Joined:
    Jan 24, 2007
    Messages:
    4,551
    Likes Received:
    105
    Location:
    Maaaaaaanchester!
    I think you have to press ESC key or ctrl+s
    or something similar?
    to stop the script
    then u take control of the mouse again.

    however im the worst person to ask about this :p
    so if its wrong, dont shoot me
    <3
     
  3. Blulightning

    Blulightning Level I

    Joined:
    Nov 12, 2008
    Messages:
    87
    Likes Received:
    1
    I'll check it out, escape doesn't work, and I don't know if ctrl+S will only because SCAR isn't the active window... Thanks though!
     
  4. SoC

    SoC Moderator
    Staff Member

    Joined:
    Jan 24, 2007
    Messages:
    4,551
    Likes Received:
    105
    Location:
    Maaaaaaanchester!
    There was an option.
    It may be alt+S

    hover over the stop button in scar,
    and the shortcut should stop up
    or go into preferences somewhere
    im sure theres an "enable XXXX to terminate script running"
    or something.

    If not wait for ricky :p
     
  5. tharoux

    tharoux Level IV

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    CTRL + ALT + S = stop
    The scar windows don't need to be active.

    I know, I'm a god :arf:
     
  6. SoC

    SoC Moderator
    Staff Member

    Joined:
    Jan 24, 2007
    Messages:
    4,551
    Likes Received:
    105
    Location:
    Maaaaaaanchester!
    LOL!
    I got close
    <3

    Dang
     
  7. Blulightning

    Blulightning Level I

    Joined:
    Nov 12, 2008
    Messages:
    87
    Likes Received:
    1
    THANKs! It was a problem :)

    +rep