Results 1 to 9 of 9

Thread: Getting this error every +-5 hours

  1. #1
    Join Date
    Jul 2014
    Posts
    204
    Mentioned
    4 Post(s)
    Quoted
    125 Post(s)

    Default Getting this error every +-5 hours

    Simba Code:
    Exception in Script: Runtime error: "Division by zero" at line 505, column 26 in file "C:\Simba\Includes\SRL-6\lib\core\text.simba"
    The following bitmaps were not freed: [Minimap Mask, SMART Debug Image, 34, Gametab Bitmap[13], Gametab Bitmap[12], Gametab Bitmap[11], Gametab Bitmap[10], Gametab Bitmap[9], Gametab Bitmap[8], Gametab Bitmap[7], Gametab Bitmap[6], Gametab Bitmap[5], Gametab Bitmap[4], Gametab Bitmap[3], Gametab Bitmap[2], Gametab Bitmap[0], Gametab Bitmap[1]]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (28-09-14 at 02.33.44 PM).txt] has not been freed in the script, freeing it now.

    happens when bank is open.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Some script code would be nice.

  3. #3
    Join Date
    Jul 2014
    Posts
    204
    Mentioned
    4 Post(s)
    Quoted
    125 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    Some script code would be nice.
    Was working fine before updating SRL to make logging in work again.
    So I don't think it has to do with the script. But here's the banking ( where it happens):
    Simba Code:
    procedure Bank();
    var
      x, y, i: integer;
      TPA: TPointArray;
      ATPA: T2DPointArray;
      bankTimer: TTimeMarker;
      InBank : Tbox;
    begin
      banktimer.start();
      InBank := IntToBox(346,170,362,186);
      repeat
      if (bankTimer.getTime() > 60000) then TeleportToBank();
      findColorsSpiralTolerance(x, y, TPA, BANKER_COLOR, mainScreen.getBounds(), 20, colorSetting(BANKER_TOL, BANKER_SAT, BANKER_HUE));

      if (Length(TPA) < 1) then
      writeLn('no banker"s found!');


      ATPA := TPA.toATPA(30, 30);
      ATPA.filterBetween(8, 10);
      ATPA.sortFromMidPoint(mainscreen.playerPoint);
      smartImage.debugATPA(ATPA);


      for i := 0 to high(ATPA) do
      begin
      mouse(middleTPA(ATPA[i]), MOUSE_MOVE);
      if isMouseOverText(['Bank','ank','Banker','anker'], 500) then
      fastClick(MOUSE_LEFT);
      end;
      smartImage.clear;
        until bankScreen.isOpen();
        wait(randomRange(500, 1000));
        bankScreen.deposit([2..28]);
        wait(randomRange(500, 1000));
        BankScreen.close();
        wait(randomRange(500, 2000));
        smartImage.clear;
    end;

  4. #4
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    @Olly
    i think a check is missing in text.simba

  5. #5
    Join Date
    Jun 2012
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Had this same problem I think Olly said it might be a simba bug, think it might be fixed when new Simba is released, it is kinda wierd though, since it just started occurring this past week.

  6. #6
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default



    >Mouse over a yew tree stump

  7. #7
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by slushpuppy View Post


    >Mouse over a yew tree stump
    Newest Simba?

  8. #8
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    Newest Simba?
    There is a version newer than 1004? I just pressed update, and nothing came up

  9. #9
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by slushpuppy View Post
    There is a version newer than 1004? I just pressed update, and nothing came up
    1100 (aka RC2-4)

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
  •