
Originally Posted by
buttdestroyr
Well it looks like its better then mine by alot. Out of curiosity, how are you determining when a pouch breaks? I count how many essence are in the inventory when pouches are filled and determine if from there. It messes up maybe 1 in 10 times, so I'm thinking there is a better way to do it.
Using a bitmap to check when it's degraded ^^
Simba Code:
function pouchDecayed:Boolean
var
bmp:Integer;
begin
Bmp := BitmapFromString(16, 13, 'meJy1kcsKgzAURLWfUewDJRCUam' +
'MlNaEQxELduPH/P8ahF8IlleCmcJZn5g6Jtq7rX6DVBjSP5+3egbJ' +
'WsqqFrNw0tcZcc3G65MfsrK3TWxH4FPksix3fEZ9H6MQ4z6VSkf7A' +
'x4l+GPb4PEKTuE8R7/MThZC/ftD/b9/vB9yPj6d+AB/vw+Xgf/0Y2' +
'gMOSRJfTj40Iv36mzLgmmcFDXxwOQ==');
tabBackpack.open();
Wait(RandomRange(300,400));
Result := (tabBackpack.countBitmap(bmp,20) > 0);
freeBitmaps([bmp]);
end;
You can use it if you'd like.