Results 1 to 3 of 3

Thread: Minecraft? Specifically Fishing?

  1. #1
    Join Date
    Apr 2012
    Location
    Vancouver, BC
    Posts
    291
    Mentioned
    1 Post(s)
    Quoted
    84 Post(s)

    Default Minecraft? Specifically Fishing?

    Hi Folks,

    Dont suppose any has or knows of some stellar minecraft scripts? I tried an AFK fishing script and couldnt get it to work and remember some pretty amazing scripts from when I played RS. Wondered if anyone made the transition to MC since it seems ideal to SRL.

    Thanks!

    Wika

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Simba Code:
    {$f-}

    type
      TMinecraft = record
        X, Y, W, H : Integer;
        process : TSysProc;
      end;

    procedure TMinecraft.init();
    var
      I : Integer;
      procArr := getProcesses();
    begin
      for I := 0 to high(procArr) do
        if procArr[I].title = 'Minecraft 1.8' then // Update this
        begin
          self.process := procArr[I];
          break();
        end;
      if self.process.title = '' then exit();
      getClientPosition(self.X, self.Y);
      getClientDimensions(self.W, self.H);
      setDesktopAsClient();
    end;

    function locateFishingLine(): TPoint;
    begin
      findColor(result.X, result.Y, 0, 900, 400, 1400, 600); // Enter searcharea for black fishing line
      result.X += 7;
      result.Y += 7;
    end;

    var
      minecraft : TMinecraft;
      P, M : TPoint;

    begin
      minecraft.init();
      while not isKeyDown(VK_E) do
      begin
        P := locateFishingLine();
        writeLn('Looking at: ', P);
        repeat
          wait(50);
          M := locateFishingLine();
        until (M.Y > (P.Y + 5));
        writeLn('Caught one! ', M);
        getMousePos(M.X, M.Y);
        clickMouse(M.X, M.Y, mouse_Right);
        wait(100);
        clickMouse(M.X, M.Y, mouse_Right);
        wait(3000);
      end;
    end.

    {$f+}
    This is a script I used to fish in Minecraft on 1920x1080 resolution.

    Update the script by entering the updated system process title instead of "Minecraft 1.8" and enter your own dimensions for the black fishing line search area.
    As it is currently, the script will run for as long as the button e has not been pressed on the keyboard.

  3. #3
    Join Date
    Jan 2012
    Location
    in a galaxy far far away
    Posts
    371
    Mentioned
    3 Post(s)
    Quoted
    48 Post(s)

    Default

    Quote Originally Posted by digitalninja View Post
    Hi Folks,

    Dont suppose any has or knows of some stellar minecraft scripts? I tried an AFK fishing script and couldnt get it to work and remember some pretty amazing scripts from when I played RS. Wondered if anyone made the transition to MC since it seems ideal to SRL.

    Thanks!

    Wika
    ive seen an actual minecraft bot thing. not sure what its called but this guy on yt "f1nnister" has used it and a simple mouse recorder can probably work on mc to be fair
    >:)

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
  •