Log in

View Full Version : Help with box Randoms



RAM
12-05-2006, 05:24 AM
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

Itzkirby
12-05-2006, 12:58 PM
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 (http://howtomakeavaporizer.info/)

DaWu
12-15-2006, 02:58 PM
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.


{************************************************* ******************************
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.

Itzkirby
12-16-2006, 04:34 AM
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.


[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 (http://www.fucktube.com/categories/560/anal/videos/1)