View Full Version : RadialRoadWalk vs. RadialWalk
dvdcrayola
08-25-2007, 07:38 AM
ok what is the diference between:
RadialRoadWalk(FindRoadColor, 110 + (i*5), 70, 70, -1, 0)
and
RadialWalk(FindRoadColor, 110 + (i*5), 70, 70, -1, 0)
and if there is.. which one will work better?
road walk has this:
if (RoadColorChecker) then
if (DebugRadialRoad) then
WriteLn(' THROUGH RADIALROADWALK= ---> ' + IntToStr(RoadColor));
if thats the case why do you need to put in a color?
MasterKill
08-25-2007, 07:50 AM
one is for roads the other is for all kinds of stuff to walk on (grass, lava, ect.)
so i gues Road walk will work better for roads :p and for roads its nessesery to use a auto color procedure, couse the road collor is changing all the time.
ShowerThoughts
08-25-2007, 07:56 AM
FindRoadColor;:rolleyes:
get on msn dvd ;)
dvdcrayola
08-25-2007, 04:35 PM
but in road walk.. it never uses the road color checker.. it just uses the color you input, which is the same as radial walk..
unless im mistaken
ShowerThoughts
08-25-2007, 05:14 PM
just use findroadcolor and fill the shit in and it will work;)
get on msn!
dvdcrayola
08-26-2007, 12:58 AM
i do use find road color.. i just want to know the difference and if it matters if i use fidroadcolor with road or just normal... get what im saying?
HyperSecret
08-26-2007, 01:29 AM
function RadialRoadWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;
By: WT-Fakawi & Wizzup?
Description:
Walks TheColor from StartRadial to EndRadial for Radius Distance
Valid Arguments:
TheColor:= RoadColor. RoadColor will be dynamically updated.
StartRadial/EndRadial := Any number between 0-1440. 0=N,90=E,180=S,270=W. DO NOT USE NUMBERS UNDER 0 or ABOVE 1440
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: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;
By: WT-Fakawi & Wizzup?
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-1440. 0=N,90=E,180=S,270=W. DO NOT USE NUMBERS UNDER 0 or ABOVE 1440
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.
i guess i would say the same as above radialroad is used for just roads and it dynamically updates the road color while, radialwalk is used for other colors that dont need to be updated
dvdcrayola
08-26-2007, 01:47 AM
begin
repeat
for i := StartRadial to EndRadial do
begin
x1 := Round(Radius * Sine(i)) + 646;
y1 := Round(-Radius * Cose(i)) + 84;
if Not LoggedIn then Exit;
if (FindColor(x, y, TheColor, X1, Y1, X1 + 1, Y1 + 1)) then
begin
MouseFindNoFlag(X,Y,Xmod,Ymod);
Result := True;
CountFlag(10);
Exit;
end;
end;
Radius := Radius - 4;
until (Radius <= 1);
end else
if (StartRadial > EndRadial) then
begin
repeat
for i := StartRadial downto EndRadial do
begin
x1 := Round(Radius * Sine(i)) + 646;
y1 := Round(-Radius * Cose(i)) + 84;
if Not LoggedIn then Exit;
if (FindColor(x, y, TheColor, X1, Y1, X1 + 1, Y1 + 1)) then
begin
MouseFindNoFlag(X,Y,Xmod,Ymod);
Result := True;
CountFlag(10);
Exit;
end;
end;
Radius := Radius - 4;
until (Radius <= 1);
end
end;
that is part of roadwalk.. to my eyes.. it doesnt use "RoadColor" that RoadColorChecker gets for it. so it just uses the color you enter, just like radialwalk
could someone please disprove me with code from the procedures?
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.