Results 1 to 4 of 4

Thread: Exception: Range check error at line 551

  1. #1
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default [Fixed] Exception: Range check error at line 551

    When I run this short script I get this error. It also happens when I run other scripts in a browser.

    Simba Code:
    program new;
    {$i srl/srl.simba}
    {$i sps/sps.simba}
    Var
      myPath:TPointArray;
    begin
      SetupSRL;
      SPS_Setup(RUNESCAPE_OTHER,['bdsc']);//SPS Areas
      myPath := [Point(144, 261), Point(153, 261), Point(165, 264), Point(173, 265), Point(185, 265), Point(196, 268), Point(206, 272), Point(217, 276), Point(227, 274), Point(238, 273), Point(249, 273), Point(253, 277), Point(255, 285), Point(256, 293), Point(253, 299), Point(241, 308), Point(229, 312), Point(213, 314), Point(198, 319), Point(186, 324), Point(186, 329), Point(184, 338), Point(176, 344)];
      SPS_WalkPath(myPath);
    end.



    Debug Box:
    Code:
    New window: 2501908
    Compiled successfully in 312 ms.
    SRL Compiled in 16 msec
    Successfully executed.
    New window: 2764052
    Compiled successfully in 328 ms.
    SRL Compiled in 0 msec
    Exception: Range check error at line 551
    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, SRL - NavBar Bitmap]
    Any ideas?
    Last edited by Wetish; 08-15-2012 at 05:52 AM.

  2. #2
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Because its opened in your path creator. Close it.

  3. #3
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default

    Quote Originally Posted by CephaXz View Post
    Because its opened in your path creator. Close it.
    Damn. How did you know that?

  4. #4
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Because this happened to me too lol.

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
  •