Results 1 to 9 of 9

Thread: It doesn't find Port Sarim map

  1. #1
    Join Date
    Mar 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default It doesn't find Port Sarim map

    I made sps map walking from draynor bank to port sarim, and when it get to
    the port it stop and it writes in the command line:

    "The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]"

    How can I fix it that it will walk into the brown space in the port?

    here is ther script:

    Code:
    program New;
    {$DEFINE SMART}
    {$i srl/srl.simba}
    {$i sps/sps.simba}
    
    {$IFDEF SMART}
        {$i srl/srl/misc/paintsmart.simba}
    {$ENDIF}
    
    Procedure DeclarePlayers;
    begin
      HowManyPlayers:=1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer:=0;
    
    
      Players[0].Name:='';
      Players[0].Pass:='';
      Players[0].Active:=True;
    end;
    
    
    
    
    Procedure WalkToPort;//walking from bank to portsarim
    Var  myPath:TPointArray;
    begin
     SetupSRL;
     SPS_Setup(RUNESCAPE_SURFACE,  ['10_9','10_8','9_9']);
     myPath := [Point(4206, 3679), Point(4207, 3673), Point(4206, 3667), Point(4197, 3666), Point(4154, 3664), Point(4131, 3675), Point(4119, 3655), Point(4114, 3632), Point(4116, 3608), Point(4121, 3578), Point(4122, 3562), Point(4112, 3555), Point(4084, 3562), Point(4067, 3575), Point(4047, 3587), Point(4034, 3593), Point(4002, 3610), Point(3995, 3628), Point(3990, 3642), Point(3982, 3656), Point(3974, 3667), Point(3966, 3677), Point(3961, 3685), Point(3947, 3695), Point(3948, 3712), Point(3947, 3734), Point(3945, 3753), Point(3948, 3774), Point(3947, 3786)];
     SPS_WalkPath(myPath);
    end;
    
    
    
    
    
    
    
    
    
    
    begin
      {$IFDEF SMART}
        Smart_Server := 0;
        Smart_Members := True;
        Smart_Signed := True;
        Smart_SuperDetail := False;
      {$ENDIF}
      SetUpSRL();
      ActivateClient();
      DeclarePlayers();
      LoginPlayer();
       WalkToPort;
    end.

  2. #2
    Join Date
    Oct 2011
    Location
    Australia, Vic
    Posts
    1,517
    Mentioned
    2 Post(s)
    Quoted
    120 Post(s)

    Default

    Is your map exactly 500x500?

  3. #3
    Join Date
    Mar 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Evlin View Post
    Is your map exactly 500x500?
    I use the RUNESCAPE_SURFACE map
    I open it with Wolygon's Path Creator

  4. #4
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    I'm guessing he's using wolygons path maker and that's just the world map picture, which in some places is extremely inaccurate to what it is on the minimap.

  5. #5
    Join Date
    Mar 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no one knows what is the problem?

  6. #6
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Instead of using the path maker, why dont you open the RS surface map in MSPaint and get the points there?

    I remember the points are off by some 10 pixels in both x and y coords in the path maker when I first used them.
    Current activity: Recovering from vacation
    - Nulla pars vitae vacare officio potest -
    SRL membership? Can I buy that?
    Scripts - AGS - SWF - WAR - EMS - W100S-EM
    If you need scripting help, you can pm me. Remember, if you need help you have to ask for it properly though

  7. #7
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    According to your first post...

    Code:
    and when it get to the port it stop
    To me, that shows that it walked to the location. And because you have nothing else for the script to execute after it walked to the location that is why it is ending.

    As for the errors
    Code:
    "The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]"
    That is normal.

  8. #8
    Join Date
    Mar 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by [J]ustin View Post
    According to your first post...

    Code:
    and when it get to the port it stop
    To me, that shows that it walked to the location. And because you have nothing else for the script to execute after it walked to the location that is why it is ending.

    As for the errors
    Code:
    "The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]"
    That is normal.
    I meant that it doesnt go exactly to the brown area in the port
    and Er1k, How can I get the points in MSPaint?
    Last edited by Mor; 04-04-2012 at 03:00 PM.

  9. #9
    Join Date
    Mar 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I found the problem
    there was a missing piece of the map
    the path creator gave me that:
    "SPS_Setup(RUNESCAPE_SURFACE,['10_9','10_8','9_9']);"
    but the correct one is this:
    "SPS_Setup(RUNESCAPE_SURFACE['10_9','10_8','9_9','10_8']);"

    thank you all for helping

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
  •