Results 1 to 4 of 4

Thread: RuneScape crash

  1. #1
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default RuneScape crash

    I've never had this error before and I have no idea what is wrong.

    Simba Code:
    New window: 394796
    [Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(528:3): Variable 'X' never used at line 527
    [Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(528:3): Variable 'Y' never used at line 527
    [Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\demon.simba(167:3): Variable 'C' never used at line 166
    Compiled successfully in 468 ms.
    SRL Compiled in 0 msec
    Exception: Range check error at line 36
    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]

    And this pops up
    Simba Code:
    Function rs_GetCompassAngleRadians: Extended;
    var
      TPA: TPointArray;
      T, M: TPoint;
      B: TBox;
    begin
      B := IntToBox(529, 9, 557, 39);
      with B do
        FindColorsSpiralTolerance(T.x, T.y, TPA, 65536, x1, y1, x2, y2, 0);
      if Length(TPA) < 1 then
       Exit;
      M := MiddleBox(B);
      T := MiddleTPA(TPA);
      Result := ArcTan2(-(T.Y - M.Y), T.X - M.X+0.5) + Radians(90);
      Result := fixRad(Result - Pi);
    end;

    This part is red: B := IntToBox(529, 9, 557, 39);

    What is the problem?

    Script source code available here: Github

  2. #2
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    What are lines 35-37 of the script you are using?
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  3. #3
    Join Date
    Nov 2011
    Location
    United states
    Posts
    516
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Wasn't this part of an anti-leech in someones code...... they didnt declare variables and something else.... I may be wrong.

    Usually when it says
    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]

    for me all I need to do is close the script and re-run it. What that usually means is you force stopped the script by hitting stop and quickly hitting the X then try to run it again. Hope you can figure it out

  4. #4
    Join Date
    Feb 2009
    Location
    The Netherlands
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

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
  •