Results 1 to 6 of 6

Thread: Flag Function: Bitmap[0] does not exist error

  1. #1
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Exclamation Flag Function: Bitmap[0] does not exist error

    Does anyone have any idea why when I use the 'Flag' function I get the following error.

    Error: Exception: The bitmap[0] does not exist

    I've even tried putting a Wait instruction before the Flag one, to make sure that the Flag is indeed present.

    Any ideas ?
    Ciao
    NM

  2. #2
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Make sure srl is up to date.
    Hi

  3. #3
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Unhappy Re: Flag Function: Bitmap[0] does not exist error

    Quote Originally Posted by Tickyy View Post
    Make sure srl is up to date.
    Yes, I am running Simba version 9.80 and there are no reported updates for SRL, SPS or MSI.

    I did get it to work by copying the bmpFlag bitmap from flag.scar and pasting it into my script (such as it is) :-)

    Could it be that for some reason this is not being loaded ?

    Also, as I am toying around with a smith & bank script - I've been trying the OpenBank functions. These are also not working for me.

    And yet I can run scripts from the public scripts section - specifically YoHoJo's PMS and Shuttleu's Vine Vanquisher.
    Ciao
    NM

  4. #4
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Try updating to SRL5. There are a lot of bugs fixed in it.

  5. #5
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Exclamation Re: Flag Function: Bitmap[0] does not exist error

    @Coh3n: Hi! I haven't tried this yet. However I will move to SRL-5 and retest. In retrospect this is perhaps an obvious potential solution - but to me, nothing is obvious as I have too little time with Simba, SRL, SPS and scripting. All in good time ...

    I appreciate the reply. Thank you!

    EDIT: @ItsTHC: Will let you know how it goes.
    Last edited by NickMystre; 01-06-2012 at 03:43 AM.
    Ciao
    NM

  6. #6
    Join Date
    Jan 2012
    Posts
    76
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I got the same error but it was Bitmap[16] and the program crashed with something about data corruption so I restarted it and it seemed to work fine.

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
  •