SRL Archive - OSR Help

Sps and map finding help?


Itankbots

2012-08-26 04:11:49

Cheers to everyone that helped with suggestions, should be good to go now :) thank you.

riwu

2012-08-26 04:20:38

1. Dont use static wait.
2. Create ur custom sps map for greater accuracy
3. Try radial/tpa
4. GetMiniMapDots then sort it and find the 1 nearest to u

Itankbots

2012-08-26 06:03:04

Static wait is only to see if it works at all, i dont really care if the testing account gets banned. and yeah i guess the last thing to do is make a custom sps map…i was really hopeing objDtm would work :(

Getdropped

2012-08-26 14:16:49

for clicking on the nearest npc use something like

procedure FindMonster;
var
NPCTPA:TPointArray;
begin
NPCTPA := GetMinimapDotsIn('npc', MMX1, MMY1, MMX2, MMY2);
if not(length(NPCTPA) = 0) then
begin
SortTPAFrom(NPCTPA, Point(MMCX, MMCY));
Mouse(NPCTPA[0].x, NPCTPA[0].y, 2, 2, true);
end
else
begin
writeln('No NPC dot found.');
end;
end;

hope that helps you a bit ;)