Results 1 to 7 of 7

Thread: [Help needed] SPS_WalkPath

  1. #1
    Join Date
    Mar 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [Help needed] SPS_WalkPath

    Hello guys,

    I just started to try to make some Scripts for Simba.
    Watched several tutorials and everything is fine. So i started to script a PowerMiner which was easy to do, but now i wanted to make a Bank function.
    The banking it self is not hard but i really can't figure out how SRS_WalkPath is working. I tried it several times but it just do nothing only says "At Bank" after several minutes. I also tried to look through other scripts but even if i copy - paste their code to see where the fault is i fail.

    Hopefully someone can explain to me how it works

    This is the banking code:
    Code:
    Procedure WalktoBank;
    var
      myPath: TPointArray;
      Areas: TStringArray;
    begin   
    Areas :=  ['11_9','12_9','12_8','11_8'];
      SPS_Setup(RUNESCAPE_SURFACE, Areas);
      myPath := [Point(4567, 3143),Point(4567, 3139),Point(4559, 3131),Point(4551, 3119),Point(4547, 3103),Point(4539, 3095),Point(4531, 3079),Point(4519, 3063),Point(4515, 3063),Point(4515, 3043),Point(4515, 3023),Point(4519, 3015),Point(4519, 2999),Point(4519, 2995),Point(4523, 2967),Point(4523, 2951),Point(4539, 2939),Point(4559, 2935),Point(4567, 2931),Point(4575, 2927),Point(4571, 2915),Point(4571, 2907)];
      SPS_WalkPath(myPath);
      ClearReport;
      ClearDebug;
      writeln('At bank');
      wait(2500);
    end;
    Sorry for my bad english

  2. #2
    Join Date
    Jan 2012
    Posts
    713
    Mentioned
    3 Post(s)
    Quoted
    9 Post(s)

    Default

    Simba Code:
    Procedure WalktoBank;
    var
      OutBank: TPointArray;
    Begin  
      SPS_Setup(RUNESCAPE_SURFACE, ['11_9','12_9','12_8','11_8']);
      OutBank := [Point(4567, 3143),Point(4567, 3139),Point(4559, 3131),Point(4551, 3119),Point(4547, 3103),Point(4539, 3095),Point(4531, 3079),Point(4519, 3063),Point(4515, 3063),Point(4515, 3043),Point(4515, 3023),Point(4519, 3015),Point(4519, 2999),Point(4519, 2995),Point(4523, 2967),Point(4523, 2951),Point(4539, 2939),Point(4559, 2935),Point(4567, 2931),Point(4575, 2927),Point(4571, 2915),Point(4571, 2907)];
      SPS_WalkPath(OutBank);
      ClearReport;
      ClearDebug;
      writeln('At bank');
      wait(2500);
    end;

    Give that a go and if that does not work, sps is buggy in some areas becasue the world map isnt that reliable so for some areas you need to make a custom SPS map.

  3. #3
    Join Date
    Feb 2012
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If SPS does not work for you try learning DTM walking, in my opinion far easier and more accurate than SPS.

  4. #4
    Join Date
    Nov 2011
    Location
    United states
    Posts
    516
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by GOOGLE View Post
    Simba Code:
    Procedure WalktoBank;
    var
      OutBank: TPointArray;
    Begin  
      SPS_Setup(RUNESCAPE_SURFACE, ['11_9','12_9','12_8','11_8']);
      OutBank := [Point(4567, 3143),Point(4567, 3139),Point(4559, 3131),Point(4551, 3119),Point(4547, 3103),Point(4539, 3095),Point(4531, 3079),Point(4519, 3063),Point(4515, 3063),Point(4515, 3043),Point(4515, 3023),Point(4519, 3015),Point(4519, 2999),Point(4519, 2995),Point(4523, 2967),Point(4523, 2951),Point(4539, 2939),Point(4559, 2935),Point(4567, 2931),Point(4575, 2927),Point(4571, 2915),Point(4571, 2907)];
      SPS_WalkPath(OutBank);
      ClearReport;
      ClearDebug;
      writeln('At bank');
      wait(2500);
    end;

    Give that a go and if that does not work, sps is buggy in some areas becasue the world map isnt that reliable so for some areas you need to make a custom SPS map.

    ^ that should work.... for what ever reason in the last update they changed it so that it doesn't working with a variable for sps areas

  5. #5
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Where are you attempting to walk?

  6. #6
    Join Date
    Mar 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for the fast response but the code you gave me neither work.(I think i might be too stupid to do this :P or just standing in one of those bugged areas)
    I just searched for the DTM-Walking and it seems to be great. I'm going to try that. Thanks for the help guys.

    For everyone who is interested in the tutorial for DTM-Walking:
    http://villavu.com/forum/showthread.php?t=77691

  7. #7
    Join Date
    Jan 2012
    Posts
    713
    Mentioned
    3 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by sipfer2 View Post
    Thanks for the fast response but the code you gave me neither work.(I think i might be too stupid to do this :P or just standing in one of those bugged areas)
    I just searched for the DTM-Walking and it seems to be great. I'm going to try that. Thanks for the help guys.

    For everyone who is interested in the tutorial for DTM-Walking:
    http://villavu.com/forum/showthread.php?t=77691
    Then its the area your trying to use SPS walking is most likely outdated it doesn't work in 70% places on the map ive found.

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
  •