Results 1 to 7 of 7

Thread: never saw before|error|

  1. #1
    Join Date
    Jan 2009
    Location
    Belgium
    Posts
    175
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default never saw before|error|

    [Runtime Error] : Exception: Can't allocate the DIB handle in line 509 in script D:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\Text.scar

    anyone saw this before??

    any help??

    mine:

    Code:
    program Cutter;
    {.include SRL/SRL.Scar}
    
    procedure WithdrawLogs;
    var
     x, y, Maple: Integer;
    begin
     Maple := DTMFromString('78DA63E463606000612460A7C9C9C00FA4198' +
           '1F83F1030B201193C0C6880094C3242798C4C98E660A8610112A2' +
           '04D408010971026A148084000135D2408293801A31202146408D2' +
           'C901021A0869D0873405C21FC6A0092AA0608');
     if FindDTM(Maple, x, y, MSX1, MSY1, MSX2, MSY2) then
     begin
      Mouse(x, y, 1, 1, False);
      ChooseOption('Withdraw-X');
      Writeln('Found Maple in bank!');
     end else
     begin
      Writeln('Did not found Maple in bank, logging out.');
      Logout;
     end;
    end;
    
    procedure MainLoop;
    begin
     SetupSRL;
     ActivateClient;
     ClearDebug;
     WithdrawLogs;
    end;
    
    begin
     MainLoop;
    end.

  2. #2
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    well its not in your script its in the text part of your SRL include id get DEV REV if u dont already have it if u do then drag the cursors over the rs client again

  3. #3
    Join Date
    Jan 2007
    Posts
    834
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This happens to me too. Simple fix: Restart SCAR. It has something to do with .Text

  4. #4
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    i just activate the client by raggin the cross hairs over it

  5. #5
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    It means SCAR couldn't create a bitmap. Make sure your computer isn't running low on memory. Best fix is just to restart SCAR.
    Interested in C# and Electrical Engineering? This might interest you.

  6. #6
    Join Date
    Jan 2009
    Location
    Belgium
    Posts
    175
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    ok thank you

  7. #7
    Join Date
    Nov 2007
    Posts
    77
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    ive had the same problem Can't allocate the DIB handle but it wasnt the same problem ill make a new thread
    Last edited by alucard123; 01-11-2010 at 10:30 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
  •