Results 1 to 2 of 2

Thread: need help with making walking script

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

    Default need help with making walking script

    Hi
    I'm trying to make a script to walk in the varrock underground mine, from the rocks to the ladder which is near the hill giants.
    this is what I but i can't get it to work. i used the path creator but i still couldn't make it work. Any help is appreciated.
    Thanks in advance

    program Walk;
    {$DEFINE SMART8}
    {$I SRL-OSR/SRL.Simba}
    {$I SPS/sps-osr.simba}
    var
    MyLoc: TPoint;

    procedure WalkToladder;
    begin
    SPS_AnyAngle := True;
    MyLoc := sps_getMyPos;
    Writeln('SPS returns ' + inttostr(myloc.x) + ',' + inttostr(myloc.y));
    SPS_WalkPath([Point(290, 1147), Point(291, 1123), Point(293, 1084), Point(318, 1076), Point(360, 1073)]);
    end;

    procedure declareplayers;
    begin
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);
    CurrentPlayer := 0;
    Players[0].Name := '';
    Players[0].Pass := '';
    Players[0].Pin := '';
    Players[0].Active := True;
    end;

    begin
    declareplayers;
    SetupSRL;
    LoginPlayer SPS_Setup(RUNESCAPE_OTHER, ['misthalin_underground']);

    repeat
    Walktoladder;
    until not loggedin
    end.

  2. #2
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by jafferrox View Post
    Hi
    I'm trying to make a script to walk in the varrock underground mine, from the rocks to the ladder which is near the hill giants.
    this is what I but i can't get it to work. i used the path creator but i still couldn't make it work. Any help is appreciated.
    Thanks in advance
    Try making a custom SPS map with this tutorial, I've found that in caves custom ones are better than the default ones

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
  •