Results 1 to 3 of 3

Thread: Error: Exception: The bitmap[0] does not exist at line 753

  1. #1
    Join Date
    May 2012
    Location
    Wisconsin, USA
    Posts
    105
    Mentioned
    1 Post(s)
    Quoted
    47 Post(s)

    Default Error: Exception: The bitmap[0] does not exist at line 753

    Suddenly started having this issue. I've run the problem down to globals.simba:

    Simba Code:
    Function FoundBar: Boolean;
    var
      tempCTS, X, Y: Integer;
    begin
      tempCTS:= GetColorToleranceSpeed;
      SetColorToleranceSpeed(1);

      Result := FindBitmapToleranceIn(SRL_NAVBAR_BITMAP, X, Y, 0, 0, 764, 50, 10); // This is where the script stops with the error message

      SetColorToleranceSpeed(tempCTS);
    end;

    The issue seems to be that SRL_NAVBAR_BITMAP is not being defined?? In fact, I don't see that LoadSRLBitmaps is even being called??

    I've uninstalled, reinstalled, deleted everything, rebooted, etc and this keeps cropping up.

    Edit:
    I hate it when this happens....

    So, I made quite a few changes to a script without testing between change sessions. I had compiled with CTRL->F9, but had not run the script. In looking through my changes, I realized that I had inserted some failsafes in the form of "if LoggedIn then Exit;". This caused my script to call on the LoggedIn function of Players before calling SetupSRL. Of course, LoadSRLBitmaps will not be called automatically until SetupSRL.

    Thanks for anyone who looked at this post and thanks to anyone who refrained from telling me what an idiot I was.

    If possible, could a moderator please close this thread?
    Last edited by loragnor; 06-28-2013 at 11:29 PM. Reason: Oops

  2. #2
    Join Date
    Mar 2008
    Posts
    426
    Mentioned
    1 Post(s)
    Quoted
    116 Post(s)

    Default

    Quote Originally Posted by loragnor View Post
    Edit:
    I hate it when this happens....

    So, I made quite a few changes to a script without testing between change sessions. I had compiled with CTRL->F9, but had not run the script. In looking through my changes, I realized that I had inserted some failsafes in the form of "if LoggedIn then Exit;". This caused my script to call on the LoggedIn function of Players before calling SetupSRL. Of course, LoadSRLBitmaps will not be called automatically until SetupSRL.

    Thanks for anyone who looked at this post and thanks to anyone who refrained from telling me what an idiot I was.

    If possible, could a moderator please close this thread?
    I do things like that allllll the time xD

    You can close the thread with the thread tool buttons in the top right corner of the first post.



  3. #3
    Join Date
    May 2012
    Location
    Wisconsin, USA
    Posts
    105
    Mentioned
    1 Post(s)
    Quoted
    47 Post(s)

    Default

    Quote Originally Posted by Peanuts View Post
    I do things like that allllll the time xD

    You can close the thread with the thread tool buttons in the top right corner of the first post.
    :P Thanks for the confidence builder and the tip to close.

    Well, I don't see a close button. Maybe I need to be a member.
    Last edited by loragnor; 06-29-2013 at 12:40 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
  •