1. ## RadialWalk: Explained

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

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!
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. Banned
Join Date
Jun 2011
Location
Anywhere that has WIFI
Posts
674
Mentioned
0 Post(s)
Quoted
0 Post(s)
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. Yeah, I forgot to add that, could you give me a link?

4. Banned
Join Date
Jun 2011
Location
Anywhere that has WIFI
Posts
674
Mentioned
0 Post(s)
Quoted
0 Post(s)
Originally Posted by nkn
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. Aha, thanks.
Repped you for the links.

6. SRL Junior Member
Join Date
Feb 2012
Posts
313
Mentioned
0 Post(s)
Quoted
0 Post(s)
Thanks

7. Am I missing anything on this? D:

8. Maybe explain what WalkingSpec(i) does?

9. 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. nice tutorial buddy!

11. Thanks.

12. SRL Junior Member
Join Date
Nov 2007
Posts
77
Mentioned
0 Post(s)
Quoted
0 Post(s)
very good tut ty that picture really help me sometime

13. Registered User
Join Date
Sep 2012
Posts
59
Mentioned
0 Post(s)
Quoted
11 Post(s)
Thanks for this awesome guide sir

14. Registered User
Join Date
Jan 2012
Posts
287
Mentioned
2 Post(s)
Quoted
63 Post(s)
Does this work in OSR?

15. Originally Posted by Rules of Joe
Does this work in OSR?
Yes.

16. Registered User
Join Date
Jan 2012
Posts
287
Mentioned
2 Post(s)
Quoted
63 Post(s)
Will Test because it never worked before! I hope that the colors have became more stable in OSR!