Results 1 to 5 of 5

Thread: SPS WalkPath Bug

  1. #1
    Join Date
    Feb 2012
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SPS WalkPath Bug

    Whenever i try to use SPS to walk to places off the minimap it will do nothing. If the last point in the path array is on the minimap then it will walk to that, if its not it will do nothing :/

    here is my sps parts of the script

    Simba Code:
    {$DEFINE SRL5}
    {$i srl/srl.simba}
    {$i sps/sps.simba}

    procedure WalkCentre(team: Boolean);
    var
      x, y: Integer;
      path: TPointArray;

    begin

      SPS_Setup(RUNESCAPE_SURFACE, ['0_12','1_12']);

      case Team of
        true:
          path := [Point(378, 5052), Point(367, 5050), Point(357, 5044),
                   Point(348, 5027), Point(347, 5016), Point(346, 5005),
                   Point(350, 4996), Point(356, 4985), Point(364, 4977),
                   Point(374, 4971), Point(382, 4966), Point(395, 4964),
                   Point(405, 4969), Point(416, 4978), Point(427, 4985),
                   Point(435, 4993), Point(445, 5001), Point(451, 5005),
                   Point(457, 5011), Point(467, 5018), Point(471, 5024),
                   Point(479, 5034), Point(487, 5046), Point(486, 5053),
                   Point(486, 5063), Point(488, 5070), Point(492, 5064),
                   Point(493, 5056), Point(498, 5050), Point(502, 5043),
                   Point(506, 5040), Point(513, 5035), Point(520, 5030),
                   Point(527, 5028), Point(538, 5024), Point(546, 5021),
                   Point(556, 5018), Point(562, 5018), Point(570, 5021),
                   Point(583, 5020), Point(594, 5022), Point(603, 5022),
                   Point(625, 5023), Point(637, 5024), Point(653, 5025)];
        false:
          path := [Point(664, 5251), Point(680, 5250), Point(709, 5250),
                   Point(682, 5265), Point(681, 5285), Point(691, 5298),
                   Point(699, 5279), Point(699, 5267), Point(679, 5303),
                   Point(668, 5306), Point(667, 5267), Point(664, 5278),
                   Point(663, 5290), Point(660, 5299), Point(651, 5304),
                   Point(645, 5309)];
      end;

      SPS_WalkPath(path);

    end;

    I have tried this with many other areas also but still the same issue, am I doing something wrong? Thanks.
    Previously known as sockz
    - Dwarven Stout buyer (F2P MONEYMAKER) http://villavu.com/forum/showthread....45#post1001045
    - G-Altar script, tons of failsafes. (Flawless for me) http://villavu.com/forum/showthread.php?t=79454

  2. #2
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    why are you making it look like that... just keep it in the formatted line from the path creator. I think thats your problem.

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

    Default

    What version SPS do you have? Are you starting at the first point?

  4. #4
    Join Date
    Feb 2012
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by JOEbot View Post
    why are you making it look like that... just keep it in the formatted line from the path creator. I think thats your problem.
    to keep inside the margin, I'm pretty sure it will jsut read the next line anyways so shouldn't be a problem

    Quote Originally Posted by TotalKillz View Post
    What version SPS do you have? Are you starting at the first point?
    2, and yeah I have tried using at all points but it wont do anything until I get near the last one


    I'm in soulwars btw..
    Previously known as sockz
    - Dwarven Stout buyer (F2P MONEYMAKER) http://villavu.com/forum/showthread....45#post1001045
    - G-Altar script, tons of failsafes. (Flawless for me) http://villavu.com/forum/showthread.php?t=79454

  5. #5
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,827
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Do your points closer together and a shitload of them, so basically you have like 100 points, then it will work.

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
  •