Results 1 to 4 of 4

Thread: Bandits afk

  1. #1
    Join Date
    Feb 2014
    Location
    TORONTO, ONTARIO, CANADA
    Posts
    87
    Mentioned
    1 Post(s)
    Quoted
    49 Post(s)

    Default Bandits afk

    hey,

    looking for someone to make me a simple combat script. all it needs to do is stay at bandits at the bandit camp in the pub and use thresholds with revolution. And something that logs back in after 6 hour limit. I am using sgs so don't need food but i do need waterskins.

    Thanks

  2. #2
    Join Date
    Mar 2013
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    41 Post(s)

    Default

    Go to bandits, turn on auto retaliate, wear enchanted water tiara. There you go, infinite xps

  3. #3
    Join Date
    Feb 2014
    Location
    TORONTO, ONTARIO, CANADA
    Posts
    87
    Mentioned
    1 Post(s)
    Quoted
    49 Post(s)

    Default

    Quote Originally Posted by luxrath View Post
    Go to bandits, turn on auto retaliate, wear enchanted water tiara. There you go, infinite xps
    but i need threshold cause that way sgs heals faster, and i need to be loged in every 6 hours.

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Simba Code:
    program iBandits;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}

    ///////////////////////////////////Start setting up the script here. Refer to the comments if you don't know what you're doing.
    ///////////////////////////////////
    /////       Start Setup     ///////
    ///////////////////////////////////
    ///////////////////////////////////Start setting up the script here. Refer to the comments if you don't know what you're doing.

    const
       (* player info *)
       playerNames  = ['psy']; //Put your player name (or nickname, if you set one) here.
       playerFile   = 'default'; //Put your playerfile's name here. Default is 'default'.
       desiredWorld = 0;

       (* globals *)
       antipatternInterval = 250000;

       (* options *)


    ///////////////////////////////////Don't modify the script ANY FURTHER unless you know what you're doing. You could break stuff!
    ///////////////////////////////////
    /////       Stop Setup      ///////
    ///////////////////////////////////
    ///////////////////////////////////Don't modify the script ANY FURTHER unless you know what you're doing. You could break stuff!

    var
      lastPerformedAntipattern:TTimeMarker;
      antipatternsPerformed:integer;

    procedure getInfo;
    begin;
     writeLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
     writeLn('Welcome to iBandits by KeepBotting!');
     writeLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
     writeLn('This script is 100% credits to KeepBotting, unless otherwise noted.');
     writeLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
    end;

    procedure initScript; //adapted from bonsai's init procedure
    var i:integer;
    begin
       addOnTerminate('scriptTerminate');
       clearDebug();
       smartEnableDrawing := true;
       setupSrl();
       smartForceNewClient := true; //thanks olly
       players.setup(playerNames, playerFile);
       currentPlayer := 0;
       for i := 0 to high(players) do
       begin
          players[i].world := desiredWorld;
          players[i].isActive := true;
       end;
        while (players.getActive() > 0) do
       begin
          if (not isLoggedIn()) then
          begin
             if (not players[currentPlayer].login()) then break;
             exitTreasure();
          end;
       end;
    end;

    procedure antipattern;
    begin
      lastPerformedAntipattern.Start;
      case random(30) of
        0:
        begin
          hoverRandomSkill;
        end;
        1:
        begin
          hoverSkill(SKILL_DEFENCE);
        end;
        2:
        begin
          hoverSkill(SKILL_ATTACK);
        end;
        3:
        begin
          hoverSkill(SKILL_HITPOINTS);
        end;
        4:
        begin
          hoverSkill(SKILL_STRENGTH);
        end;
        5:
        begin
          randomGameTab;
        end;
        6:
        begin
          randomRClickItem;
        end;
      end;
      inc(antipatternsPerformed);
    end;

    procedure waitAntipattern(timeToWait:integer);
    begin
      if random(10) < 3 then
      begin
        sleepAndMoveMouse(timeToWait + random(500));
      end else begin
        wait(timeToWait + random(500) + round(timeToWait * (random(10) / 100.0)));
      end;
      if random(antipatternInterval) < lastPerformedAntipattern.GetTime then
      begin
        antipattern;
      end;
    end;

    procedure useAbility;
     begin
      if (actionBar.getAdrenalinePercent() > 49) then
       begin
       case random(2) of
        0:
        begin
          actionBar.clickSlot(1);
        end;
        1:
        begin
          actionBar.clickSlot(2);
        end;
       end;
      end;
     end;


    begin
    getInfo;

    initScript;

      repeat
       useAbility;
       antipattern;
       waitantipattern(5000);
      until(false);
    end.

    Not entirely sure it works; it may need some tweaking. Do with it what you will.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

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
  •