Results 1 to 3 of 3

Thread: Help with script?

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Help with script?

    I'm working on a simple powerfisher to get me 76 fishing. It all compiles but i have a problem while running it.

    First of all this is the procedure:
    SCAR Code:
    procedure FindFish;
    var
    Spot: TNPCArray;
    begin
      if StillFishing then
      begin
        Exit;
      end;
      if FindFishingSpot(x, y) then
      begin
        if IsUpText('ure') then
        begin
          Mouse(x, y, 5, 5, True);
          NoRandoms;
          AntiBan(50);
          if(GetAnimation = 623) then
          begin
            FFDebug('We are fishing.');
            Exit;
            if not FindFishingSpot(x, y) then
            begin
              Relocate;
            end;
            if not(GetAnimation = 623) then
            begin
              FFDebug('Unable to fish..');
              CheckInventory;
              AntiBan(50);
            end;
          end;
        end;
      end;
    end;

    The StillFishing function is just to check if we are still fishing. It was meant to stop this procedure when it see's that it the character is fishing. But instead, after it finds out it is fishing, it clicks the fishing spot again. Can anybody tell me what i'm doing wrong?

  2. #2
    Join Date
    Feb 2006
    Location
    Pennsylvania
    Posts
    1,524
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    If your problem is that it is clicking it is because you have
    SCAR Code:
    Mouse(x, y, 5, 5, True);

  3. #3
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    wow, how didn't i catch that thanks. rep+

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
  •