Results 1 to 11 of 11

Thread: Trouble with RadialRoadWalk's parametres

  1. #1
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Trouble with RadialRoadWalk's parametres

    Code:
    procedure ToShop;
    begin
    PerfectNorth;
    colorofroad := FindRoadColor;
    RadialRoadWalk(colorofroad, 0, 1440, 70, 1, 1);
    end;
    That is supposed to click the uppest road color in the map, but it just clicks a few pixels under my characters dot in MM, anyone have idea what is wrong with that?

  2. #2
    Join Date
    Jun 2007
    Location
    ENGLAND
    Posts
    220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I thought i knew but checked it out and it wernt
    I'd suggest you PM an SRL member or add them on MSN etc..
    Good Luck with your problem

  3. #3
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by WT-Fakawi View Post
    The RoadColor is not a constant color, but it rotates with each Loading Please Wait... screen. Filling in 7500667 will not work unless it is the startcolor of the Road. Once the StartColor (RoadColor := xxxxxxxxx) is set, you do RadialRoadWalk(RoadColor , 0, 180, 60, -1, 1); and RRW will automatically adept to each new RoadColor.
    http://www.srl-forums.com/forum/radi...tml#post169256

    That Help?

  4. #4
    Join Date
    Jun 2007
    Location
    ENGLAND
    Posts
    220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well researched Cathering

  5. #5
    Join Date
    Jul 2007
    Location
    England
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Your problem is that you haven not set the radius, (shown in bold)

    Code:
    procedure ToShop;
    begin
    PerfectNorth;
    colorofroad := FindRoadColor;
    RadialRoadWalk(colorofroad, 0, 1440, 70, 1, 1);
    end;
    The radius is a straight line extending from the centre of a circle.

    Now here is a small tutorial on how to find your radius:

    1. Open up Scar

    2. Navigate to File ---> Open ---> C:\Program Files\Scar <Version-Number>\includes\SRL\scripts\Radial Walking Aid.scar

    3. Compile and you should see this.



    4. Open up RuneScape, Log in and be standing where you want with your compass set to north or whatever it may be in your script.

    5. Open up Radial Walking Aid form while RuneScape still showing make sure the Radial Walking Aid is not covering the mini map and press "Capture From Client" You should get this,



    6. Then click on that picture on the minimap where you want to end, a red line should appear like so,



    7. Now follow this picture,



    8. Add the Radius number to RadialRoadWalk where the 0 was and your off =]

    Remember my radius and other information will be different to yours as I am in a different location that you probably are

    -Nitro

  6. #6
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well umm i fixed that but why the perfect north wont work?

  7. #7
    Join Date
    Oct 2006
    Posts
    1,071
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Just do:

    SCAR Code:
    procedure ToShop;
    begin
    MakeCompass('N');
    colorofroad := FindRoadColor;
    RadialRoadWalk(colorofroad, 0, 1440, 70, 1, 1);
    end;

    I find that Perfectnorth and Highestangle sometimes don't work for me

  8. #8
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh yeah, thankyou for the radar help! :P

  9. #9
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey guys i have another question, how can i dind the general shop guy in crowded general store?


    Do i have use for this? ->

    if FindObj(x, y, 'eneral',[some color], 50) then Mouse(x, y, 2, 1, True);

  10. #10
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Well you cant if hes over another player but you can search for him by using colors if a color thats very unique to him eg for a chicken the red then when It finds the color it will use the Cords where it found the color to use as part of a box to find another color Example code:
    SCAR Code:
    if(FindColorTolerance(xx, yy, 397183, 6, 7, 513, 335, 10)) then //Find The Unique Color
        begin
          wait(300+random(100));
          if(FindColorTolerance(xx, yy, 15460843, xx, yy, xx+20, yy+20, 15)) then //Look At The +20 to the xx and yy
          begin
            MMouse(xx, yy, 5, 5);
            if(Option2('Rune')) then //See If its the thing your looking for
            begin
              ClickMouse(true);     //CLick Mouse
            end;
          end;
        end;

  11. #11
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yay thanks everyone, got it working, now i just need to make it find the logs from the screen, then im almost ready :P Althrough my script is very buggy, bugs easy

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Always trouble
    By BlueDraGoN777 in forum OSR Help
    Replies: 3
    Last Post: 01-08-2008, 07:19 PM
  2. Having a little trouble....
    By ak473251 in forum OSR Help
    Replies: 2
    Last Post: 11-24-2007, 08:09 PM
  3. trouble!
    By s1cky in forum OSR Help
    Replies: 1
    Last Post: 10-08-2007, 12:47 AM
  4. trouble
    By RS Rebel in forum OSR Help
    Replies: 6
    Last Post: 07-27-2007, 09:11 AM
  5. Invalid number of parametres
    By rkroxpunk in forum OSR Help
    Replies: 3
    Last Post: 03-22-2007, 02:17 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
  •