Results 1 to 7 of 7

Thread: Wierdest error

  1. #1
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default Wierdest error

    here it is:
    "[Runtime Error] : Exception: Can't allocate the DIB handle in line 666 in script"
    Line 666-oh wait that's the devils number. could explain a bit but Line 666 is my antirandoms procedure which is a bit overdone I know but yeah here's the procedure:
    procedure AntiRandoms;
    begin
    FindTalk;
    SRLRandomsReport;
    FindNormalRandoms;
    if (FindFight = true) then
    begin
    RunAwayDirection(RunDirec);
    Wait(10000 + random(2000));
    RunBack;
    end;
    end;

    and here's what's at line 666:
    Antirandoms
    Sleeping...

  2. #2
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I did some searching and i found yak man saying
    DIB means device independant bitmaps, im guessing that line was somewhere where you load the bitmap

    Star than says
    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

  3. #3
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    423
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That was quite interesting, I repped you for it

  4. #4
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    R u talking to me meanage? Thanks alot if so..

  5. #5
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    wow thx so much man I will see what DTM's I forgot to free +rep
    Sleeping...

  6. #6
    ronny.m.p Guest

    Default

    Yep you must have forgot to free 5-10 dtms/bitmaps depending on their sizes and when AntiRandoms tried to load the bitmap for the box (mysterious old man) there was no more room

  7. #7
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    nope i missed one......in a loop lol
    Sleeping...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 01-22-2009, 05:15 AM
  2. Wierdest Request Ever!
    By Blender in forum RS3 Outdated / Broken Scripts
    Replies: 40
    Last Post: 11-19-2008, 04:57 AM
  3. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  4. Error: Cannot Fix Script - Error Overgrowth - Begin Headdesking
    By PhantasmalScripter in forum OSR Help
    Replies: 6
    Last Post: 12-23-2006, 12:50 AM

Posting Permissions

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