Log in

View Full Version : Box Freezes?



sam123jo0
12-20-2006, 10:54 PM
When i get a box random, in the scar Window it says "Found box, solving now"

etc,

So it opens the box, then my screen freezes (just the rs window)

Am i doing somthing wrong?

Im useing dawu's pro autofighter.

Infantry001
12-20-2006, 11:30 PM
No its not you. your computer is not good enough to handle the random, i guess. Go to srl\srl\core\antirandoms\box and change this:

{************************************************* ******************************
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(100); //<--- The wait that needed to be added
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;

then it wont lag!

sam123jo0
12-20-2006, 11:50 PM
Thanks, Ill see if itworks :)