Page 1 of 2 12 LastLast
Results 1 to 25 of 36

Thread: hey guys just looking for some help.

  1. #1
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default hey guys just looking for some help.

    I'm planning on making a plain old air battles staff crafter it's great crafting exp.


    I can't get it to start it gives me this.
    Exception in Script: Unable to find file 'SRL/SRL/Misc/Stats.Simba' used from ''

    if anyone could sugjest anything would be great.
    Last edited by rol prodigy; 01-25-2012 at 11:50 PM.

  2. #2
    Join Date
    Sep 2007
    Location
    Australia, NSW
    Posts
    934
    Mentioned
    6 Post(s)
    Quoted
    145 Post(s)

    Default

    There are lots of supported banks in SRL, and even some supported Bank chests! Go have a look in bank.simba for the supported banks

    INACTIVE
    How-to: Make S.M.A.R.T. less laggy

    Sell me your Maple Shieldbows (u)! Up to 95gp ea!

    My Scripts:
    Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
    99 x78 | 99 x10 | 99 x2 | 99 x12


    Use the REPORT tags when posting progress reports to make life easier (:
    [REPORT]Put progress report in here![/REPORT]

    Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]

  3. #3
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I actually found one hopefully it works but also I'm not sure how to make it withdraw I'm rly bad i know but trying to learn

  4. #4
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    anyone?

  5. #5
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    check out bank.simba in the SRL include folder.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  6. #6
    Join Date
    Feb 2009
    Posts
    484
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Once you've opened the bank, right click the item and select withdraw all

    ChooseOption('ll') works nice.
    Click Here for my PUBLIC script: Auto Tabs Pro

  7. #7
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Thanks guys. One thing I set up my whole script one problem. Don't know how to get it to use pin anyone got skype so I can show quickly.

  8. #8
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I got some help from some1 they told me to implement this into my script not sure how or where.


    Simba Code:
    Code:
    function CheckPin: Boolean;
    begin
      if(Players[CurrentPlayer].Pin = '')and(PinScreen)then
      begin
        Writeln('We are at the pin screen and you didn''t enter a pin');
        TerminateScript;
      end else
      begin
        if(PinScreen)then
        begin
          Writeln('Found Pin Screen');
          InPin(Players[CurrentPlayer].Pin);
          Writeln('Pin successfully entered');
          Sleep(1000 + random(500));
          if(BankScreen)then
          begin
            Result := true;
          end;
        end;
      end;
    end;
    Heres my script.

    Code:
    //Script by rol Prodigy
    //Version 1.0
    program AirBattlestaffMaker;
    
    //{.Include SRL\SRL\Misc\SMART.simba}
    //remove the(//) if you want smart
    {.include SRL/SRL.simba}
    
    const
    //  ----------------SETUP-----------------------------
    //For now you gotta be in swbank
    loadcount= 1000  ;  //how many cycles you need (14 to a cycle)
    colb= 5                  ;  //Battlestaff col
    rowb=  2                 ;  //Battlestaff Row
    cola=   3                ;  //AirOrb col
    rowa=  2                 ;  //AirOrb row
    
    
    bankty= 2                ;
    //0 for any npc bank, 1 for specific bank, 2 for soul wars chest
    specific='fwb'           ; //some valed inputs are: 'veb', 'vwb' 'feb'
    
    
    var
      x, y: integer;
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
      with Players[0] do
      begin
        Name := '';  //set username
        Pass := '';       //set password
        Pin  := '';          //set pin
        Active := True;
        LampSkill := 'Crafting'; // If you set the script to choose an experience lamp from a random event box, it will use the exp on the Crafting skill
    //  ---------------END SETUP----------------------------------------
      end;
    end;
    
    
    procedure AntiRandoms;
    begin
      ClickToContinue;
      FindNormalRandoms; // Whenever this is called, the script will check to see if your character is in a random event
      LevelUp; // This is an Antiban procedure, but I find it more useful when called here because AntiRandoms is usually called more often than Antiban
    end;
    
    procedure Antiban;
    begin
      case Random(60) of // Random(60) generates a random integer from 0 to 59
        10: RandomRClick;
        20: HoverSkill('Fletching', False);
        30: PickUpMouse;
        40: RandomMovement;
        50: BoredHuman;
        59: ExamineInv;
      end;
    end;
    
    function banksw: Boolean;
    
    var
      X, Y: Integer;
      begin
      FindNormalRandoms;
      if (FindObjCustom(X, Y, ['Bank','nk ch','k che','chest'], [2963780,10724266,10000542,5592409], 3)) then
        Mouse(X, Y, 0, 0, True);
        Wait(1500 + Random(300));
    end;
    
    Procedure MakeStaff;
    begin
      mousespeed:=(7+random(3));
      wait(200);
      if bankty=2 then
        banksw;
      wait(500+random(600))
      depositall;
      wait(800+random(300));
      WithdrawEx(colb,rowb,14,[]);
      wait(500+random(500));
      withdraw(cola,rowa,0);
      wait(500+random(1000));
      closebank;
      wait(1800+random(500));
      invmouse((random(13)+1),1);
      wait(700+random(300));
      Invmouse((15+random(14)),1)
      wait(1000+random(1000));
      mmouse(359,408,200,200);
      mmouse(259,408,30,30);
      wait(100+random(200));
      getmousepos(x,y);
         begin
          if ( WaitUpTextMulti(['Mak', 'tions'], 200) ) then
          Mouse(x,y,1,1,true)else
          exit;
          end;
      repeat
        wait(1000);
        Antirandoms;
      until invcount=14
      Antiban;
      wait(random(5000));
      if random(2)=1 then
        begin
          writeln('taking mini break');
          wait(random(20000));
          Antiban;
          AntiRandoms;
        end;
      writeln('14 more  staffs made');
    end;
    
    Procedure mainloop;
    var
      counter:integer;
    begin
      counter:=0;
      repeat
        counter:=1+counter;
        findnormalrandoms;
          MakeStaff;
        writeln(loadcount-counter);
        writeln('loads to go');
      until counter=loadcount
      writeln('Another set, problem free');
    end;
    Last edited by rol prodigy; 01-25-2012 at 09:13 PM.

  9. #9
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    You copy and paste it into the script after the opening of the bank.

    Well because I cant test I can tell you what I think you can do. If the bank function opens the bank AND banks, then you will have to paste your pin function above the banking, then call it in the banking (write the name of the function and it will do in the place you write it if that makes sense).

    If it doesnt actually bank, just opens it, then post it after, then add a withdraw/deposit function after so it will open ban, do pin stuff, deposit/withdraw, then move on to making the staffs
    Last edited by kevin33; 01-25-2012 at 09:29 PM.
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  10. #10
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    can you respost the script for me the way it should be?

  11. #11
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    Well I can try, does your bank function bank or just open it.
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  12. #12
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    gonna try it now.

  13. #13
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    wtf?



    [Hint] (63:10): Variable 'Result' never used at line 62
    Compiled successfully in 437 ms.
    Error: Out of Proc Range at line 385
    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]

    that happens when I try to start it.

    and it opened another tab called math.

  14. #14
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    Whats line 385?
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  15. #15
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    384-GaussRand
    385-~~~~~~~~~

    like I said it opened a tab called math.

  16. #16
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    Okay wel try taking out that line maybe? It is useless I am quite certain. Try it and let me know.
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  17. #17
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    take it out it does nothing rly.


    maybe we should go back to the original and figure out why it sais [Hint] (63:10): Variable 'Result' never used at line 62

    on my original script.

  18. #18
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    deals with boolean, there is no result on the boolean so it sas that. Taking it out should work.
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  19. #19
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    omfg

    line 64 identifier expected I know i'm shit bro but trying.

  20. #20
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    post lines like 50-70 and I will tell you the problem.
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  21. #21
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    procedure Antiban;
    begin
    case Random(60) of // Random(60) generates a random integer from 0 to 59
    10: RandomRClick;
    20: HoverSkill('Fletching', False);
    30: PickUpMouse;
    40: RandomMovement;
    50: BoredHuman;
    59: ExamineInv;
    end;
    end;

    function banksw:

    var
    X, Y: Integer;
    begin
    FindNormalRandoms;
    if (FindObjCustom(X, Y, ['Bank','nk ch','k che','chest'], [2963780,10724266,10000542,5592409], 3)) then
    Mouse(X, Y, 0, 0, True);
    Wait(1500 + Random(300));
    end;

  22. #22
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    which one is 64?
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  23. #23
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    var

  24. #24
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    Its the colon on the banksw. I am quite certain it needs to be a semi colon. Try that out. We may have messed up before.
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  25. #25
    Join Date
    Jan 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    this is what it originally is


    function banksw: Boolean;
    this sais:
    [Hint] (63:10): Variable 'Result' never used at line 62

    I replace the : with a ;

    and I get this:
    [Error] (63:16): colon (':') expected at line 62

Page 1 of 2 12 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
  •