Results 1 to 9 of 9

Thread: Help with Script

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Help with Script

    I'm working on the walking for my scrip, Ore heroe. I am fond of Radialwalking, so that's my base for map walking but, this seems to not work.

    SCAR Code:
    procedure WalkFromBankLB;
    begin
      MakeCompass('N');
      SetRun(True);
      wait(2000+random(560));
      LoadDTMS;
      If RadialWalk(FindLadderColor, 160, 240, 70, 3, 3) Then
      begin
        Mouse(x, y, 0, 0, True);
        wait(2000+random(500));
        FindStairs(2, 'down');
        wait(4000+random(250));
        If RadialWalk(FindLumbyRoadColor, 160, 240, 70, 3, 3) Then
        begin
          Mouse(x, y, 0, 0, True);
          FFlag(0);
          If RadialWalk(16649, 90, 91, 70, 3, 3) Then
          begin
            Mouse(x, y, 5, 5, True);
            FFlag(0);
            If RadialWalk(8088426, 0, 360, 70, 3, 3) Then
            begin
              Mouse(x, y, 5, 5, True);
              FFlag(0);
              If RadialWalk(4412753, 0, 360, 70, 3, 3) Then
              begin
                Mouse(x, y, 5, 5, True);
                FFlag(0);
                if FindSymbol(x, y, 'short cut') then
                begin
                  Mouse(x, y, 5, 5, True);
                  FFlag(0);
                  If RadialWalk(1996921, 0, 360, 70, 3, 3) Then
                  begin
                    Mouse(x, y, 5, 5, True);
                    FFlag(0);
                    If RadialWalk(16737798, 0, 360, 70, 3, 3) Then
                    begin
                      Mouse(x, y, 5, 5, True);
                      FFlag(0);
                      If RadialWalk(FindRockColor, 0, 360, 70, 3, 3) Then
                      begin
                        Mouse(x, y, 5, 5, True);
                        FFlag(0);
                      end;
                    end;
                  end;
                end;
              end;
            end;
          end;
        end;
      end;
    end;

    When ever it get's to the FindLumbyRoad the script just stops. Help??

  2. #2
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Have you tried other road colors as well?

  3. #3
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I've tried my custom colors and FindRoadColor and they never seem to work..I really need help with finding the road color.

  4. #4
    Join Date
    Feb 2009
    Location
    Philipines
    Posts
    600
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You don't need " Mouse(x, y, 5, 5, True); "

  5. #5
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh yeah, radialwalk clicks already. But that is not the problem.

  6. #6
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    surprisingly..the mouse was the issue. Thanks, lol.

  7. #7
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    i reccomend you changing 3,3 to -1,-1 or 1,1
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  8. #8
    Join Date
    Feb 2009
    Location
    Philipines
    Posts
    600
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    -2, 1 works too

  9. #9
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    okay, will do! thanks again

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
  •