Page 1 of 2 12 LastLast
Results 1 to 25 of 28

Thread: One answer: DDTM or RadialWalkTolerance

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

    Default One answer: DDTM or RadialWalkTolerance

    Thats it, Im giving DDTM ONE last try. I wanted to script the "right" way and use DDTM-RadialWalkTolerance-Then Symbol finding as a final fail safe. If it does not work out, I may as well quit learning it and stop wasting my time.

    Just one question: DDTM or RadialWalkTolerance? You dont need post which is faster, shorter, or whatever. Although knowing how accurate each one is comparared to each other at this time would 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

    DDTM is used mostly for building tbh. id go for radial walk tolerance, then ddtms
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  3. #3
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    I have never used DDTM's for walking, EVER. Its radial walk or symbol walk all-the-way

  4. #4
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I use DDTM's to see if we are in the right spot.

  5. #5
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    DDTM's are the most accurate way of walking in cases with unique shapes and/or colors. I prefer TPA walking for pretty much everything

  6. #6
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    DDTM is mostly (if not only) for road walking in my opinion. There ins't a range where it searches for the color and it could click anywhere in the MM where similar colors are. Just forget about DDTMs. I told you use RadialWalkTolerance.

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

    Default

    Last try, same result. Scar clicked north on the compass, Which set my Result := True.

    SCAR Code:
    program WalkOutOfVarrock;
    {.include SRL/SRL.scar}

    var
      DDTMTolerance : Integer;

    function SetDDTM: Integer;
    var
      dtmMainPoint: TDTMPointDef;
      dtmSubPoints: Array [0..3] of TDTMPointDef;
      TempTDTM: TDTM;
      RoadColor : Integer;
    begin
      RoadColor := FindVarrockRoadColor;
      dtmMainPoint.x := 905;
      dtmMainPoint.y := 241;
      dtmMainPoint.AreaSize := 1;
      dtmMainPoint.AreaShape := 0;
      dtmMainPoint.Color := RoadColor;
      dtmMainPoint.Tolerance := 0;

      dtmSubPoints[0].x := 905;
      dtmSubPoints[0].y := 241;
      dtmSubPoints[0].AreaSize := 1;
      dtmSubPoints[0].AreaShape := 0;
      dtmSubPoints[0].Color := RoadColor;
      dtmSubPoints[0].Tolerance := 0;

      dtmSubPoints[1].x := 905;
      dtmSubPoints[1].y := 230;
      dtmSubPoints[1].AreaSize := 1;
      dtmSubPoints[1].AreaShape := 0;
      dtmSubPoints[1].Color := RoadColor;
      dtmSubPoints[1].Tolerance := 0;

      dtmSubPoints[2].x := 905;
      dtmSubPoints[2].y := 250;
      dtmSubPoints[2].AreaSize := 1;
      dtmSubPoints[2].AreaShape := 0;
      dtmSubPoints[2].Color := RoadColor;
      dtmSubPoints[2].Tolerance := 0;

      dtmSubPoints[3].x := 901;
      dtmSubPoints[3].y := 239;
      dtmSubPoints[3].AreaSize := 1;
      dtmSubPoints[3].AreaShape := 0;
      dtmSubPoints[3].Color := RoadColor;
      dtmSubPoints[3].Tolerance := 0;

      TempTDTM.MainPoint := dtmMainPoint;
      TempTDTM.SubPoints := dtmSubPoints;
      Result := AddDTM(TempTDTM);
    end;

    Function WalkOutOfBank : Boolean;
    var
      x, y, DDTM : Integer;
    begin
      if not LoggedIn then Exit;
      SetRun(True);
      DDTM := SetDDTM
      DDTMTolerance := 5
      repeat
      if not DTMRotated(DDTM, x, y, MMX1, MMY1, MMX2, MMY2) then
      begin
        IncEx(DDTM, 5);
        Writeln('DDTM Tolerance Increased by 5, It is now ... '+IntToStr(DDTMTolerance));
        FreeDTM(DDTM);
        DDTM := SetDDTM;
      end else
      begin
        Mouse(x, y, 4, 4, true);
        Writeln('Found DDTM clicking on Point now');
        Result := True;
        Wait(500);
        Break;
      end;
      until DDTMTolerance >= 50;
      DDTM := SetDDTM;
      DDTMTolerance := 5;
    end;

    begin
      SetupSRL;
      ClearDebug;
      ActivateClient;
      Wait(100+Random(1000));
      MakeCompass('w');
      if WalkOutOfBank then
        Writeln('Walked out of bank')
      else
        Writeln('I give up GG');
    end.
    I didn't put much effort into it as I would, but no mistakes were made to my knowledge in making it. GG. DDTM := Not used for me.

    begin
    RadialWalkTolerance := 100;
    DDTM := -100;
    if (RadialWalkTolerance > DDTM) then
    Writeln('RadialWalkTolerance Wins')
    else
    Writeln('H@x');
    end.
    Last edited by Heavenguard; 12-06-2009 at 05:23 PM.
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

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

  8. #8
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Blumblebee View Post
    DDTM's are the most accurate way of walking in cases with unique shapes and/or colors. I prefer TPA walking for pretty much everything
    Kinda like FindColorsTol(...) FilterPointPie(...) MiddleTpa(...) sorta?

  9. #9
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    Kinda like FindColorsTol(...) FilterPointPie(...) MiddleTpa(...) sorta?
    you got it. I'm actually not a big fan of FilterpointsPie anymore, you can sort the colors just fine without skipping areas, FindColorSkipBox works just fine. TPA walking just gives your more flexibility than that of RadialWalk imo, and realistically its not that much more difficult.

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

    Default

    This is a simple RadialWalkTolerance function I used not too long ago, Made it in less then 3 minutes.
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}

    Function WalkOutOfVarrockBank : Boolean;
    var
      x, y : Integer;
    begin
      MakeCompass('w');
      if RadialWalkTolerance(FindVarrockRoadColor, 326, 346, 48, 1, 1, 15) then
      begin
        Writeln('Found RadialWalkTolerance Area') ;
        Result := True;
      end else
      Writeln('Did Not Find RadialWalkTolerance Area');
    end;

    begin
      SetupSRL;
      ClearDebug;
      ActivateClient;
      begin
        Wait(100+Random(1000));
        if WalkOutOfVarrockBank then
          Writeln('Walked out of Bank')
        else
          Writeln('Did not Walk out of Bank');
      end;
    end.

    Didn't take my time on it, but it worked perfectly and much better / easier / shorter then DDTM. Ill go with RadialWalkTolerance for now on then DDTM.
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

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

  11. #11
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    RadialWalkTolerance
    • + Easy to use
    • + Fast
    • - Might walk to wrong place if not walking along a road


    DDTM
    • + The most accurate way to find a certain location
    • - Depending on how many subpoints you're using, can be quite slow
    • - Takes time and practice to learn how to pick good points, areas and tolerances


    Symbol clicking
    • + Easy to use
    • + Quite reliable in non-crowded places with SymbolAccuracy >0.7
    • - Players might hide the symbol
    • - SymbolAccuracy 0.6> will easily click the wrong symbol
    • - Symbols more randomly from place to place, and clicking it might not take you exactly where you wanted


    There isn't one best way to walk. The best walking function is one that uses all methods available. If you're trying to find a bank radialwalk is probably not the way to go. If you're trying to walk straight down along a road you might want to think twice before using DDTMs.

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

    Default

    There isn't one best way to walk. The best walking function is one that uses all methods available. If you're trying to find a bank radialwalk is probably not the way to go. If you're trying to walk straight down along a road you might want to think twice before using DDTMs.
    But if I want to go hide in a random corner on the edge of the MM and point my compass North Id use DDTM
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

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

  13. #13
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Naum View Post
    I have never used DDTM's for walking, EVER. Its radial walk or symbol walk all-the-way
    +1. DDTM's are so slow when walking.
    Make an Autocolour I dont like the idea of tolerance when radialWalking
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  14. #14
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    I used that on my apply :

    -Try with DDTM
    -If fail then try RW
    -If fail FindSymbol
    -If fail approximate click

    When you can use something simple, use it, don't go for anything complicated .

    Good luck.

  15. #15
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    +1. DDTM's are so slow when walking.
    Make an Autocolour I dont like the idea of tolerance when radialWalking
    Why not? In my opinion Radial Walk with Tolerance is better than Radial Walk. With Radial Walk I couldn't make a nice walking procedure as the colors kept changing after logging out. RadialWalkTolerance solved that problem easily.

  16. #16
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    You sure your autocoloring with DDTMS is correct? That is one big problem.
    Have the script Writeln(IntToStr(RoadColorHere)) to check if its even getting the correct color.

    IMO its RRW first, then DDTMs to either check/or for tricky places.
    I'm almost done with walk from Varrock east mine to Varrock east bank, its all RRW, a few symbols finds to check where I am, and I might add one DDTM to check where I am/maybe click once.

    Don't give up! Walking is a bi*ch!

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

    Default

    Fine I wont give up, I wasn't anyway XD.
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

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

  18. #18
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by FEAR View Post
    Why not? In my opinion Radial Walk with Tolerance is better than Radial Walk. With Radial Walk I couldn't make a nice walking procedure as the colors kept changing after logging out. RadialWalkTolerance solved that problem easily.
    Hence why I said "Make an Autocolour "
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  19. #19
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    +1. DDTM's are so slow when walking.
    Wrong. They can be quite fast if you have used time to think the subpoint properties right.

    Quote Originally Posted by noidea View Post
    Make an Autocolour I dont like the idea of tolerance when radialWalking
    After RuneTek5 there are way too many colors in the MM. There can be 10+ road colors. The colors also vary more than they used to. Tolerance works just fine when you use it in the right place.

  20. #20
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by marpis View Post
    After RuneTek5 there are way too many colors in the MM. There can be 10+ road colors. The colors also vary more than they used to. Tolerance works just fine when you use it in the right place.
    FindTreeColor still works. I made that before the RuneTek5 update. If people would work more and think of more than just rgbhslxyz than we would have autocolors. Blumblebee worked on them, but he tells me no one took notice of his work.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  21. #21
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    FindTreeColor still works. I made that before the RuneTek5 update. If people would work more and think of more than just rgbhslxyz than we would have autocolors. Blumblebee worked on them, but he tells me no one took notice of his work.
    I also made a new thread about a new AutoColor from functions Nava made for me, and no one but him seemed to have an opinion.

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

    Default

    Omg its Coh3n. Its an Honor to see you post in my thread. God bless you.
    -Bows-
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

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

  23. #23
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Heavenguard View Post
    Omg its Coh3n. Its an Honor to see you post in my thread. God bless you.
    -Bows-
    Haha, I've never had anyone say that to me, nor bow.

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

    Default

    Wow, Surprisingly today, I was just trying DDTM's again, and it works perfectly xD, I wrote the whole script without looking at anything about DDTM's This whole entire week. Everything just made sense! I wonder why, Also, I dont even errors anymore whenever I run scripts, I think my scripting skills are getting up there. DDTM's Are really not that hard XD, as a matter of fact I think its less work then RadialWalking. Its good for those tight spaces as well.
    Last edited by Heavenguard; 12-09-2009 at 03:34 PM.
    Don't Troll, Don't Fight, Just keep the Respect
    Status : Offline

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

  25. #25
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Heavenguard View Post
    Wow, Surprisingly today, I was just trying DDTM's again, and it works perfectly xD, I wrote the whole script without looking at anything about DDTM's This whole entire week. Everything just made sense! I wonder why, Also, I dont even errors anymore whenever I run scripts, I think my scripting skills are getting up there. DDTM's Are really not that hard XD, as a matter of fact I think its less work then RadialWalking. Its good for those tight spaces as well.
    Haha, there's always a point where something just hits you, and you begin to understand things perfectly. Looks like it hit you.

Page 1 of 2 12 LastLast

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
  •