Results 1 to 6 of 6

Thread: [Q] SPS Walking problem

  1. #1
    Join Date
    Jul 2012
    Location
    England
    Posts
    144
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default [Q] SPS Walking problem

    Hi, I'am creating an al karid tanner for RS07.
    The walk to tanner code used to work and now it does not. The code has not been changed at all.

    Code:
    Procedure walkToTanner;
    var
    MyPath:TPointArray;
    begin
         Writeln('Walking to tanner');
         SPS_Setup(RUNESCAPE_SURFACE, ['12_10','12_9']);
         myPath := [Point(4907, 4020), Point(4907, 4020), Point(4907, 4027), Point(4907, 4027), Point(4913, 4026), Point(4913, 4026), Point(4918, 4026), Point(4927, 4026), Point(4927, 4026), Point(4927, 4022), Point(4928, 4014), Point(4928, 4010), Point(4931, 4003), Point(4933, 3999), Point(4942, 3983), Point(4945, 3974), Point(4948, 3971), Point(4951, 3967), Point(4953, 3955), Point(4953, 3950), Point(4952, 3948), Point(4951, 3940), Point(4951, 3929), Point(4943, 3929), Point(4942, 3928), Point(4935, 3927), Point(4927, 3927), Point(4917, 3926), Point(4917, 3926)];
         SPS_WalkPath(myPath);
         //TanHides;
     end;
    Thanks for the help

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    What's the error?

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    Jul 2012
    Location
    England
    Posts
    144
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    The problem is that once the bank is accessed, the "walktotanner" function is called and the character does not walk anywhere. So it is stuck in a banking loop. The "Walk to tanner" line is outputted to the debug but the character doesn't move.

  4. #4
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Never used sps.. But i suggest you to use reflection

  5. #5
    Join Date
    May 2012
    Location
    Wisconsin, USA
    Posts
    105
    Mentioned
    1 Post(s)
    Quoted
    47 Post(s)

    Default

    Quote Originally Posted by msemtex View Post
    The problem is that once the bank is accessed, the "walktotanner" function is called and the character does not walk anywhere. So it is stuck in a banking loop. The "Walk to tanner" line is outputted to the debug but the character doesn't move.
    Make sure the MMCX and MMCY in globals.simba are correct for your minimap. You may need to change several of those coords to correspond with your current layout.

  6. #6
    Join Date
    Jul 2012
    Location
    England
    Posts
    144
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    Loragnor, will take a look at that. Hoodz, isn't reflection very risky to use?

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
  •