Results 1 to 5 of 5

Thread: SaveTheGoldFish script help

  1. #1
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    153
    Mentioned
    1 Post(s)
    Quoted
    7 Post(s)

    Unhappy SaveTheGoldFish script help

    http://www.youtube.com/watch?v=1MoztUSBI6o


    Why does my the mouse go all flashy and jumps around everywhere when It catches the fish... Also my script is written exactly like YoHoJo's..

    program SaveTheGoldfish;

    procedure StartGame;
    begin
    MoveMouse(238, 356);
    ClickMouse(238, 356, 1);
    Wait(200);
    MoveMouse(381, 326);
    ClickMouse(381, 326, 1);
    Wait(200);
    MoveMouse(345, 155);
    ClickMouse(345, 155, 1);
    end;

    procedure SaveGoldfish;
    var
    x, y:Integer;
    begin
    if FindColorSpiralTolerance(x, y, 1471228 , 22, 29, 261, 231, 20) or
    FindColorSpiralTolerance(x, y, 869620 , 22, 29, 261, 231, 20) or
    FindColorSpiralTolerance(x, y, 1204732 , 22, 29, 261, 231, 20) or
    FindColorSpiralTolerance(x, y, 549886 , 22, 29, 261, 231, 20) then
    Begin
    MoveMouse(x, y);
    HoldMouse(x, y, 1);
    MoveMouse(371, 50);
    ReleaseMouse(371, 50, 1);
    end;
    end;


    begin
    StartGame;
    repeat
    SaveGoldfish;
    until(false);
    end.


    EDIT: Still waiting.....
    Last edited by Timba; 03-26-2012 at 09:50 PM.

  2. #2
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    153
    Mentioned
    1 Post(s)
    Quoted
    7 Post(s)

    Default

    70 views and no one helps.. WTH IS WRONG WITH THIS SCRIPT


  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    When posing code, put simba tags around it.

    Very weird, try lowering the tolerances from 20 to 10 maybe?

  4. #4
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    153
    Mentioned
    1 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    When posing code, put simba tags around it.

    Very weird, try lowering the tolerances from 20 to 10 maybe?

    Already tried that :/ didn't work. And what are Simba tags?

  5. #5
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default


    Click that picture, then post your code in between the ] [ s

    So it looks nice like this
    Simba Code:
    program SaveTheGoldfish;

    procedure StartGame;
    begin
      MoveMouse(238, 356);
      ClickMouse(238, 356, 1);
      Wait(200);
      MoveMouse(381, 326);
      ClickMouse(381, 326, 1);
      Wait(200);
      MoveMouse(345, 155);
      ClickMouse(345, 155, 1);
    end;

    procedure SaveGoldfish;
    var
      x, y:Integer;
    begin
      if FindColorSpiralTolerance(x, y, 1471228 , 22, 29, 261, 231, 20) or
      FindColorSpiralTolerance(x, y, 869620 , 22, 29, 261, 231, 20) or
      FindColorSpiralTolerance(x, y, 1204732 , 22, 29, 261, 231, 20) or
      FindColorSpiralTolerance(x, y, 549886 , 22, 29, 261, 231, 20) then
      Begin
        MoveMouse(x, y);
        HoldMouse(x, y, 1);
        MoveMouse(371, 50);
        ReleaseMouse(371, 50, 1);
      end;
    end;


    begin
      StartGame;
      repeat
        SaveGoldfish;
      until(false);
    end.

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
  •