Results 1 to 2 of 2

Thread: DTM Problem

  1. #1
    Join Date
    Jan 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default DTM Problem

    Currently I have this code:

    Code:
    program New;
    var AxeDTM,x,y:integer;
    begin
    AxeDTM := DTMFromString('mWAAAA345icY2FgYOBggAABH8ZHYk4GBOAF 4rrKSoaXbYpgbG3NwZDCgaoY0TAIAAD+PgVg');

    if FindDTM(AxeDTM,x, y,1, 1, 800, 800) then
    writeln('Congratz! You have just found your first DTM!');
    FreeDTM(AxeDTM);
    end.


    The DTM should work because I checked in the editor. The problem is that I have the axe in my inventory but I still don't see the 'Congratz!' in my debug box .

    I thought the FindDTM should return true because the axe is in the box from 1,1 until 800,800 . But it doesnt do that why is that?

    Regards!

  2. #2
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    Please only make one thread
    STOP PM'ING ME

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
  •