Results 1 to 15 of 15

Thread: Radialwalk please :)

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

    Default Radialwalk please :)

    The color I use for my walk changes between these 2 different colors. How can I still make it walk if it doesn't find one color but it finds the other?
    I thought it would go something like this but it didn't work.

    RadialWalk( 3892328 , 135, 161, 80, 0, 0);
    while not(RadialWalk( 3892328 , 135, 161, 80, 0, 0)) do RadialWalk( 4024939 , 135, 161, 80, 0, 0);

    Any help please?
    Current Script: Al-Kharid Fighter and Banker
    Status : Just Started

  2. #2
    Join Date
    Nov 2007
    Location
    UK
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    If RadialWalk(BablaBla) Then
    begin
     Writeln('IT WORKED!')
    end
    else
     begin
     radialwalk(BlaBlaBla)
     end;
    end;
    Hope that helps!
    EDIT: Fix'd

  3. #3
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Runescape colors change alot..you should use autocolorthis or just
    SCAR Code:
    Radialwalk(findladdercolor, 90, 270, 72, 0, 0);
    Eerik.
    Hmm is radius 80 available=>does it work?:O

  4. #4
    Join Date
    Nov 2007
    Location
    UK
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Heavenzyez1 You can use any radius between 0 and 360 if i remember correctly

  5. #5
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Wade007 View Post
    Heavenzyez1 You can use any radius between 0 and 360 if i remember correctly
    IT's HEAVENZEYEZ1.
    Max radius is 72 AFAIK.. it's from the point u are and till the edge of the minimap.
    Eerik.
    U're messing it up with radial->can be 0-360 even 760.

  6. #6
    Join Date
    Nov 2007
    Location
    UK
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OOOh, that is what you meant, I get those two mixed up!

  7. #7
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Wade007 View Post
    OOOh, that is what you meant, I get those two mixed up!
    It's okay, it used to happen with me all the times. :S
    Eerik.

  8. #8
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    or you can use this :
    SCAR Code:
    Procedure Walk;
    var
      WalkColor,x,y : Integer;
    begin
      if FindColorTolerance(x,y,thecolor,MMX1,MMY1,MMX2,MMY2) then
      begin
        WalkColor := GetColor(x,y);
      end else
      begin
        Writeln('Color not found');
      end;
      if RadialWalk(WalkColor,StartRadius,EndRadius,Radius,Xmod,Ymod) then
      begin
        Writeln('walking');
      end else
      begin
        Writeln('we are lost');
      end;
    end;
    Mines better

    EDIT: Never use the radius at 66+ it could mess up the script


  9. #9
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by cazax View Post
    or you can use this :
    SCAR Code:
    Procedure Walk;
    var
      WalkColor,x,y : Integer;
    begin
      if FindColorTolerance(x,y,thecolor,MMX1,MMY1,MMX2,MMY2) then
      begin
        WalkColor := GetColor(x,y);
      end else
      begin
        Writeln('Color not found');
      end;
      if RadialWalk(WalkColor,StartRadius,EndRadius,Radius,Xmod,Ymod) then
      begin
        Writeln('walking');
      end else
      begin
        Writeln('we are lost');
      end;
    end;
    Mines better

    EDIT: Never use the radius at 66+ it could mess up the script
    How can it mess up the script? I've always used 72.
    Eerik.

  10. #10
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by heavenzeyez1 View Post
    How can it mess up the script? I've always used 72.
    Eerik.
    BH told me that, idk


  11. #11
    Join Date
    Oct 2006
    Location
    I'm also from Michigan!
    Posts
    563
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    radius max is now 67 with the new round minimap.

    As for the radialWalking issue, as was said before use autocoloring or just create another function that returns the best color to use.

  12. #12
    Join Date
    Mar 2007
    Location
    Ohio
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cant you just use RadialROADWalk. because i think it updates the road color everytime it clicks. but i could be wrong...

    EDIT: Oh my bad i re-read the first post nevermind this post

  13. #13
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by munk View Post
    radius max is now 67 with the new round minimap.
    Max is 76 . I would suggest you find a way to auto colour the thing you are walking to. Its lots more accurate.

  14. #14
    Join Date
    Jun 2007
    Location
    Belgium
    Posts
    333
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ZephyrsFury View Post
    Max is 76 . I would suggest you find a way to auto colour the thing you are walking to. Its lots more accurate.
    though you can use that radius, it's not recommended, like said before it can mess up the script unless you adapt your script for it. Problem would be that when you use a radius like that the mouse could click right at the edge of the minimap, and depending in which direction your walking it would mean that the flag appears just offscreen, therefor messing up the script as it continues the script.
    If you wanne use a radius like that, you'll need to put in a decent delay before you give the FFlag(0) command.

  15. #15
    Join Date
    Sep 2007
    Posts
    501
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    according to the globals in srl, the difference between the y axis in the center of the minimap and the y axis of the edge is 77

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RadialWalk?
    By StrikerX in forum OSR Help
    Replies: 2
    Last Post: 04-19-2008, 09:25 AM
  2. RadialWalk Help
    By Esteban in forum OSR Help
    Replies: 12
    Last Post: 06-13-2007, 02:33 AM
  3. Replies: 3
    Last Post: 06-11-2007, 08:40 PM
  4. Help W/ RadialWalk
    By IEatJ00erBaybees in forum OSR Help
    Replies: 6
    Last Post: 05-29-2007, 01:51 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
  •