YoHoJo
06-02-2007, 03:08 AM
Updates:
6-18-07: Changed DDTM and make search box smaller.
7-1-07: Made it loop more and add less tol each loop to return more acceptable colors. Also Added YoHoRoadWalk
Here is a new and working updated version of YoHoRadialGetRoadColor.
It now uses a DDTM (<3 Fakawi and Freddy) and works completely different from the last one.
I set up a small journey for my character from lumbridge to varock east mine using the function at random stops and manually picking the color to check it.
This is an edited version of Radial Road Walk, which searches for a DDTM and slowly adds tolerance/area if the DDTM if its not found.
Code speaks for itself, DDTMs are fun.
May not work in falador due to very whiteish road color.
Iv also added YohoRadialRoadWalk whcih works exactly like RRW. It just automatically obtains a road color using RaidalGetRoadColor and uses it to walk on.
Please test this anywhere you please and show results/errors.
The parameters are exactly like RRW.
YoHoRadialGetRoadColor(StartRadial,EndRadial)
Here are my tests in the order
Location
Color Returned
Ms taken
Manual Color Picked
Lumby Spawn
6185062
31
Color Picked: 6185062 at (709, 93)
General Store
6185062
31
Color Picked: 6185062 at (605, 81)
North West Coop
6316648
31
Color Picked: 6316648 at (662, 85)
Lumbridge to Draynor Raoad (Neat Wheat)
6448490
32
Color Picked: 6448490 at (651, 104)
Draynor Bank
6316392
31
Color Picked: 6316392 at (596, 58)
Dryanor To Falador Road
6316392
31
Color Picked: 6316392 at (601, 87)
South Falador Road
6316136
16
Color Picked: 6316136 at (617, 71)
Falador South Gate(WOW, roadcolor drastically cahnges here!)
6386811
31
Color Picked: 6386811 at (631, 63)
Falador Bank
6386811
32
Color Picked: 6386811 at (690, 109)
Falador Center
6386811
15
Color Picked: 6386811 at (650, 70)
Faador to Babarian(RoadColor Changes Here also)
6184550
31
Color Picked: 6184550 at (656, 68)
Road Between Babarian And Varock
6447722
31
Color Picked: 6447722 at (682, 93)
Varock West Bank
7963012
16
Color Picked: 7963012 at (691, 69)
Varock Center
8094598
31
Color Picked: 8094598 at (643, 93)
Varock East Bank
8094598
16
Color Picked: 8094598 at (679, 79)
Varrock East Mine
7963012
31
Color Picked: 7963012 at (660, 82)
Thanks To Ron For Some Shit and Shat <3
6-18-07: Changed DDTM and make search box smaller.
7-1-07: Made it loop more and add less tol each loop to return more acceptable colors. Also Added YoHoRoadWalk
Here is a new and working updated version of YoHoRadialGetRoadColor.
It now uses a DDTM (<3 Fakawi and Freddy) and works completely different from the last one.
I set up a small journey for my character from lumbridge to varock east mine using the function at random stops and manually picking the color to check it.
This is an edited version of Radial Road Walk, which searches for a DDTM and slowly adds tolerance/area if the DDTM if its not found.
Code speaks for itself, DDTMs are fun.
May not work in falador due to very whiteish road color.
Iv also added YohoRadialRoadWalk whcih works exactly like RRW. It just automatically obtains a road color using RaidalGetRoadColor and uses it to walk on.
Please test this anywhere you please and show results/errors.
The parameters are exactly like RRW.
YoHoRadialGetRoadColor(StartRadial,EndRadial)
Here are my tests in the order
Location
Color Returned
Ms taken
Manual Color Picked
Lumby Spawn
6185062
31
Color Picked: 6185062 at (709, 93)
General Store
6185062
31
Color Picked: 6185062 at (605, 81)
North West Coop
6316648
31
Color Picked: 6316648 at (662, 85)
Lumbridge to Draynor Raoad (Neat Wheat)
6448490
32
Color Picked: 6448490 at (651, 104)
Draynor Bank
6316392
31
Color Picked: 6316392 at (596, 58)
Dryanor To Falador Road
6316392
31
Color Picked: 6316392 at (601, 87)
South Falador Road
6316136
16
Color Picked: 6316136 at (617, 71)
Falador South Gate(WOW, roadcolor drastically cahnges here!)
6386811
31
Color Picked: 6386811 at (631, 63)
Falador Bank
6386811
32
Color Picked: 6386811 at (690, 109)
Falador Center
6386811
15
Color Picked: 6386811 at (650, 70)
Faador to Babarian(RoadColor Changes Here also)
6184550
31
Color Picked: 6184550 at (656, 68)
Road Between Babarian And Varock
6447722
31
Color Picked: 6447722 at (682, 93)
Varock West Bank
7963012
16
Color Picked: 7963012 at (691, 69)
Varock Center
8094598
31
Color Picked: 8094598 at (643, 93)
Varock East Bank
8094598
16
Color Picked: 8094598 at (679, 79)
Varrock East Mine
7963012
31
Color Picked: 7963012 at (660, 82)
Thanks To Ron For Some Shit and Shat <3