SRL Archive - OSR Help

Must get help with Radial Walk (picture inside)


Mor

2012-04-04 09:42:44

Hello, I read some tut about radial walking and i decided to try it.
I made a script and it doesnt work. pls help me
here is the pic when I want to walk:



and here is my code:

program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}

{$IFDEF SMART}
{$i srl/srl/misc/paintsmart.simba}
{$ENDIF}

Procedure DeclarePlayers;
begin
HowManyPlayers:=1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:=0;


Players[0].Name:='
Players[0].Pass:='
Players[0].Active:=True;
end;


Procedure WalkToPort;
begin
RadialWalk(1126978, 170, 190, 40, -1, 1);
end;


begin
{$IFDEF SMART}
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ENDIF}
SetUpSRL();
ActivateClient();
DeclarePlayers();
LoginPlayer();
WalkToPort;

end.

Justin

2012-04-04 09:49:10

Try changing

RadialWalk(1126978, 170, 190, 40, -1, 1);

to


RadialWalkTolerance(1126978, 170, 190, 40, -1, 0, 10);

I also suggest using SPS if you are really stuck with radial walking

Mor

2012-04-04 10:28:03

From: [J]ustin
Try changing

RadialWalk(1126978, 170, 190, 40, -1, 1);

to


RadialWalkTolerance(1126978, 170, 190, 40, -1, 0, 10);

I also suggest using SPS if you are really stuck with radial walking


Thank you its work.
I tried SPS to walk to this brown area but it doesnt walk, but to other places SPS works fine