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!







