rj
06-22-2013, 03:39 PM
Well, as many of you may know there used to be R_TileToMS for reflection.This can be very useful also for looking for objects difficult areas. Now we have SPS_MMtoMS, though not as accurate still not to shabby!
It's very simple:
function SPS_MMToMS(TP: TPoint): TPoint;
Var
P:TPoint;
begin
if not LoggedIn then Exit;
Result := Point(-1, -1);
P := SPS_PosToMM(TP);
Result := MMtoMS(P);
end;
It uses SPS_PostoMM to get the coordinates on the minimap, then uses MMtoMS to use those to put them on the mainscreen!
It's very simple:
function SPS_MMToMS(TP: TPoint): TPoint;
Var
P:TPoint;
begin
if not LoggedIn then Exit;
Result := Point(-1, -1);
P := SPS_PosToMM(TP);
Result := MMtoMS(P);
end;
It uses SPS_PostoMM to get the coordinates on the minimap, then uses MMtoMS to use those to put them on the mainscreen!