Ok, so here it is, i figured i could do the same thing i did in my essminer, and store the altar's location in an array of TPoints, but it doesnt work at all. It moves the mouse to the top left part of the screen, the little black outline part, not even any part of the RS screen.. Well, here it is:
Code:Function FindWaterAlter:Boolean; var I, iX, iY:integer; AltarPoints:Array [0..3] Of TPoint; Begin Mouse(MMCX-30, MMCY-8, 1, 1, True); Flag; I:=0; AltarPoints[0].X := 149; AltarPoints[0].Y := 179; AltarPoints[1].X := 115; AltarPoints[1].Y := 191; AltarPoints[2].X := 116; AltarPoints[2].Y := 156; Repeat MMouse(iX, iY, 0, 0); If IsUpTextMulti('Craft','une','ltar')then Begin Result:=true; GetMousePos(x,y); Mouse(iX, iY, 2, 2, True); ChrisFlag; NumWaterRunesMade; End Else i:=i+1; Until(i=2)OR Result; End;






Reply With Quote


