Results 1 to 9 of 9

Thread: RadialWalk Issues

  1. #1
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RadialWalk Issues

    PHP Code:
    //Walk mine to bank
    procedure MineToBank;
    begin
      SetRun
    (false);
      
    MouseFindFlag(693+random(5),71+random(5),-1,-1);
      
    Flag;
      
    Wait(random(500));
      for 
    Iter := 1 to 4 do
      
    begin
        RadialRoadWalk
    (RoadColor,300,390,70,2,2);
      
    end;
      for 
    Iter := 1 to 2 do
      
    begin
        RadialRoadWalk
    (RoadColor,210,330,70,2,2);
      
    end;
    end
    It was supposed to walk from Varrock East Mine to the bank. It doesn't work.
    If anyone could help me fix this, explain what's wrong, and/or write the BankToMine procedure, I would be very grateful.


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Works fine for me. Just needs a click bank symbol after it to get right in.

    Did you setupsrl? Colorpick the road color? Set crosshairs? Put inter in var? I can't think of why it wouldn't work.

  3. #3
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I did all of the above. And it just stands there for me. The previous one I wrote walked the wrong way.


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

  4. #4
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I always wondered what this was, but what do the last 2 numbers mean at the end?
    Doesn't it have something to do with how far the mouse clicks from the center of the MM?, like for walking long distances and stuff?
    Explain please.
    ~jR

    EDIT: i just noticed this... how is the second number you have this procdure:
    SCAR Code:
    RadialRoadWalk(RoadColor,300,390,70,2,2);
    The number "390" to be exact, going to exist?
    It only goes up to 360.

  5. #5
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The last bit is how far the mouse moves if the first click doesn't register a flag.

    EDIT: And it works now. Weirdness.


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

  6. #6
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by I Pick Axes View Post
    The last bit is how far the mouse moves if the first click doesn't register a flag.
    But can you explain a little more??
    Like from what numbers does it range to? #-1 or less? #2 or more?
    And what do you mean if it doesn't register the first click?
    Im a little slow sorry

  7. #7
    Join Date
    Feb 2006
    Location
    Under a rock.
    Posts
    1,351
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    They go in a sequence of where they go. Look at Fakawi's tutoriol on RadialRoadWalk for more info. Also, they go from -1,-1 to 1,1. This could make 9 combinations, such as 0,-1 and -1,0.

    Also, you can use 390. RadialRoadWalk supports up to 720, you can go over 360.


    I suggest adding something to make it only walk until it finds a specific color, then it will turn left.
    SRL Developer
    ◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘

  8. #8
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I use 390 instead of 30 so that it will go in the direction 340 -> 390 not 30 -> 340.


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

  9. #9
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by I Pick Axes View Post
    I use 390 instead of 30 so that it will go in the direction 340 -> 390 not 30 -> 340.
    Oooh, that explains alot, and i just looked at that tut really helped me out alot thanks guys.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Im Having issues...
    By Goodpeople in forum OSR Help
    Replies: 10
    Last Post: 01-15-2009, 03:04 PM
  2. Hmm DTM issues
    By yorkshireknight in forum OSR Help
    Replies: 7
    Last Post: 03-02-2007, 02:11 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
  •