Results 1 to 4 of 4

Thread: Help with box Randoms

  1. #1
    Join Date
    Oct 2006
    Location
    MI USA
    Posts
    3,166
    Mentioned
    6 Post(s)
    Quoted
    11 Post(s)

    Help with box Randoms

    I've noticed that this occurs with all the scripts I have used..When I get the Box Random, the screen just freezes, I have redownload SRL a few times thiking I had installed something wrong, but I have read a few other people having this same problem..my question is...is the box breaker working for anyone?, if so, how do I fix it on mine, Thanks Very much in advance with help on this....it's drivy me crazy, the main thing stopping all of my scripts. RAM

  2. #2
    Join Date
    Nov 2006
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It stops for me too mostly but on serveral occasions it solved it fast enough so it wont freeze. Still annoying because the script has to be paused so it can de done.
    ________
    MAKE A VAPORIZER
    Last edited by Itzkirby; 05-09-2011 at 06:09 PM.

  3. #3
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    433
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Itzkirby View Post
    It stops for me too mostly but on serveral occasions it solved it fast enough so it wont freeze. Still annoying because the script has to be paused so it can de done.

    For those who lag on boxes etc.
    Code:
    {*******************************************************************************
    function GetBoxSide: Integer;
    by: pups
    Description: Gets Box side and returns Bitmap
    *******************************************************************************}
    function GetBoxSide: Integer;
    var
      Side, x, y: integer;
    begin
      Side := BitmapFromString(181, 181, '');
      repeat
      wait(1000) // this is what fixes the lag.
        if findcolortolerance(x, y, 16579837, 182, 45, 182, 225, 5) then continue;
        if findcolortolerance(x, y, 16579837, 342, 45, 342, 225, 5) then continue;
        if findcolortolerance(x, y, 16579837, 172, 55, 352, 55, 5) then continue;
        if findcolortolerance(x, y, 16579837, 172, 215, 352, 215, 5) then continue;
        if findcolortolerance(x, y, 12764106, 182, 45, 182, 225, 5) then continue;
        if findcolortolerance(x, y, 12764106, 342, 45, 342, 225, 5) then continue;
        if findcolortolerance(x, y, 12764106, 172, 55, 352, 55, 5) then continue;
        if findcolortolerance(x, y, 12764106, 172, 215, 352, 215, 5) then continue;
        break;
      until false;
      CopyClientToBitmap(Side, 172, 45, 352, 225);
      Result := Side;
    end;
    Theres the SRL boxsolver, to make it not to lag, add that wait(1000) there, I lagged like hell before, now, not even a bit of lag.

    Do that.

  4. #4
    Join Date
    Nov 2006
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried it but and the box doesnt freeze at all, but the mouse doesnt do anything like clicking the answer. I also get this error after the account gets logged off.

    Code:
    [Runtime Error] : Exception: Cannot create file "C:\Documents and Settings\Owner\Desktop\box_debug.bmp". The process cannot access the file because it is being used by another process in line 192 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\AntiRandoms\Box.scar
    ________
    Fisting Anal
    Last edited by Itzkirby; 05-09-2011 at 06:11 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with randoms
    By trav280 in forum OSR Help
    Replies: 3
    Last Post: 04-27-2008, 07:10 AM
  2. Help with randoms
    By knassyl in forum OSR Help
    Replies: 11
    Last Post: 04-23-2008, 04:30 PM
  3. Replies: 3
    Last Post: 03-31-2007, 02:34 AM
  4. randoms
    By falven in forum OSR Help
    Replies: 35
    Last Post: 12-28-2006, 04:17 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
  •