Results 1 to 9 of 9

Thread: Walking Questions.

  1. #1
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Walking Questions.

    Ok. Here is the script i made.

    Code:
    program New;
    {.include SRL/SRL.scar}
    
    //Setup
    
    //End
    
    
    procedure AimNorth;
    begin
         MakeCompass('n');
    end;
    
    procedure WalkNorthDocks;
    begin
         RadialWalk( 1784153, 352, 360, 71, 0, 1);
    end;
    
    
    procedure WalkAboveAxe;
    begin
         RadialWalk( 876147, 327, 333, 69, 1, 2);
    end;
    
    
    procedure WalkToGrass;
    begin
         RadialWalk( 1864275 , 317, 320, 67, 1, 2);
    end;
    
    
    Procedure WalkToHens;
    begin
         RadialWalk( 2186847 , 331, 336, 70, 1, 2);
    end;
    
    procedure WalkNearYews;
    begin
         RadialWalk( 1532767, 345, 350, 72, 1, 2);
    end;
    
    procedure WalkNearYews2;
    begin
         RadialWalk( 1731179, 335, 340, 73, 1, 2);
    end;
    
    procedure WalkUnderMine;
    begin
         RadialWalk( 1532761, 0, 5, 65, 1, 2);
    end;
    
    procedure WalkUnderBank;
    begin
         RadialWalk( 2053716, 0, 5, 72, 1, 2);
    end;
    
    procedure GotoBank;
    begin
         FindSymbol(x,y,'Bank');
         Mouse(x,y,1,1,True);
         Flag;
    end;
    
    
    begin
    ClearDebug
    SetupSRL;
    AimNorth;
    WalkNorthDocks;
    Flag;
    WalkAboveAxe;
    Flag;
    WalkToGrass;
    Flag;
    WalkToHens;
    Flag;
    WalkNearYews;
    Flag;
    WalkNearYews2;
    Flag;
    WalkUnderMine;
    Flag;
    WalkUnderBank;
    Flag;
    GotoBank;
    end.
    ( its not very pretty, should be in one procedure.. but hey please read on )

    Ok. Now if you read it i have to manually flag it - i cant flag it in the procedure because it seems to skip it, any reasons - also the colors i had to set manually - is there a way of finding them like FindColor(but because RadialWalk uses geometry there is no x,y co-ordinates to use, if so i missed out and can you point it out to me?)? It finds the color i specified but it sometimes doesnt walk in the right direction. It Walks from the Port to Faly Bank ( well is supposed to. ). Any ideas on this ?

    I know how to use the RadialAid program - I know how to get it to walk there but either my RadialWalk has problems because i heard something about it autoflaging, or i am just not using it right.

    If im not using it right - can you explain please and i cant use road colors( how do i use them ) i have searched tutorials but not found answers to my questions Credit to all who help out on this.

    PS. I will release my autoFishers(Lumbridge, Draynor, Barberian Village, Karamunja) and my autoEssence Scripts once i can get the path's to walk right so any help on walking will realy help. Thanks.


    Once again credit to all who help and thanks sincerley.

  2. #2
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Please keep reply's clean. If you want to abuse me dont reply

  3. #3
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    RadialRoadWalk(roadcolor, etc);

    Not sure what's happening with the flags...maybe put in a wait of about 250 ms?

    And yes, you could (and really should) put all that into one procedure
    Interested in C# and Electrical Engineering? This might interest you.

  4. #4
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    RadialRoadWalk(RoadColor,ect);

    Does that auto find the road color?
    Does it auto click on the road?
    And does it only click if it can see the road?

  5. #5
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    --Forgot to add to that.

    How can i walk over grass areas, grass colors change and there is no tolerance in the RadialRoadWalk or RadialWalk, would be soo sweet if it did :P but it dont so ill make do. Thanks once again mate. That was Helpful

  6. #6
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    RadialWalkEx is radialwalk with tolerance
    And yes, RadialRoadWalk(RoadColor) will autoclick on the road only if it can see the road. Also you have do define the RoadColor before using it (FindRoadColor).
    Hup Holland Hup!

  7. #7
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what do you mean?

    Maybe an example if anyone like helps me comphrend it i will screm with joy - anyone that helps gets added to credits of my program

  8. #8
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    here is one straight out of my cow killer, im still learning but im sure its pretty correct

    SCAR Code:
    {======================================================================
                              Walks to Field
    =======================================================================}


    procedure ToField;
    begin
      RadialRoadWalk(findfallyRoadColor, 230, 195, 60, 1, 1); {finds fally road walk, clicks the designated place}
      flag; {waits till the flag disappears}
      RadialRoadWalk(findfallyRoadColor, 195, 170, 50, 1, 1);
      flag;
      RadialRoadWalk(findfallyRoadColor, 190, 170, 60, 1, 1);
      flag;
      if (FindSymbol(x, y, 'tree')) then Mouse(x, y, 5, 5, true); {clicks the minimap symbol for rare trees}
      flag;
      if (RadialWalkEx(x, y, MMCX, MMCY, 234, 10, 115, 90, 60)) then Mouse(x, y, 5, 5, true); {uses the red colour of a gate, has a tolerance of 10, finds it and clicks it}
      flag;
    end;

  9. #9
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for that but i figured it out myself

    Thanks to all people. Ill include you.


    -- CLOSED --

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. i have some questions
    By cycrosism in forum News and General
    Replies: 3
    Last Post: 11-22-2008, 05:56 PM
  2. several questions
    By lnknprkn in forum RuneScape News and General
    Replies: 0
    Last Post: 11-14-2007, 02:37 AM
  3. Few Questions
    By me_ntal in forum OSR Help
    Replies: 13
    Last Post: 05-04-2007, 12:33 PM

Posting Permissions

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