I've been using ObjDtm walking for my script and it seems to work well everywhere else but when its used in this certain area (LLeyta) it always either works,sometimes fails or clicks in the wrong spot. A lot of the time, it won't find the areas or find 1 then go through all the other ones and not click (Because of the WriteLN it will say point 1 point 2 point 3 then retry again because of a check i have elsewhere). Am i doing something wrong or is there a better way?
Simba Code:procedure WalkToPassTree;
var
cx, cy: Integer;
begin
ObjDTM_Walk('12:74:5:1:7:107:41:1:7:116:53:1:7:108:66:1:7:43:117:1:7:85:146:3:19:70:19:82:3:71', 2, 100, 5, True);
writeLN('Starting our walk to PassTree Point 1');
flag;
ObjDTM_Walk('19:84:5:2:7:51:77:2:7:43:89:2:7:39:97:2:7:91:125:2:7:111:144:5:8:76:34:76:38:89:13:88:3:87', 2, 100, 5, True);
writeLN('Found Point 2');
flag;
ObjDTM_Walk('51:22:7:1:7:70:27:1:7:70:43:1:7:72:119:1:7:44:128:1:7:28:116:1:7:27:68:1:7:30:44:3:46:29:60:27:47:9', 2, 100, 5, True);
writeLN('Found Point 3');
flag;
ObjDTM_Walk('69:43:5:2:7:99:57:2:7:99:22:2:7:65:74:1:7:58:54:1:7:46:92:4:65:38:76:39:74:63:63:62', 2, 100, 5, True);
SetAngle(SRL_Angle_High);
MakeCompass('w');
writeLN('Found Point 4');
flag;
end;
Yes i know its ugly


Reply With Quote



