Results 1 to 6 of 6

Thread: speed up sps walking?

  1. #1
    Join Date
    May 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default speed up sps walking?

    Hey,
    I'm just wondering if its possible at all to speed up the time it takes to walk from location to location via Sps walking?
    If so, how would I go about doing it in the following script:
    Code:
    Program IronWalkerTest;
    {$i srl-osr/srl.simba}
    {$i sps/sps-osr.simba}
    
    Var
      myPath:TPointArray;
    
    begin
      SetupSRL
    
      SPS_Setup (RUNESCAPE_SURFACE, ['5_10','4_10','6_10','5_9']);
      SPS_AnyAngle := True;  //I want to use this map with a different angle, so I set it true
      SPS_Debug := True;
      myPath := [Point(2261, 4323), Point(2255, 4323), Point(2251, 4320),
      Point(2249, 4315), Point(2251, 4310), Point(2255, 4306), Point(2265, 4304),
       Point(2269, 4301), Point(2275, 4297), Point(2279, 4293), Point(2285, 4287),
        Point(2288, 4280), Point(2293, 4273), Point(2296, 4267), Point(2296, 4263),
         Point(2300, 4253), Point(2302, 4245), Point(2303, 4244), Point(2305, 4236),
          Point(2306, 4235), Point(2311, 4228), Point(2311, 4225), Point(2313, 4220),
           Point(2316, 4215), Point(2319, 4207), Point(2320, 4203), Point(2323, 4196),
            Point(2323, 4195), Point(2325, 4182), Point(2326, 4180), Point(2325, 4168),
             Point(2326, 4163), Point(2327, 4159), Point(2328, 4157), Point(2329, 4155),
              Point(2331, 4150), Point(2331, 4149), Point(2334, 4145), Point(2334, 4144)]
      SPS_Walkpath(myPath);
      MakeCompass('N'); //this will work because any angle is set to true
      SetAngle(SRL_Angle_high); //high angle
    end.
    The path creater I used for this is located here:
    http://villavu.com/forum/showthread.php?t=80134

    Keep in mind I'm fairly new, and just trying to learn/get sps walking down before I move into more advanced stuff.
    Thanks in Advance!

  2. #2
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    What do you mean? Sps walks as fast as you do... So if its not walking fastening for you then choose a better route. If your getting a delay before it walks the path then try using a custom map.

    Custom map tutorial: http://villavu.com/forum/showthread.php?t=84360

  3. #3
    Join Date
    May 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Officer Barbrady View Post
    What do you mean? Sps walks as fast as you do... So if its not walking fastening for you then choose a better route. If your getting a delay before it walks the path then try using a custom map.

    Custom map tutorial: http://villavu.com/forum/showthread.php?t=84360
    Lol sorry, I guess I forgot to add more detail, Walking from Yanille bank to the iron mining spot, although multiple points are listed, it only uses three of them..
    this is the debug box, as you can see, its an 8 second delay rather than a smooth walk to the iron location..
    Code:
    ew window: 1311252
    [Hint] C:\Simba\Includes\sps/sps-osr.simba(480:3): Variable 'Z' never used at line 479
    [Hint] C:\Simba\Includes\sps/sps-osr.simba(482:3): Variable 'DEGREEFIX' never used at line 481
    [Hint] C:\Simba\Includes\sps/sps-osr.simba(483:3): Variable 'FINDPOINT' never used at line 482
    Compiled successfully in 1825 ms.
    SRL Compiled in 15 msec
    SPS_GetMyPos: Finished in 7176 ms. Result = (2269, 4320)
    SPS_GetMyPos: Finished in 7691 ms. Result = (2251, 4320)
    SPS_GetMyPos: Finished in 8112 ms. Result = (2332, 4218)
    SPS_GetMyPos: Finished in 7597 ms. Result = (2335, 4146)
    Successfully executed.

  4. #4
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    The speed at which SPS determines your location is partly based on how big the SPS map is that you've loaded up. Since you've loaded four 500x500's it's large area to be searched. I suggest adding these maps together, in your own custom SPS map, and cropping only the path you know you will be walking on, with about 100 or so pixels on either side of it. This will speed up the initial tile gathering.

    For speeding up the actual walking that SPS does just create a custom WalkPath with higher "FFlags".

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  5. #5
    Join Date
    Jan 2012
    Location
    127.0.0.1
    Posts
    702
    Mentioned
    11 Post(s)
    Quoted
    76 Post(s)

    Default

    try allocating more resources to Simba, that should make it run faster, outside of that I would say the same build a custom sps map ( you can use the files that are already there, crop and merge for a nice result. when doing this, it might also be an idea to color in the area that you dont walk/get close to in Black or some other uncommon vivid color, it should help speedup the finding process

  6. #6
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Flight recommends exactly what I wold suggest as well. Custom maps that only cover the area you will actually be walking (with some extra 50-100 pixel leeway on every side) are far faster than the main map is.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •