Results 1 to 3 of 3

Thread: To make a walker?

  1. #1
    Join Date
    Nov 2007
    Posts
    236
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default To make a walker?

    SCAR Code:
    test 1.

    procedure ToBank;
    begin
     WalkToTile(3039, 3352);
     FFlag(5);
     WalkToTile(3034, 3356);
     FFlag(5);
     WalkToTile(3021, 3361);
     FFlag(5);
     WalkToTile(3012, 3355);
     FFlag(5);

    is that a simple walk or i need to add some other stuff?

  2. #2
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    By the looks of your code, you aren't using the latest version of Reflection (rev 68, correct me if I'm wrong on anything.). It is now TPoint based so your code would look like this...
    SCAR Code:
    procedure Walk;
    begin
        WalkToTile(IntToPoint(3039, 3352), 3, 5); // 3 is randomness 5 is FFlag
        WalkToTile(IntToPoint(3034, 3356), 3, 5);
        { And so on... You could also use a TPoint array and a for loop so you don't have to keep on typing everything out.}
    end;

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  3. #3
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    function ToBank: Boolean;
    begin
      if(WalkToTile(IntToPoint(3039, 3352), 2, 5))then
        if(WalkToTile(IntToPoint(3034, 3356), 2, 5))then
          if(WalkToTile(IntToPoint(3021, 3361), 2, 5))then
            if(WalkToTile(IntToPoint(3012, 3355), 2, 5))then
              Result:= True;
    end;

    Its a 'failsafe'!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Radial walker
    By Extracht in forum OSR Help
    Replies: 3
    Last Post: 11-14-2007, 05:27 PM
  2. Auto Walker Help
    By skilld u in forum OSR Help
    Replies: 3
    Last Post: 10-04-2007, 02:52 AM
  3. Best Walker
    By Ejjman in forum News and General
    Replies: 23
    Last Post: 03-28-2007, 01:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •