SRL Archive - Research & Development Lounge

Is it ready for members?


dallas574

2008-10-24 19:15:20

I have been working on thisscript for a couple of weeks and was wondering if it was ready for members.

If not then please tell me why and what to add to it.

~thanks

TravisV10

2008-10-24 19:19:59

No. Kinda simple and you need more failsafes.

dallas574

2008-10-24 19:21:15

K thanks for your reply

noidea

2008-10-24 19:26:44

No, it's almost ready. Its got TPA's,and walking and DTM's, but… Not enough of it is yours. Make your own functions and things. And there are not enough fail safes. Good job though. You were close.

dallas574

2008-10-24 19:27:30

Thanks

D1zl3

2008-10-24 19:32:33

If your using radialwalk and your walking on a road, then use radialroadwalk…im pretty sure its better.
if RadialRoadWalk(FindLumbyRoadColor, 90, 100, 70, 5, 5)then
FFlag(6);

(You would use FindVarrokRoadColor)

dallas574

2008-10-24 19:35:45

The funny thing is I was just changing that now LOL!
BTW what is the differece between radialraodwalk and radialwalk?
~Thanks for your reply

NiCbaZ

2008-10-24 19:37:04

No , most of the advanced Code , if others , learn it yourself :)

D1zl3

2008-10-24 19:39:05

From: dallas574
The funny thing is I was just changing that now LOL!
BTW what is the differece between radialraodwalk and radialwalk?
~Thanks for your reply


Im not that sure, but I used it cause this told me to.

dallas574

2008-10-25 09:30:38

Thanks for your voting and replies if anyone know what is the difference between radialwalk and radialrooadwalk please tell me :)

Shuttleu

2008-10-25 09:35:39

From: dallas574
Thanks for your voting and replies if anyone know what is the difference between radialwalk and radialrooadwalk please tell me :)


function RadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; 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;
Break;
end;
end;
function RadialRoadWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;
var
tpa: TPointArray;
i: Integer;
begin
Result := False;
if (not LoggedIn) then Exit;
if (RoadColorChecker) then
if (DebugRadialRoad) then
WriteLn(' THROUGH RADIALROADWALK= ---> ' + IntToStr(RoadColor));
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
CountFlag(10);
Result := True;
Break;
end;
end;

nothing really

~shut

kitchenrange

2008-12-02 12:28:30

I use radial walk mostly because you can just insert road color…. Doesnt make a difference, and the FFlag function is built in to the walking, so if you want to change the distance you have to change it in the radialwalk function.

Like Make

function RadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; 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.x, tpa.y, Xmod, Ymod) then
begin
FFlag(10); // Change this to whatever
Result := True;
Break;
end;
end;


Also change the name to like RadialWalkTwo or something so you dont have duplicate identifiers in the script.