Results 1 to 5 of 5

Thread: How to check if Player is in a given area

  1. #1
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to check if Player is in a given area

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

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    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....tioning+system

  3. #3
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  4. #4
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Simba Code:
    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.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  5. #5
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank You
    Last edited by astoria1112000; 12-01-2011 at 07:54 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •