Results 1 to 7 of 7

Thread: DTM tol

  1. #1
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default DTM tol

    i tried the search bottum but didnt find anything


    im trying to edit a autofighter so when it walks to far from the monsters respawn point and cant find any other then it walks back..i made one easy to edit cuz i dont train on the same spot over and over and the colors keep changing..so there a way to add tol to findDTM ?

    SCAR Code:
    procedure refresh;
    begin
      zom := DTMFromString('78DA632C676260486740012E76260C22409A1' +
           '188FF03016316504D3CA61A7EA81A10606C01AA49C454C385AC26' +
           '07A8260F558DA3B511AA394D4035C5A86AEC6CF451CDA901AA694' +
           '65513D8908AA2060048880E6E');
        begin
          if (FindDTM(zom,x, y,MMX1,MMY1,MMX2,MMY2))then
          Mouse(x,y,5,5,true);
          wait(750+random(500));
            begin
              FreeDTM(zom);
            end;
        end;
    end;
    ....

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

    Default

    Yes you can. In the DTM editor on the side there is an option for setting the tolerance. Click on the mainpoint (one at the top) and set the tolerance as 255 and press enter.
    Then do dtm to text. .

    Thats called a DTM Mask.

    Happy to Help.
    You can rep me .

  3. #3
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    I think he means can he just edit the code. And sorry, no you can't do that, if you want to you can use ddtms which you code completely by yourself.

  4. #4
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sorry but it doesnt work
    ....

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

    Default

    Try using a bitmap

  6. #6
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    I dont have it atm but theres a DDTM helper somewhere made by nielsie i believe, it'll make u the code
    Ce ne sont que des gueux


  7. #7
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Or he could just add normal tolerance to his points (5~15 is good) in the DTM editor and not have to worry about turning it into a DDTM?
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

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
  •