Results 1 to 6 of 6

Thread: Radialwalking

  1. #1
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    418
    Mentioned
    2 Post(s)
    Quoted
    86 Post(s)

    Default Radialwalking

    Hi guys I'm trying to make my bot walk to the bank on 06scape.com heres what i've tried so far:
    Simba Code:
    program walker;
    //{$DEFINE SMART}
    {$i srl/srl.simba}

     procedure WalkingSpec(TheWalk:Integer);

    begin
      case TheWalk of
        1: RadialWalkTolerance(1738633,15,60,65,5,5,12);
        2: RadialWalkTolerance(1232342,15,60,65,5,5,8);
        3: RadialWalkTolerance(1812345,0,90,65,5,5,9);

     end;
    end;
    procedure WalkingToRock1;
    var
    i, x, y:Integer;
    begin
    for i:= 1 to 3 do
    begin
      Writeln('You are on Walk Number'+IntToStr(i));
      WalkingSpec(i);
    end;
    //anything u want script to do after
    //it has walked there.
    end;



    begin
      SetUpSRL;
    end.

    Here's what the minimap looks like:


    This is not my image, I have no copyright over it. This is just to show you what the minimap looks like on the RSPS i'm playing

  2. #2
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    RadialWalk and its variants should work regardless of the Runescape version you are running (unless it's RS: Classic).
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  3. #3
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    418
    Mentioned
    2 Post(s)
    Quoted
    86 Post(s)

    Default

    Quote Originally Posted by Daniel View Post
    RadialWalk and its variants should work regardless of the Runescape version you are running (unless it's RS: Classic).
    Maybe its because i'm the dipshit scripting it lol.. From what i've done does it look right? How do i know its using the minimap?

  4. #4
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    you need to fix the compass function. Because radial walk does use compass IIRC
    Oh Hai Dar

  5. #5
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Main View Post
    you need to fix the compass function. Because radial walk does use compass IIRC
    Does it? :S I can't think of a reason why..

    EDIT: From looking at the code, it appears it is because of the LoggedIn function (found in SRL/Core/Players.simba) not validating that you are logged in. You will need to change this to use the majority of methods within and utilised by the SRL include.
    Last edited by Daniel; 07-06-2012 at 11:52 AM.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  6. #6
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    If it doesn't use compass then ..
    *facepalm* myself.

    As daniel was explaining
    Simba Code:
    function RadialWalkEx(var TPA: TPointArray; cx, cy, TheColor, tol: Integer; StartRadial, EndRadial: Variant; Radius: Integer): Boolean;
    var
      time: Integer;
      SD, ED: extended;
    begin
      Result := False;
      if (not LoggedIn) then Exit;
    You should get rid of
    Simba Code:
    If Not LoggedIn Then
      Exit;

    and makesure your compass is facing north.
    Oh Hai Dar

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
  •