Results 1 to 4 of 4

Thread: Long distance radial walking.

  1. #1
    Join Date
    Dec 2011
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default Long distance radial walking.

    Code:
    program RunToAlterWorking;
    {$DEFINE SMART8}
    {$I SRL-OSR/SRL.Simba}
    {$I SPS/sps-osr.simba}
    
    
    
    var
      tmpCTS, l, r:Integer;
      ObjectTPA:TPointArray;
      X, Y, AltarCol1:Integer;
    
    
    const
      AccountLogin = '';
      AccountPass = '';
      CharacterName = '';
      version = '1.1';              
                                    
    
    //Declare your username and password
    procedure DeclarePlayer;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
          Players[0].Name := AccountLogin;
          Players[0].Pass := AccountPass;
          Players[0].Nick := CharacterName; //Important for antirandoms
          Players[0].Active := True;
      end;
    
    
    
    
    
    
    procedure WalkingToAlter;
    begin
      if not LoggedIn then Exit;
    
         makecompass('E');
         begin
        RadialWalk(5527389,26,77,40,1,1);    //walk to road 1
        wait(2000);
        RadialWalk(2508633,26,70,47,1,1);     //walk to docks
         wait(2000);
        makecompass('N');
        RadialWalk(5724768,80,77,108,1,1);     //walk to enddocks
        wait(2000);
        RadialWalk(5724768,47,70,76,1,1);         //walk east pray alter
         wait(2000);
        RadialWalk(543010,15,73,70,1,1);
         wait(2000);
        RadialWalk(85289,15,70,70,1,1);
         wait(2000);
        RadialWalk(85017,50,66,30,1,1);
         wait(2000);
    
    end;
    end;
    
    
    
    
    
    
       begin
    
      SetupSRL;
      activateclient;
      DeclarePlayer;
      LoginPlayer;
      SMART_FIXSPEED := TRUE;
      wait(500);
    repeat
    
    
    WalkingToAlter;
        until(false)
    end.
    Heres my code. Why won't radial walk work for long distances? should i only face one direction the whole time? any tips on doing that?
    BTW walking from balloon to law alter

  2. #2
    Join Date
    Apr 2013
    Posts
    395
    Mentioned
    1 Post(s)
    Quoted
    177 Post(s)

    Default

    Color on minimap changes. If it doesn't find the color, it will skip your radialwalk function, which means you might end up skipping a few radialwalk functions there.

  3. #3
    Join Date
    Dec 2011
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    So radial walkings out of the picture... SPS? I have a custom map but it sometimes returns -1 -1 as my position :0

  4. #4
    Join Date
    Apr 2013
    Posts
    395
    Mentioned
    1 Post(s)
    Quoted
    177 Post(s)

    Default

    Radialwalking is probably the best, SPS is worse because of minimap shifting and the inaccuracy as like you said, sometimes couldn't find your position. You can try and use RadialWalkTolerance, which add tolerance to your color.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •