SRL Archive - OSR Help

How to check if Player is in a given area


astoria1112000

2011-12-01 02:34:34

I want to check if my player is in a predefined area, how can i do that.

YoHoJo

2011-12-01 02:36:49

Umm you can look for symbols on the minimap to get a general sense if you're in the right area.

You can make a small bitmap or DTM of something unique on the minimap to search for.

Or you can use SPS which does walking, so you can use it to click where you want to go/be

http://villavu.com/forum/showthread.php?t=66266&highlight=positioning+system

astoria1112000

2011-12-01 02:40:14

Is there a way to get the points of current tile?

Flight

2011-12-01 02:45:08


program MyCoords;
{$define SMART}
{$i srl/srl.scar}
{$i sps/sps.simba}

begin
Smart_Server := 83;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
SPS_Setup(RUNESCAPE_SURFACE, ['7_11']); //Change this to your SPS map area(s)
SPS_Continue := True;

Repeat
ClearDebug;
Writeln('Tile: '+IntToStr(SPS_GetMyPos.X)+', '+IntToStr(SPS_GetMyPos.Y));
Wait(500);
Until(False)
end.

astoria1112000

2011-12-01 02:47:53

Thank You