Results 1 to 4 of 4

Thread: Tree Problems >.>

  1. #1
    Join Date
    Nov 2009
    Location
    Seattle, WA
    Posts
    589
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Tree Problems >.>

    Well Here is my script (definetly not done, but just started on it)
    SCAR Code:
    program WoodCutter;
    {.include SRL/SRL.scar}

    Function WalkToTree : Boolean;
    begin
      if not LoggedIn then Exit;
      SetRun(True);
      MakeCompass('n');
      if RadialWalk(FindTreeColor, 68, 100, 41, 1, 1) then
      begin
        Writeln('Walking to Tree');
        Result := True;
      end else
        Writeln('RadialWalk not Set correctly');
    end;

    begin
      SetupSRL;
      ClearDebug;
      ActivateClient;
      if WalkToTree then
        Writeln('We have Walked to the Tree :D')
      else
        Writeln('We have Not Walked To the Tree :D');
    end.
    The Problem Im having is that it wont pick up the tree color >.> Its meant to find those trees near the bank at draynor, no not the willows. If you put your camera to the north from the bank, there are some (3 I think) trees on your minimap. It wont pick up those trees =[ any help?
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

    Feel free to re-make my scripts ;D
    Community Member

  2. #2
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    try making sure the radials fall onto the trees, as well as the radius.

    also try using radialwalktolerance..
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  3. #3
    Join Date
    Nov 2009
    Location
    Seattle, WA
    Posts
    589
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I'll Try that radius thing in the trees lol. As for the tolerance, everywere i see people say thats the best way to get map walking. But I dont even know how that works, think you can post a thread or explain the function to me with an example? thanks dude.

    Update: Awkward I would give you more rep if I could bro, your a lifesaver, this will most definetly make my walking much better. thanks again, Oh, Is the average tolerance still like 5 or 15 ?

    Problem Solved : RadialWalkTolerance Works perfectly.
    All Thanks to: Awkwardsaw and Coh3n

    Final Result
    SCAR Code:
    program WoodCutter;
    {.include SRL/SRL.scar}

    Function WalkToTree : Boolean;
    begin
      if not LoggedIn then Exit;
      SetRun(True);
      MakeCompass('n');
      if RadialWalkTolerance(FindTreeColor, 60, 88, 35, 1, 1, 15) then
      begin
        Writeln('Walking to Tree');
        Result := True;
      end else
        Writeln('RadialWalk not Set correctly');
    end;

    begin
      SetupSRL;
      ClearDebug;
      ActivateClient;
      if WalkToTree then
        Writeln('We have Walked to the Tree :D')
      else
        Writeln('We have Not Walked To the Tree :D');
    end.

    I also re-adjusted the Radius like you said Awkward, it goes up to the tree
    Last edited by Heavenguard; 12-02-2009 at 03:59 AM. Reason: Updating
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

    Feel free to re-make my scripts ;D
    Community Member

  4. #4
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    http://www.villavu.com/forum/showthread.php?t=53007



    its the exact same as radial walk, exept the name is different and there is tolerance
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

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
  •