SRL Archive - RS3 Utility Scripts

RadialWalkAid - Rebirth


mormonman

2011-12-28 13:47:24

I hate writing threads.

Basically its just a new RadialWalkAid, using the same methods as Yakman's. I haven't extensively tested it so if you find bugs post 'em here.


Instructions:
- Form itself it pretty self-explanatory.
- Smart will load, then form should open. Log in. Then block SMART and click Load Map. You can load the map whenever. The last loaded map is cached and will be redrawn on clicking Clear Map.
- To Draw RadialPath: Add radian and radius info to the list and select it in the list, then click draw.
- Clicking on the minimap image with "Pause" the radian drawing allowing you to add the info to the list(just remember you need two radians).
- You can disable radian drawing by unchecking the "Draw Radian" box.
- Change the debug color with that button…it will change on the next drawing.

I can't think of anything else.

Drakan

2011-12-28 13:49:41

IT LOOKS AMAZING MAN I LOVE U UR SO SEXY! I WANT YOUR SEX!
hi.

hamster31

2011-12-28 14:03:30

OMG thats great! I want to have your babies

PatDuffy

2011-12-28 14:09:51

YESSSS <3

Now we can renew that pesky requirement for Radial Walking on Member's Apps :D

Aegis

2011-12-28 14:14:06

YES! I love you!

PS: I loved how you owned everyone over at RSCA. Highly entertaining as well! +11111

mormonman

2011-12-28 15:26:55

From: PatDuffy
YESSSS <3

Now we can renew that pesky requirement for Radial Walking on Member's Apps :D


Maybe I should add a "Generate Code" button so that it will be like everything else…spoon-fed.

RISK

2011-12-28 15:28:34

Maybe you should add a "Create Members application-worthy script" button instead.

From: mormonman
Maybe I should add a "Generate Code" button so that it will be like everything else…spoon-fed.

Kyle Undefined

2011-12-28 15:30:43

From: RISK
Maybe you should add a "Create Members application-worthy script" button instead.


Lol'd. We are making it too easy aren't we?

Sin

2011-12-28 15:31:21

Thanks a lot for this :)
(I do believe i'm the only one who said thanks properly o.O)

[XoL]

2011-12-28 15:39:20

I have been needing this so bad, thank you so much :D

From: mormonman
Maybe I should add a "Generate Code" button so that it will be like everything else…spoon-fed.


YEAH! lol Just kidding :P

mormonman

2011-12-28 15:52:03

Any suggestions anybody?

Sin

2011-12-28 15:55:05

Make a video tutorial on how to use it.
Im still a bit confused :3

Claymore

2011-12-28 16:11:20


{*******************************************************************************
function RadialWalk(TheColor, StartRadial, EndRadial, Radius, Xmod, Ymod: Integer): Boolean;
By: Nielsie95
Description: Walks TheColor from StartRadial to EndRadial for Radius Distance
Valid Arguments:
TheColor: Any Color, but Road- or WaterColor will do fine :)
StartRadial/EndRadial: Any number between 0-720. 0=N,90=E,180=S,270=W.
Radius: Distance from the centre of minimap, i.e. how far away the mouse clicks. Use numbers 20-72
XMod, YMod: deviation from MouseFindFlag. -2 to 2.
*******************************************************************************}
function RadialWalk(TheColor, StartRadial, EndRadial, Radius, Xmod, Ymod: Integer): Boolean;
var
TPA: TPointArray;
I: Integer;
begin
Result := False;
if RadialWalkEx(tpa, MMCX, MMCY, TheColor, 0, StartRadial, EndRadial, Radius) then
for i := 0 to High(tpa) do
if MFNF(tpa[i].x, tpa[i].y, Xmod, Ymod) then
begin
FFlag(10);
Result := True;
Exit;
end;
end;

RadialWalk uses the defined portion of the minimap (in radians), and searches for a color inside that portion of the minimap and clicks to the furthest end of the portion.

Cant really explain it well, but thats the best i can do lol.

noidea

2011-12-28 16:12:51

Yeeee. People please try this stuff instead of SPS. Its a good product, but you should learn SRL :)

Awesome mormonman

mormonman

2011-12-28 16:13:01

I might make a video later. No time atm.

Sin

2011-12-28 16:14:10

Haha yeah, i know what Radial Walk is.
It's just the helper that confuses me :p
Idk if IM supposed to enter the info, or it's going to give it to me xD

P1nky

2011-12-28 17:01:14

Love You <3

Nebula

2011-12-28 17:03:26

Wow, if this works then thanks. All the RadialWalking tutorials talk about RRA but Iv'e never been able to find it.

mormonman

2011-12-28 18:32:06

From: S1N
Haha yeah, i know what Radial Walk is.
It's just the helper that confuses me :p
Idk if IM supposed to enter the info, or it's going to give it to me xD


Use the minimap to find the info, then you can enter it into the list and click draw to see where it will search.

@P1nky - saw your post and made it.

jakeyboy29

2011-12-28 18:37:25

From: mormonman
Use the minimap to find the info, then you can enter it into the list and click draw to see where it will search.


I think this good sir means the function

NCDS

2011-12-28 18:41:23

I never even thought about the old one not working… :duh:


Nice job never the less.

euphemism

2011-12-28 18:53:42

From: NCDS
I never even thought about the old one not working… :duh:


Nice job never the less.


Yah, I installed SCAR on my desktop a while back when I was trying to use the tool.

mormonman

2011-12-28 23:40:40

I added a working version of the old one to the first post for Shigs(shits and giggles).

Justin

2011-12-28 23:47:47

Thanks for this! Will be using this tons

P1nky

2011-12-29 15:04:28

From: mormonman

@P1nky - saw your post and made it.


Aw, I was surprised when I saw the thread made right after my question :).
+1

hhhzzzarn

2012-01-01 15:45:09

Stop complaining and upgrade the requirements. Empty heads.

Good job.

Gushers

2012-01-01 16:12:57

Wow, this is amazing. I've needed this so badly.
My only problem is how do you work it? Lol.. Here's a video of me trying (click the image to open it) :

I know I'm missing the middle but how do you know how big to make it?
And once your done, how do you add this into your script? Please help.

mormonman

2012-01-01 18:51:07

You know how big to make it from which section of the map you want to search/click. Read up some tutorials on RRW.

VastlySuperior

2012-08-06 16:46:47

Hi

Thanks for this tool. Was just wondering if you could Update it to work with the current Simba. I made changes and I can get the minimap and use it except that it does not draw anything at the moment and my understanding of drawing on the canvas is quite limited.

Would appreciate it if this can be updated.

Thanks mormonman

Etrnl Fear

2012-08-06 17:19:58

From: Gushers
Wow, this is amazing. I've needed this so badly.
My only problem is how do you work it? Lol.. Here's a video of me trying (click the image to open it) :

I know I'm missing the middle but how do you know how big to make it?
And once your done, how do you add this into your script? Please help.


I know this quote is 8+ months old, but I'm posting it anyway for anyone that happens to have the same problem.

The End Radian is how far from the Start Radian it searches (in a circle). You have it set to 0 with a Start of 255. This means it draws a 255 degree portion. Try setting it to 220 start with a 255 end. This should draw a much smaller portion (and not cause it to become unresponsive).


With that ADD moment out of the way…


Great work, mormonman. :)
Takes a load of thinking off us.

mormonman

2012-08-06 20:57:39

Updated.

Le Jingle

2012-08-06 21:14:31

Oh,
I've never touched radial walk in any of my scripts. Neither did I know about this RadialWalkAid. Thanks for the utility as well as updating it. I will give it a go!

mormonman

2012-08-07 14:55:04

Forgot to mention that I boosted the path drawing by a metric shit-ton.

Recursive

2012-08-07 18:11:38

In rrw, when does the mouse click? Does it click at the end of your radius or does it click when it finds the color that matches the color you specified?

mormonman

2012-08-07 19:16:42

From: [Re]cUrSivE
In rrw, when does the mouse click? Does it click at the end of your radius or does it click when it finds the color that matches the color you specified?


I'm pretty sure it clicks as close to your radius length as possible, if it finds the color.

Here is the flow:
1. Search for color on minimap
2. Filter out points not in pie slice(degrees and radius)
3. Sort those points from radius to center
4. In RadialWalk it iterates through the ordered points and tries to walk to them(its the same in RadialRoadWalk)

BigRedJapan

2013-03-07 00:50:06

Is this going to be remade so that I can use it in 07 Scape

mormonman

2013-03-26 08:30:54

Added OSR version.

Total

2013-03-26 08:32:12

Oh sweet been waiting for the OSR version. Thanks. :)

Reflector

2014-01-20 07:22:13

Any chance this will get updated for srl 6??

Ashaman88

2014-01-20 09:30:14

From: naveenmathew
Any chance this will get updated for srl 6??


Why not just use SPS? I've found SPS (if done correctly) is really dang accurate!

Hoodz

2014-01-20 11:22:18

From: Ashaman88
Why not just use SPS? I've found SPS (if done correctly) is really dang accurate!


offtopic: your new red name looks weird to me :p congratulations again asha!