Page 14 of 21 FirstFirst ... 41213141516 ... LastLast
Results 326 to 350 of 505

Thread: Al's LRC Fisher

  1. #326
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    i start the script it stops and this error shows

    [Error] (43:35): Unknown identifier 'MMCX' at line 42
    Compiling failed.

    could you tell me how to fix it or help me through team viewer please?

  2. #327
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    i start it and it just stands there near bank, then i added the img as it says, and then the bot stops with an error as line 42.

  3. #328
    Join Date
    Mar 2012
    Posts
    426
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by N3mo View Post
    i start the script it stops and this error shows

    [Error] (43:35): Unknown identifier 'MMCX' at line 42
    Compiling failed.

    could you tell me how to fix it or help me through team viewer please?
    Quote Originally Posted by N3mo View Post
    i start it and it just stands there near bank, then i added the img as it says, and then the bot stops with an error as line 42.
    All I can suggest is make sure everything is up to date and if that doesn't work you could try reinstalling Java and Simba from scratch.
    - My Scripts (Beginning to Update to SRL 6) -

  4. #329
    Join Date
    Dec 2011
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Exp/hr?

  5. #330
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by MotorMouse View Post
    Last request please,
    Could you add anti-leech?
    Rocktails are dropping like hell D:
    Well its leech free I assume because we don't care about the prices... it makes cooking cheaper / rocktail cheaper for PVM/PVP situations

  6. #331
    Join Date
    May 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Doesn't work for me :/
    How do I put the map in the program?
    Simba FTW

  7. #332
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by TrueExpressions View Post
    Doesn't work for me :/
    How do I put the map in the program?
    you have to actually go into the simba files in simba in your desktop browser thing, then follow the instructions. (sorry about my bad explanation)

    also

    90-95 fishing doing this going for 99

    ================================================== ==================
    ************************ Als LRC Fisher ****************************
    ================================================== ==================
    You have caught 262 fish. That equals 93 fish per hour!
    You have gained 99560 xp. That equals xp per hour!


    not my best proggy but one for the thread, another will be here when i have 99!

  8. #333
    Join Date
    Apr 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Fixed.
    Last edited by ekolan88; 06-17-2012 at 12:47 PM.

  9. #334
    Join Date
    May 2012
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice script.. im almost 90 fishinig now, so will soon catch rocktails! Thank you!
    Sorry if bad english

  10. #335
    Join Date
    Apr 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Bot4Fun View Post
    Nice script.. im almost 90 fishinig now, so will soon catch rocktails! Thank you!
    the same place as where you can DL the script, bottom of the very first posts

  11. #336
    Join Date
    May 2012
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ekolan88 View Post
    the same place as where you can DL the script, bottom of the very first posts
    Sorry for editing my post.. lol must have done it just before u answered. I found it my self, and then i thought my post was really dumb.
    Sorry if bad english

  12. #337
    Join Date
    May 2012
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    When i try to run the script, it opens a new tab named "sps" and i get this error,

    [Error] C:\Simba\Includes\sps/sps.simba(38:17): Unknown type 'T4DIntegerArray' at line 37
    Compiling failed.
    [Error] (38:17): Unknown type 'T4DIntegerArray' at line 37
    Compiling failed.

    It is this script:

    Simba Code:
    *
    SPS ~ SRL Positioning System
    ============================

    Concept and original work done by marpis @ SRL-Forums.

    *)

    {$loadlib sps}

    const
      // Path where all the SPS files are
      SPS_IMG_PATH   = IncludePath + 'SPS\img\';
      SPS_IMG_FMT    = '.png';

      // Supported SPS surfaces
      RUNESCAPE_SURFACE    = 1;
      DUNGEON_ESSENCE_MINE = 2;
      DWARVEN_MINE         = 3;
      RUNECRAFTING_ALTARS  = 4;
      DOMINION_TOWER       = 5;

    type
      TSPSSurface = record
        Name, ImagePath: string;
        Constant: integer;
        FactorX, FactorY: integer; // used in SPS_LocalToGlobal
        TileOffsetX, TileOffSetY: extended; // used for tile <-> SPS conversions
        Tolerance: extended;
      end;

    // SPS Global variables
    var
      SPS_Loaded, SPS_Debug, SPS_Continue: boolean;
      SPS_Areas: TStringArray;
      SPS_Surface: TSPSSurface;
      SPS_Worldmap: T4DIntegerArray;

    procedure SPS_DebugStr(msg: string);
    begin
      if (SPS_Debug) then
        Writeln('[SPS] '+msg);
    end;

    // Should be called in scripts to setup SPS
    // Needs to be called each time the surface changes (i.e. from runescape_surface to essence_mine)
    procedure SPS_Setup(surface: integer; areas: TStringArray);
    begin
      SPS_Areas := areas;

      case surface of
        RUNESCAPE_SURFACE:
          with SPS_Surface do
          begin
            Name        := 'Runescape Surface';
            ImagePath   := SPS_IMG_PATH + 'runescape_surface\';
            FactorX     := 400;
            FactorY     := 400;
            TileOffsetX := -1;
            TileOffSetY := -1;
            Tolerance   := 0.3;
          end;

        DUNGEON_ESSENCE_MINE:
          with SPS_Surface do
          begin
            Name        := 'Essence Mine';
            ImagePath   := SPS_IMG_PATH + 'essence_mine\';
            FactorX     := 400;
            FactorY     := 1;
            TileOffsetX := -1;
            TileOffSetY := -1;
            Tolerance   := 0.5;
          end;

        DWARVEN_MINE:
          with SPS_Surface do
          begin
            Name        := 'Dwarven Mine';
            ImagePath   := SPS_IMG_PATH + 'dwarven_mine\';
            FactorX     := 400;
            FactorY     := 340;
            TileOffsetX := -1;
            TileOffSetY := -1;
            Tolerance   := 0.35;
          end;

        RUNECRAFTING_ALTARS:
          with SPS_Surface do
          begin
            Name        := 'Runecrafting Altars';
            ImagePath   := SPS_IMG_PATH + 'runecrafting_altars\';
            FactorX     := 400;
            FactorY     := 400;
            TileOffsetX := -1;
            TileOffSetY := -1;
            Tolerance   := 0.5;
          end;

        DOMINION_TOWER:
          with SPS_Surface do
          begin
            Name        := 'Dominion Tower';
            ImagePath   := SPS_IMG_PATH + 'dominion\';
            FactorX     := 400;
            FactorY     := 400;
            TileOffsetX := -1;
            TileOffSetY := -1;
            Tolerance   := 0.3;
          end;
      end;

      SPS_Surface.Constant := surface;

      if (SPS_Debug) then
      begin
        SPS_DebugStr('[SPS] SPS_Surface: ' + SPS_Surface.Name);
        SPS_DebugStr('[SPS] SPS_Areas: ' + toStr(SPS_Areas));
      end;

      SPS_Loaded := false;
    end;

    procedure SPS_WarnUser(proc, error: string);
    begin
      if (not SPS_Continue) then
      begin
        ShowMessage('SPS: ' + error + ' in ' + proc + #10+#13+#10+#13+
          'Please run Simba as an administrator by right clicking and ' + #10+#13+
          'choosing "Run as administrator."  You may also have to restart ' + #10+#13+
          'Simba a few times.  ' + #10+#13+#10+#13+'Sorry for the inconvenience.');
        TerminateScript();
      end;
    end;

    // Gets the map pieces that appear on the minimap
    function SPS_GatherMinimap: T3DIntegerArray;
    var
      bmp: TMufasaBitmap;
      c: TClient;
    begin
      try
        bmp := TMufasaBitmap.Create;
        bmp.SetSize(100, 100);

        c := getTClient;
        bmp.CopyClientToBitmap(
            c.IOManager, false, 0,0, MMCX-50, MMCY-50, MMCX+50, MMCY+50
          );

        Result := SPS_BitmapToMap(bmp);
      finally
        bmp.free;
      except
        SPS_DebugStr('[ERROR] in SPS_GatherMinimap: '+ExceptionToString(ExceptionType, ExceptionParam));
        SPS_WarnUser('SPS_GatherMinimap', ExceptionToString(ExceptionType, ExceptionParam));
      end;
    end;

    procedure SPS_GetAreaCoords(Area: string; var x, y: integer);
    var
      p: integer;
    begin
      p := pos('_', Area);
      if (p <= 0) then
        // raise an exception if Area is of wrong format
        RaiseException(erCustomError, 'Invalid Area passed: ' + area);

      x := StrToIntDef(copy(Area, 1, p-1), -1);
      y := StrToIntDef(copy(Area, p+1, Length(Area)-p), -1);

      SPS_DebugStr(format('[SPS] Area coords (%d, %d)', [x, y]));
    end;

    // Converts a point from a map piece to a point on the entire map
    function SPS_LocalToGlobal(Area: string; x, y: integer): TPoint;
    var
      cx, cy: integer;
    begin
      SPS_GetAreaCoords(Area, cx, cy);
      Result.x := cx * SPS_Surface.FactorX + x;
      Result.y := cy * SPS_Surface.FactorY + y;
    end;

    // Gets SPS ready to be used (this doesn't have to be called in scripts)
    procedure SPS_Load;
    var
      L, i, timer : integer;
      img: TMufasaBitmap;
    begin
      timer := getSystemTime;
      L := Length(SPS_Areas);

      if (L <= 0) then
      begin
        SPS_DebugStr('[SPS] WARNING: SPS_Areas hasn''t been set');
        exit;
      end;

      if (SPS_Surface.Name = '') then
      begin
        SPS_DebugStr('[SPS] WARNING: SPS_Surface isn''t set! Using Runescape Surface as default');
        SPS_Setup(RUNESCAPE_SURFACE, SPS_Areas);
      end;

      // clean up the old one just in case, we do not want copies in wrong places.
      SetLength(SPS_WorldMap, 0);
      SetLength(SPS_Worldmap, L);

      for i := L-1 downto 0 do
      begin
        try
          img := TMufasaBitmap.Create;
          img.LoadFromFile(SPS_Surface.ImagePath + SPS_Areas[i] + SPS_IMG_FMT);
          SPS_Worldmap[i] := SPS_BitmapToMap(img);
        finally
          img.free;
        except
          SPS_DebugStr('[SPS] ERROR: SPS_Load: '+ExceptionToString(ExceptionType, ExceptionParam));
          SPS_WarnUser('SPS_Load', ExceptionToString(ExceptionType, ExceptionParam));
        end;
      end;

      SPS_DebugStr('[SPS] Maps loaded in '+ToStr(getSystemTime - timer)+'ms.');
      SPS_Loaded := True;
    end;

    // Returns the SPS position of the player
    function SPS_GetMyPos: TPoint;
    var
      Minimap: T3DIntegerArray;
      t, map, ang: integer;
    begin
      Result := Point(-1, -1);

      if not LoggedIn then
        Exit;

      if not SPS_Loaded then
        SPS_Load;

      // we should just rotate the minimap according to the minimap angle.
      ang := round(rs_GetCompassAngleDegrees());
      SPS_DebugStr('[SPS] Compass Angle: '+toStr(ang));

      if (inRange(ang, 10, 350)) then
        {$IFDEF SRL5}
        ClickNorth(SRL_ANGLE_HIGH);
        {$ELSE}
        ClickNorth(True);
        {$ENDIF}

      t := getSystemTime;
      Minimap := SPS_GatherMinimap;
      if (High(Minimap) < 0) then
      begin
        SPS_DebugStr('[SPS] Did not gather Minimap.');
        Exit;
      end;

      try
        map := SPS_FindMapInMapEx(
            Result.X, Result.Y, SPS_Worldmap, Minimap, SPS_Surface.Tolerance
          );

        if ((Result.X > 0) and (Result.Y > 0)) then
        begin
          Result := SPS_LocalToGlobal(SPS_Areas[map], Result.X, Result.Y);
        end;

        SPS_DebugStr(format('[SPS] GetMyPos: Finished in %d ms. Location = %s',
            [getSystemTime - t, toStr(result)]));

      except
        SPS_DebugStr('[SPS] ERROR in SPS_GetMyPos: ' + ExceptionToString(ExceptionType, ExceptionParam));
        SPS_WarnUser('SPS_GetMyPos', ExceptionToString(ExceptionType, ExceptionParam));
      end;
    end;

    // Converts an SPS pos to a tile
    function SPS_PosToTile(pos: TPoint): TPoint;
    begin
      result := point(-1, -1);

      if (SPS_Surface.TileOffsetX = -1) then
      begin
        SPS_DebugStr('No conversion available for ' + SPS_Surface.Name);
        exit;
      end;

      result.X := round(SPS_Surface.TileOffsetX + (pos.x / 4));
      result.Y := round(SPS_Surface.TileOffsetY - (pos.y / 4));
    end;

    // Converts a tile to and SPS point, or "pos"
    function SPS_TileToPos(tile: TPoint): TPoint;
    begin
      result := point(-1, -1);

      if (SPS_Surface.TileOffsetX = -1) then
      begin
        SPS_DebugStr('No conversion available for ' + SPS_Surface.Name);
        exit;
      end;

      result.X := round((tile.x - SPS_Surface.TileOffsetX) * 4);
      result.Y := round((SPS_Surface.TileOffsetY - tile.y) * 4);
    end;

    // Converts a tile path to an SPS path
    function SPS_TilePathToPos(tiles: TPointArray): TPointArray;
    var
      i: integer;
    begin
      setLength(result, length(tiles));

      for i := 0 to high(result) do
        result[i] := SPS_TileToPos(tiles[i]);
    end;

    // Finds position P in minimap by checking your own location
    function SPS_PosToMM(P: TPoint): TPoint;
    var
      MyPos: TPoint;
    begin
      if not LoggedIn then Exit;
      Result := Point(-1, -1);
      MyPos := SPS_GetMyPos;
      if Distance(MyPos.X, MyPos.Y, P.X, P.Y) < 72 then
        Result := Point(MMCX + P.X - MyPos.X,
                        MMCY + P.Y - MyPos.Y);
    end;

    // Walks to position. If walking paths, please use WalkPath.
    function SPS_WalkToPos(P: TPoint): boolean;
    var
      MM: TPoint;
    begin
      if not LoggedIn then Exit;
      MM := SPS_PosToMM(P);

      if (MM.X > 0) then
      begin
        Mouse(MM.X, MM.Y, 0, 0, True);
        if WaitFunc(@IsMoving, 1, 3000 + random(500)) then
          while IsMoving do
            Flag;
        Result := True;
      end;
    end;

    // Returns true if the point "Pt" is on the minimap
    function SPS_PosOnMM(Pt: TPoint): Boolean;
    var
      p: TPoint;
    begin
      p := SPS_PosToMM(Pt);
      Result := rs_OnMinimap(p.x, p.y);
    end;

    // Walks the path "Path"; always walks to the furthest point possible
    function SPS_WalkPath(Path: TPointArray): boolean;
    var
      I, H, T, D: integer;
      P, MM: TPoint;
    begin
      H := High(Path);
      T := GetSystemTime + 20000 + Random(5000);
      while (not Result) and (GetSystemTime < T) do
      begin
        RunEnergy(20);
        FindNormalRandoms();

        P := SPS_GetMyPos;
        for I := H downto 0 do
        begin
          MM.X := MMCX + Path[I].X - P.X;
          MM.Y := MMCY + Path[I].Y - P.Y;

          D := Distance(MM.X, MM.Y, MMCX, MMCY);

          if (D < 10) then
            break
          else begin
            if (D < 70) then
            begin
              MouseFlag(MM.X, MM.Y, 0, 0, Integer(I<>H)*15);
              T := getSystemTime + 20000 + Random(1000);
                Break;
            end;
          end;
        end;

        Result := (I = H);
      end;
    end;
    Sorry if bad english

  13. #338
    Join Date
    Apr 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Have you read the entire first post regarding the img?
    There is a quote that explains about the picture, that seems to be the common problem


    Click on the picture to enlarge it, then right click it to download it.
    Move it into the proper folder, and hit F5 to refresh.
    Restart Simba and it should work

    If this had supported familiar's i would had married it and had it's babies.

    Plan on running this to 99' will keep you guys updated
    Last edited by ekolan88; 06-17-2012 at 01:14 PM.

  14. #339
    Join Date
    May 2012
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can see how this problem should have any connection to the picture anyway? It seems to be a problem with my sps?

    And i cant "download" the picture, i can only "save picture as?"
    Sorry if bad english

  15. #340
    Join Date
    Mar 2008
    Location
    Strip bars
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default


  16. #341
    Join Date
    Jun 2012
    Location
    ScapeRune
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    My account never got stuck and i have been running this script for 48+ hours right now.


    Small proggy:


    Simba Code:
    ====================================================================
    ************************ Als LRC Fisher ****************************
    ====================================================================
    You have caught 258 fish. That equals 108 fish per hour!
    You have gained 98040 xp. That equals  xp per hour!
    ====================================================================
    ************************ Als LRC Fisher ****************************
    ====================================================================

  17. #342
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by allanlin View Post
    you get banned?

  18. #343
    Join Date
    May 2012
    Location
    Draynor Willows
    Posts
    498
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Would it be possible to have it anti-banning or something while waiting for hp to get back up? It normally logs me out and then doesn't manage to realise that it is logged out. >.<

  19. #344
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    ""Quote:
    Originally Posted by N3mo
    i start the script it stops and this error shows

    [Error] (43:35): Unknown identifier 'MMCX' at line 42
    Compiling failed.

    could you tell me how to fix it or help me through team viewer please?
    Quote:
    Originally Posted by N3mo
    i start it and it just stands there near bank, then i added the img as it says, and then the bot stops with an error as line 42.
    All I can suggest is make sure everything is up to date and if that doesn't work you could try reinstalling Java and Simba from scratch.""



    Everything is up to date, i've reinstalled java and simba several times still doesnt work.

  20. #345
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    I start the scrip (picture is in place), runescpae loads, my account is logged into world 88, the this error comes up.

    Error: Exception: Access violation at line 305
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, 4]

    Anybody please help.
    $5 donation for your help if it works.

  21. #346
    Join Date
    Apr 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by N3mo View Post
    I start the scrip (picture is in place), runescpae loads, my account is logged into world 88, the this error comes up.

    Error: Exception: Access violation at line 305
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, 4]

    Anybody please help.
    $5 donation for your help if it works.
    Did you copy paste the script og DL it to Simba?

    The most common issues:
    Simba SRL / SPS and so on is out of date
    -Try to update everything, if not reinstall simba and run updates again

    Copy pasted the script into Simba
    -Download it instead

    The last option could be the picture.
    -Remember to left click on the small picture on the first page, when it pops up to the larger version, right click and save it (make sure to check the spelling!)


    I had a few problems myself with it since im new to Simba, but doing thoose 3 steps made everything work


    Quote Originally Posted by TehNeonFishy View Post
    Would it be possible to have it anti-banning or something while waiting for hp to get back up? It normally logs me out and then doesn't manage to realise that it is logged out. >.<
    Are you using world 88?
    If not do that, and just wear some basic armour like granite or so..
    36 hours not, and i haven't been hit one time
    Last edited by ekolan88; 06-18-2012 at 02:13 PM.

  22. #347
    Join Date
    Nov 2006
    Location
    Planet Earth
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Looks like this script has gotten alot of attention, perhaps on your top post it would be neat to post where it fishes etc, what requirements you need etc.

  23. #348
    Join Date
    Apr 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OMG, Great script running it for 3 hours now.

  24. #349
    Join Date
    Dec 2011
    Posts
    164
    Mentioned
    4 Post(s)
    Quoted
    23 Post(s)

    Default

    When I first ran this script and it was still very new, I kept getting killed by the orge deals, but now with the LRC miner and this fisher, It's like the old reflection days down there

    Thank you so much for this script, I'll try to get a proggy to you ASAP.

  25. #350
    Join Date
    Jun 2012
    Location
    ScapeRune
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Once again such an amazing script! and i will keep firing these proggy's at you!






Page 14 of 21 FirstFirst ... 41213141516 ... LastLast

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
  •