Log in

View Full Version : DTM Map Walking?



loser69
01-16-2012, 02:39 PM
Am I doing this right?


procedure walkpath1;
var
path1, x, y:integer;
begin


path1 := DTMFromString('mWAAAAHicY2FgYGBkYWD4yMzAwA2kfwHpPU Cx3VB8Gojd/RQYamqywTRQNQMrkETGjGgYBADa3Qft');
If FindDTM(path1, X, Y, MMX1, MMY1, MMX2,MMY2) then

mouse( x, y, 3, 3, true);
FFlag(0);
wait(1000);
FreeDTM(path1);
end;

It worked and clicked on the minimap however once I closed the client and try to rerun it, it can't find it.

DemiseScythe
01-16-2012, 02:42 PM
FFlag(0) should be more like FFlag(8) and you need to use FindDTMRotated instead of FindDTM, should use begin and end after your if..then statement.

loser69
01-16-2012, 02:47 PM
Ok thanks!

I tried to use begin and end after the if statement however the variable couldn't compile?