Results 1 to 8 of 8

Thread: complete noob needs help with walking codes

  1. #1
    Join Date
    Apr 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default complete noob needs help with walking codes

    ok so i wana add banking to my miner,iv used wolyygon path creater to make from mine to varock bank can anyone help with what i should type? like procedure and can anyone help with how i can get it to click the bank and desposit all when its there
    heres my path

    SPS_Areas := ['12_7','];

    myPath := [Point(4986, 3199), Point(4997, 3157), Point(5010, 3133), Point(5010, 3108), Point(5007, 3058), Point(4997, 3022), Point(4982, 2987), Point(4971, 2949), Point(4945, 2937), Point(4904, 2937), Point(4874, 2935), Point(4852, 2941), Point(4855, 2974)];
    Last edited by tombow; 04-16-2012 at 09:01 PM.

  2. #2
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Simba Code:
    procedure PathToBankSPS;
    var
      PathToBank : TPointArray;
    begin
      if(not(LoggedIn))then Exit;
      if(not(FindNormalRandoms))then
      SPS_Setup(RUNESCAPE_SURFACE, ['12_7']); //Put SPS_Areas in here when using walking tool
      PathToBank := //Put your path here
      SPS_WalkPath(PathToBank);
    end;

  3. #3
    Join Date
    May 2008
    Location
    ;)
    Posts
    576
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    and to open the bank:
    Simba Code:
    Procedure DoBanking;
    begin
    openbank('vwb');
    depositall;
    end;

    You could get more complicated, but I don't think you want to at this point.

  4. #4
    Join Date
    Apr 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    do i need to write a new code out for it to go from bank back to mine or is there a way to reverse the one to walk to bank?
    thanks alot btw guyys

  5. #5
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Simba Code:
    SPS_WalkPath(InvertTPA(PathToBank));

  6. #6
    Join Date
    Apr 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SPS_Setup(RUNESCAPE_SURFACE, ['12_7']); //Put SPS_Areas in here when using walking tool

    its erroring this
    Unknown identifier 'SPS_Setup' at line 229

  7. #7
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Are you calling {$i sps/sps.simba} at the top of your script?
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


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

    Default

    yea im calling it now but getting error
    openbank('vwb');
    [Error] (238:16): Invalid number of parameters at line 237

    also why am i getting this error when playying a diff script im making
    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    Last edited by tombow; 04-16-2012 at 10:29 PM.

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
  •