Results 1 to 6 of 6

Thread: Walking Request

  1. #1
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default Walking Request

    Can someone create me a script that will walk from Varrock East Bank to the Yew by the Church? I have tried and tried and I seriously can not get it to work..I will give credits and stuff, if someone rather pm me and help that would work too.

  2. #2
    Join Date
    Dec 2011
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    By just giving it to you, you won't learn anything. Allow me to help instead.

    Lets start off by showing you a few tools. Their descriptions and tutorials how to use them can be found in the thread.

    ObjectDTMs

    SPS Path Creator

    The only two I have ever really looked in to to be honest.

    Anyways, here are some guides.

    SPS Walking

    DDTM Walking

    ObjectDTMs Walking

    I'd be glad to help you through PMs, if you have any questions on the guides, post them there.
    Last edited by TsterT; 03-25-2012 at 06:06 AM.

  3. #3
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    I used SPS and I find it easy. I'll try to make it for you.

    Simba Code:
    Program FromBankToYews;
    {$i srl/srl.simba}
    {$i sps/sps.simba}

    begin

    var mypath:TPointArray;

    SPS_Areas := ['12_7','12_6',']; // This I got the map on Varrock

    myPath := [Point(4850, 2966), Point(4850, 2935), Point(4827, 2931), Point(4820, 2907), Point(4821, 2877), Point(4824, 2847), Point(4821, 2821), Point(4820, 2774), Point(4827, 2764)]; // this will be from bank to Yews.
    SPS_WalkPath(myPath);

    end;
    Last edited by begginer; 03-25-2012 at 10:55 AM.
    Goals:
    Understanding TPAs
    Making Proggy for fighting
    Getting on SRL members
    Get 500 posts

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

    Default

    Honestly I suggest you either look at other peoples code or read tutorials, SPS is by far the easiest to learn.

  5. #5
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Tried DTM, and SPS. Neither work for me. Also tried radial walk and it worked kind of. Never tried Objective DTM. Also thank you for posting a little script. I will try it out and if it works thanks. I also understand how you are suppose to use them, but when I put them in my script they don't seem to work. Like I'm probably not making the best dtms to walk with and when I use the SPS generator I never get the correct map name to show up in it.

  6. #6
    Join Date
    Dec 2011
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by 14578 View Post
    Tried DTM, and SPS. Neither work for me. Also tried radial walk and it worked kind of. Never tried Objective DTM. Also thank you for posting a little script. I will try it out and if it works thanks. I also understand how you are suppose to use them, but when I put them in my script they don't seem to work. Like I'm probably not making the best dtms to walk with and when I use the SPS generator I never get the correct map name to show up in it.
    You can find the correct map in "[Simba Directory]\Includes\SPS\img\runescape_surface".

    For SPS, you have to state which maps you are using. For example
    Simba Code:
    SPS_Setup(RUNESCAPE_SURFACE, ['9_7', '9_6', '9_5']);

    You have to do this before setting a walk path. When using the SPS generator, it automatically gives you which maps you're using. If you don't do it this way, you have to find each one individually in the directory I stated above.

    For DTMs, they're a lot more accurate, yet take a long time to do. You want to use the DTM Editor tool in Simba (Tools -> DTM Editor) to create them. You would want to use your minimap for this.

    You create a main point, and 4-6 or so sub points. This main point is the spot it will find, based off of the sub points around it. Try using a tolerance of 5, increasing it to 10 or 15 if it doesn't find it.

    When searching for a DTM, you want to search for a rotated DTM. It would look something like this:
    Simba Code:
    FindDTMRotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2, -Pi/4, Pi/4, Pi/60, aFound)

    Here, we're searching for the DTM in the minimap (MMX1, MMY1, ect) and saving the position of it into variables, x, and y. Although it will find it if it's upside down for example, or just crooked, rather than in the position you created it.

    I'd advise you to read through some beginners tutorials on DTMs before attempting to use them for walking, as they are a bit more trickier than SPS.

    If you are following the tutorials correctly, it will work. I'm not the best at explaining things, so if this doesn't make sense to you, either learn a bit more before attempting again, or just ignore it all.

    I didn't want to explain it fully in depth as that would is already done in the tutorials I gave you, so I'd be glad to help you further.

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
  •