Results 1 to 25 of 25

Thread: RadialWalk: Explained

  1. #1
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default RadialWalk: Explained

    Alright, this is my first tutorial, and it's late at night, so don't rage at me too hard!
    Table Of Contents:
    1. RadialWalk and RadialWalkTolerance
    2. Making A Path
      a. How to Use It
    3. Tools
    4. Conclusion



    RadialWalk and RadialWalkTolerance
    Alright, so RadialWalk is set up like this:
    Simba Code:
    RadialWalk(12345,0,90,70,5,5);
    Alright, let's go explain.
    12345: This is the color you search for, in THAT walking sequence. This has to be ONE integer.
    0: The start of the Radial, it looks like a wedge, so out of 360 degrees (A full circle.) where do you want it to start? You pick a part of the circle to find this color in. Here is a picture:

    You see in here, 0 degrees to 90 is colored red, that's where you are searching! 180 is the bottom, 270 is the left, and 0 is the north, (Not 360, goes to 359). Must be one interger.
    90: See above.
    70: How far out it searches, so, how far away the wedge is from the center of the minimap, this is where it looks FIRST! It HAS to be less than 74, because that is the edge of the minimap. I would use 65 so it doesn't bug up as much. Must be an Integer
    5,5: How far it moves the mouse if the flag can not be placed at the point. Say you click a big rock, and the flag doesn't place, it moves 5 units on the x axis, and 5 on the y and clicks again! Two different points, first one is for the X change, second is for the Y change, must be an Integer.

    That's it for RadialWalk!

    RadialWalkTolerance, is just like it, but you add one more number on the end, for the tolerance!
    It works just like the tolerance in FindColorTolerance, so I won't go indepth.

    The tolerance is how much the color can vary, and since the color changes, I suggest using RadialWalkTolerance.
    Tolerance has to be an integer, also.

    An example:
    Simba Code:
    RadialWalkTolerance(12345,0,90,70,5,5,10);
    The tolerance is set to 10!

    How to make long paths
    To make it nice and neat, I would put all your RadialWalk's in one procedure, like so:
    Simba Code:
    procedure WalkingSpec(TheWalk:Integer);

    begin
      if not LoggedIn then Exit;
      case TheWalk of
        1: RadialWalkTolerance(12345,159,186,74,5,5,15);
        2: RadialWalkTolerance(12345,136,153,74,5,5,15);
        3: RadialWalkTolerance(12345,140,220,74,5,5,10);
        //All Above is Walking to Ore
        4: RadialWalkTolerance(12345,340,327,74,5,5,25);
        5: RadialWalkTolerance(12345,330,357,74,5,5,25);
        6: RadialWalkTolerance(12345,316,267,74,5,5,25);
        //All Above is Walking to Bank
        7: RadialWalkTolerance(12345,329,320,74,5,5,25);
        8: RadialWalkTolerance(12345288,262,74,5,5,25);
        9: RadialWalkTolerance(12345,340,250,60,5,5,25);
        //To second rock from rock one.
        10: RadialWalkTolerance(12345,78,94,74,5,5,25);
        11: RadialWalkTolerance(12345,358,351,74,5,5,25);
        //To bank, second path.

      end;
    end;
    You could use something like that, to seperate them, so you know what they do, which is the point of the comments. This came directly from my LRC script, but the colors have been changed. ;D.

    How to Use It
    You could use it like so!
    Simba Code:
    procedure WalkingToRock1;
    var
      i,x,y:Integer;
    begin
      for i := 1 to 3 do//Uses 1-3 of my RadialWalks, which walks to the first rock
      begin
        Writeln('You are on Walk Number ' + IntToStr(i));
        WalkingSpec(i);
      end;
      (Anything you want the script to do after walking to the rock)
    end;
    There you go! It should use 1-3 of the RadialWalks, and not the rest!

    This is how it works: When you defined WalkingSpec, you said the variable in the () after the name, so you can call it like so. The I stands for the TheWalk variable, which then selects the right type of RadialWalk!
    Now, to call it in the mainloop, all you have to do is:
    Simba Code:
    procedure MainLoop;
    begin
      WalkingToRock1;
    end;
    Tools:
    To make everything easier, you can use this tool to paint the "wedge" on screen!
    Radial Walk Aid
    Props to Jokester for getting me the link, cause I forgot it.
    Conclusion
    I hope this explained a little more about RadialWalk and RadialWalkTolerance, it took me a good while to understand it, and I hope I explained it well enough for you to be able to use it! Well that wraps it up! Leave Comments/Suggestions/Concerns in the comments Below!
    Last edited by NKN; 04-09-2012 at 09:31 PM.

  2. #2
    Join Date
    Jun 2011
    Location
    Anywhere that has WIFI
    Posts
    669
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I was just about to ask about this! Trying to learn different ways to walk and now radialwalking is checked off. I've got a link to a radialwalkaid that you just input the numbers into to get your radials if you want to include that in the OP.

  3. #3
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Yeah, I forgot to add that, could you give me a link?

  4. #4
    Join Date
    Jun 2011
    Location
    Anywhere that has WIFI
    Posts
    669
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nkn View Post
    Yeah, I forgot to add that, could you give me a link?
    Try this one: http://villavu.com/forum/showthread.php?t=70341

    Or this one: http://villavu.com/forum/showthread.php?t=77374

    Btw I will +rep you for this once I can get on my computer. For some reason it won't let me from my phone.

    And I would have just attached the files but as I just said im on my phone and it won't let me

  5. #5
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Aha, thanks.
    Repped you for the links.

  6. #6
    Join Date
    Feb 2012
    Posts
    317
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks

  7. #7
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Am I missing anything on this? D:

  8. #8
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Maybe explain what WalkingSpec(i) does?

  9. #9
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Oh jesus, that was my own Proc and I said I didn't know what it meant.
    I thought it was a SRL include. Thanks, Abu.
    Last edited by NKN; 04-09-2012 at 09:29 PM.

  10. #10
    Join Date
    Apr 2007
    Location
    Los Angeles
    Posts
    622
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    nice tutorial buddy!

  11. #11
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Thanks.

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

    Default

    very good tut ty that picture really help me sometime

  13. #13
    Join Date
    Sep 2012
    Posts
    270
    Mentioned
    4 Post(s)
    Quoted
    97 Post(s)

    Default

    Thanks for this awesome guide sir

  14. #14
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    Does this work in OSR?

  15. #15
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    Does this work in OSR?
    Yes.

  16. #16
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    Will Test because it never worked before! I hope that the colors have became more stable in OSR!

  17. #17
    Join Date
    Mar 2008
    Posts
    426
    Mentioned
    1 Post(s)
    Quoted
    116 Post(s)

    Default

    Thanks man! This was real helpful.
    You are now in my credits list :P



  18. #18
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by Peanuts View Post
    Thanks man! This was real helpful.
    You are now in my credits list :P
    Cool. :P

    Glad it was useful.

  19. #19
    Join Date
    Aug 2013
    Posts
    82
    Mentioned
    0 Post(s)
    Quoted
    35 Post(s)

    Default

    Would you recommend radialwalk over SPS walking for OSR?

  20. #20
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Athylus View Post
    Would you recommend radialwalk over SPS walking for OSR?
    We got reflection walking now

    Creds to DannyRS for this wonderful sig!

  21. #21
    Join Date
    Aug 2013
    Posts
    82
    Mentioned
    0 Post(s)
    Quoted
    35 Post(s)

    Default

    Could you link me to that Sjoe? I would appreciate that.

  22. #22
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Athylus View Post
    Could you link me to that Sjoe? I would appreciate that.
    Not really a thread about it, there's no include yet.

    http://villavu.com/forum/showthread....80#post1259880 some functions
    on benland's smart8.2 thread is some info bout it.

    and mine/awkwardsaw script uses refl. walking.

    Creds to DannyRS for this wonderful sig!

  23. #23
    Join Date
    Aug 2013
    Posts
    82
    Mentioned
    0 Post(s)
    Quoted
    35 Post(s)

    Default

    That's tight bro, thanks. I'll take a look.

    Edit: Hehe I don't get it. Can anyone tell me in what folder I should put RadialWalkAid.simba in?
    Last edited by Athylus; 08-14-2013 at 04:06 PM.

  24. #24
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by Athylus View Post
    That's tight bro, thanks. I'll take a look.

    Edit: Hehe I don't get it. Can anyone tell me in what folder I should put RadialWalkAid.simba in?
    You don't need to put it in a folder, it's a runnable script.

    Just put it in Simba and press play.

  25. #25
    Join Date
    Aug 2013
    Posts
    82
    Mentioned
    0 Post(s)
    Quoted
    35 Post(s)

    Default

    Cool, thanks!

Thread Information

Users Browsing this Thread

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

Posting Permissions

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