SRL Archive - RS has been updated.

Box solver not working?!?


JAD

2007-05-07 12:39:17

Well, I've been autoing using fakawi's goblin scheduler, and its not solving boxes most of the time. When I log in on 3 of my players, they have a full inventory of boxes! Not sure if its just not detecting the DTM of the box (If thats what it uses) or if it didn't successfully solve it when it got one.

Anybody else experience problems with this?

Pentti

2007-05-07 15:01:04

Box solver works.
Maybe Fakawis script doesnt. :D

JuKKa

2007-05-09 01:14:16

i had 30 boxes on one of my players after 17 minutes…

so yeah, it may not be working..

GoF

2007-05-14 10:03:47

Just run to wild, skull and get killed :) U get rid of the boxes too.. All i know is that its not 100%, but i think it worked for me a day or two ago atleast.

SKy Scripter

2007-05-14 10:06:56

it works perfectly fine on my guld miner…. :D

omgh4x0rz

2007-05-21 07:41:36

Jad, I had this problem as well. I tested it and it is because the bmp used in FindNormalRandoms doesn't work.

If you change this to be your FindNewBox functinon, then it should work. (it did for me at least)

function FindNewBox: Boolean;
var
xb, yb, BoxBmp: Integer;
begin
BoxBmp := BitmapFromString(17, 19, 'z78DAED95D10AC3200C457FC9E446' +
'AB8F6B56FFFF93E6D4878EAD106C290C34709EE4DC1024E289A5D' +
'49E19A954A54F9E4A9D66373B56563C2090ABCC0CCA949B9F230B' +
'5F66EE7E474ABA9F8F1751D1467C4FAFDD31982951A47864B6F3A' +
'8871F5D0DF9C7B884B086D5C2DE617D151F8CE0529567FCA61EC0' +
'1B6F3365A6CC947F49B1EFB4B194FE4FDDB833DDFBD00B686DACE' +
'1');
if FindBitmapToleranceIn(BoxBmp, xb, yb, MIX1, MIY1, MIX2, MIY2, 20) then
Result := True;
FreeBitmap(BoxBmp);
end;

JAD

2007-05-21 10:34:29

From: omgh4x0rz
Jad, I had this problem as well. I tested it and it is because the bmp used in FindNormalRandoms doesn't work.

If you change this to be your FindNewBox functinon, then it should work. (it did for me at least)

function FindNewBox: Boolean;
var
xb, yb, BoxBmp: Integer;
begin
BoxBmp := BitmapFromString(17, 19, 'z78DAED95D10AC3200C457FC9E446' +
'AB8F6B56FFFF93E6D4878EAD106C290C34709EE4DC1024E289A5D' +
'49E19A954A54F9E4A9D66373B56563C2090ABCC0CCA949B9F230B' +
'5F66EE7E474ABA9F8F1751D1467C4FAFDD31982951A47864B6F3A' +
'8871F5D0DF9C7B884B086D5C2DE617D151F8CE0529567FCA61EC0' +
'1B6F3365A6CC947F49B1EFB4B194FE4FDDB833DDFBD00B686DACE' +
'1');
if FindBitmapToleranceIn(BoxBmp, xb, yb, MIX1, MIY1, MIX2, MIY2, 20) then
Result := True;
FreeBitmap(BoxBmp);
end;


OK cool thanks! I'll have to try that out.

WhoCares357

2007-05-28 23:42:03

What part of the box is the bitmap of?

omgh4x0rz

2007-05-29 07:31:56

It's the bitmap for the box when it is in your inventory.