Results 1 to 5 of 5

Thread: RunTime Error--Never got this one be4

  1. #1
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RunTime Error--Never got this one be4

    Yea uh what do i do to fix this

    [Runtime Error] : Exception: Can't allocate the DIB handle in line 271 in script

  2. #2
    Join Date
    Aug 2006
    Location
    London
    Posts
    2,021
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    thats odd, i cant remember encountering that before, could you post the script and highlight line 271?

    could you say which script, it could be the main script or an include file? post the rest of 'line 271 in script [script name]'

    DIB means device independant bitmaps, im guessing that line was somewhere where you load the bitmap
    Join the Official SRL IRC channel. Learn how to Here.

  3. #3
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nope its my private chicen killer and it goes something like "If(FindColorSpiralTol(Then some params))then

    EDIT:
    Ill post the real line tomorow

  4. #4
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    Its because your SCAR memory is full. You are constantly loading Bitmaps / DTMs without freeing them at the end of the procedure. This means the bitmaps / DTMs are piling up in your memory, and this causes the error. SCAR only allows a certain amount of space for Bitmaps and DTMs to load
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  5. #5
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Starblaster100 View Post
    Its because your SCAR memory is full. You are constantly loading Bitmaps / DTMs without freeing them at the end of the procedure. This means the bitmaps / DTMs are piling up in your memory, and this causes the error. SCAR only allows a certain amount of space for Bitmaps and DTMs to load
    Ooo So by freeing bitmaps at the end of the procedure it removes them from scar until you load them back up? If so would it be best to load BMP only for before a procedure that uses the bitmaps and then free them after they are use?
    SUMMER BREAK be back when I want to

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Runtime Error] : Exception: buffer error
    By GasMan in forum OSR Help
    Replies: 11
    Last Post: 05-13-2007, 02:07 PM
  2. Runtime Error
    By CamHart in forum OSR Help
    Replies: 2
    Last Post: 11-23-2006, 05:21 AM
  3. Runtime error
    By sk8ter in forum OSR Help
    Replies: 3
    Last Post: 10-30-2006, 01:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •