kingarabian
2009-03-24 02:05:43
Okay Im going from msn help to srl help.How would you open that door, using reflection… OR maybe color…
Help I got from:
Method
N1ke
iron_man_ftw
Thanks guys.
List of functions I used:
function OpenDoor: boolean;
var
tP, tD: Tpoint;
begin
MakeCompass('n');
tP := TileToMsEx(Tile(2822.5, 3555.2), 2);
wait(100+random(100));
tP := Point((tP.x+tD.x)/1, (tp.y+tD.y)/1);
MMouse(tP.x, tP.y, 4, 12);
wait(100+random(100));
GetMousePos(tP.x, tP.y);
Mouse(tP.x, tP.y-30, 3, 3, true)
FFlag(0);
result := true;
exit;
end;procedure openDoors;
begin
clickDoor(3688, 'e', 'open');
end;
function openDoorss: boolean;
var
xx : TPoint;
begin
if FindObject(xX,3745) then
begin
Result:= True;
XX:= TileToMS(XX, 0);
Mouse(xX.x,xX.y,2,2,true);
Wait(30 + Random(10));
end;
end;And I tried making my own. But I failed. It either clicks inside the door or outside the door.
So if anyone can help…
Btw the door object ID is 3745.
Edit:Cycrosism helped me out.
But anyone know how to make it so the script clicks only the door to the east the one I marked red on?