Results 1 to 7 of 7

Thread: [In Progress] Shilo Village Fly Fisher

  1. #1
    Join Date
    Oct 2008
    Location
    Hawaii
    Posts
    228
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [In Progress] Shilo Village Fly Fisher

    Over the next couple weeks I will be developing a Shilo Village fly fisher. This will be my first script I am writing, I've watched tutorials and I think I am ready. If anyone has some tips, please let me know.

  2. #2
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Read Flight's tutorial on pixel shift detection. It'll help you a lot with detecting if you are fishing or not. Then read up on how to use SPS and such to make it easier for you to start out.
    Simba Code:
    (* Main *)

    repeat
      WriteLn('I am an idiot!');
    until(False);

  3. #3
    Join Date
    Oct 2008
    Location
    Hawaii
    Posts
    228
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by RISK View Post
    Read Flight's tutorial on pixel shift detection. It'll help you a lot with detecting if you are fishing or not. Then read up on how to use SPS and such to make it easier for you to start out.
    Thanks for the advice, I will start reading up.

  4. #4
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Heya, best of luck to ya bud. I've found pixelshift won't work so well for detecting something low-scale like pole-fishing. In my newest Barb Fly-Fisher I made a simple way for detecting fishing by looking for our player's pole in a very specific spot.

    Here's mine for detecting pole-fishing if the camera is west: (west only)
    Simba Code:
    Function IsPoleFishing: Boolean;
      var
        CTS,i: Integer;
        TPA: TPointArray;
        PColors,Tols: TIntegerArray;
        HMods,SMods: Array of Extended;  //An array of extended intergers, like a boss...
      begin
        CTS := GetColorToleranceSpeed;

        PColors := [727590, 727848, 793897, 793897];
        HMods := [0.26, 0.21, 0.15, 0.16];
        SMods := [0.50, 1.39, 0.47, 0.78];
        Tols  := [2, 2, 3, 5];

        for i := 0 to High(PColors) do
        begin
          ColorToleranceSpeed(2);
          SetColorSpeed2Modifiers(HMods[i], SMods[i]);
          FindColorsSpiralTolerance(257, 200, TPA, PColors[i], 250, 190, 273, 225, Tols[i]);
          ColorToleranceSpeed(CTS);
          Result := (Length(TPA) > 0);

          if Result then Exit;

        end;

      end;

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  5. #5
    Join Date
    Oct 2008
    Location
    Hawaii
    Posts
    228
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for everything! I have been at this for an hour and I am getting stuck a lot. Flight, I have no idea how you put scripts together so fast.

  6. #6
    Join Date
    Feb 2012
    Location
    California
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I just put out my first script as well . Let me know if you'd like some help as Im currently just sitting around running Ghouler haha

  7. #7
    Join Date
    Oct 2008
    Location
    Hawaii
    Posts
    228
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah dude, I need to know where you started. I'm having an unbelievably hard time.

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
  •