Results 1 to 13 of 13

Thread: DDTM weird bug

  1. #1
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default DDTM weird bug

    I've upgraded to DDTM's for walking but on my first ever one i'm getting this annoying error. It moves the mouse to the edge of the MM somewhere, doesn't actually click on the DDTM even tho it's perfectly visible

    DDTM:

    SCAR Code:
    procedure RoadDDTM;
    var
      MainPoint: TDTMPointDef;
      SubPoints: Array [0..3] of TDTMPointDef;

    begin
      MainPoint.x := 417;
      MainPoint.y := 100;
      MainPoint.AreaSize := 0;
      MainPoint.AreaShape := 1;
      MainPoint.Color := FindFallyRoadColor;
      MainPoint.Tolerance := 0;

      SubPoints[0].x := 391;
      SubPoints[0].y := 104;
      SubPoints[0].AreaSize := 0;
      SubPoints[0].AreaShape := 1;
      SubPoints[0].Color := FindFallyRoadColor;
      SubPoints[0].Tolerance := 0;

      SubPoints[1].x := 438;
      SubPoints[1].y := 96;
      SubPoints[1].AreaSize := 0;
      SubPoints[1].AreaShape := 1;
      SubPoints[1].Color := FindFallyRoadColor;
      SubPoints[1].Tolerance := 0;

      SubPoints[2].x := 421;
      SubPoints[2].y := 121;
      SubPoints[2].AreaSize := 0;
      SubPoints[2].AreaShape := 1;
      SubPoints[2].Color := FindFallyRoadColor;
      SubPoints[2].Tolerance := 0;

      SubPoints[3].x := 368;
      SubPoints[3].y := 100;
      SubPoints[3].AreaSize := 0;
      SubPoints[3].AreaShape := 1;
      SubPoints[3].Color := 9481910;
      SubPoints[3].Tolerance := 30;

      CrossRoad.MainPoint := dtmMainPoint;
      CrossRoad.SubPoints := dtmSubPoints;
      blah := AddDTM(CrossRoad);
    end;

    vars:

    SCAR Code:
    CrossRoad: TDTM;
       WhichAngle:Extended;
       Blah:Integer;

    FindDTM procedure

    SCAR Code:
    if FindDtmRotated(blah, xx, xy, MMX1, MMY1, MMX2, MMY2, -PI*2, PI*2, 0.2,
      WhichAngle)then

    hope that's making sense, soz for nubular question

    -LF
    I'm new here but not that new to cheating, about to write my first script after a bit more TUT reading *excited*

  2. #2
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Hmm, i saw some toturals on this before.

    Just check on the forums somewhere.

    Sorry cant help you much.

  3. #3
    Join Date
    May 2007
    Location
    Canada
    Posts
    261
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bobbohobbo View Post
    Hmm, i saw some toturals on this before.

    Just check on the forums somewhere.

    Sorry cant help you much.
    Then why did you post..? That was pointless...

    Anyways, try increasing your tolerance. The tol on your main point should be 255(if there is a chance that the color can change by a person standing there, or a item being dropped) and on the other points, make the tol around 60. Remember, the minimap colors change.
    On vacation from July 2nd till middle of August


    Account Creator and Tutorial Island Runner (member | public) Errors fixed


    Check out my Complete forms tutorial. It will teach you everything you need to know about forms.

  4. #4
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no u don't want 255 tol on findfallyroadcolor, it's an autocolor so u don't need tol I don't think. Anyone else?
    I'm new here but not that new to cheating, about to write my first script after a bit more TUT reading *excited*

  5. #5
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    change

    SCAR Code:
    CrossRoad.MainPoint := dtmMainPoint;
    CrossRoad.SubPoints := dtmSubPoints;

    to

    SCAR Code:
    CrossRoad.MainPoint := MainPoint;
    CrossRoad.SubPoints := SubPoints;

  6. #6
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    tim u dont need tolerance on anyof the points because they're all autocolors, so try and make the 1 thats not, an autocolor.
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  7. #7
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Rs_Monkey View Post
    change

    SCAR Code:
    CrossRoad.MainPoint := dtmMainPoint;
    CrossRoad.SubPoints := dtmSubPoints;

    to

    SCAR Code:
    CrossRoad.MainPoint := MainPoint;
    CrossRoad.SubPoints := SubPoints;
    note to self, try not to change vars too much. thx monkey

    Edit: nope just moves mouse to west of MM >.<
    I'm new here but not that new to cheating, about to write my first script after a bit more TUT reading *excited*

  8. #8
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    did u call RoadDtm; ???

  9. #9
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes i most certainly did >.<
    I'm new here but not that new to cheating, about to write my first script after a bit more TUT reading *excited*

  10. #10
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmm. can you pm me the script? or post a picture of what exactley your dtm is on the minimap. just minimap in paint with the main dots and subpoints.

  11. #11
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    pm'd DDTM, I assume u got it. I g2g in like 10 mins
    I'm new here but not that new to cheating, about to write my first script after a bit more TUT reading *excited*

  12. #12
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try changing tolerance to 40 on the 3rd point.. or just radialwalk north to get out of the bank.

  13. #13
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    getting into it out's peasy
    I'm new here but not that new to cheating, about to write my first script after a bit more TUT reading *excited*

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. If there is a DDTM....
    By Claymore in forum OSR Help
    Replies: 6
    Last Post: 07-07-2008, 03:43 AM
  2. DDTM help
    By [S]paz in forum OSR Help
    Replies: 12
    Last Post: 02-16-2008, 06:18 PM
  3. Help with DDTM
    By stampede10343 in forum OSR Help
    Replies: 3
    Last Post: 01-23-2008, 10:53 PM

Posting Permissions

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