SRL Archive - News and General

SRL and SCAR 3.20


Nava2

2009-04-26 17:27:53

Don't use it, plain and simple.

SCAR 3.20 may be the newest, but for the current time being, you CANNOT continue to auto if you use it.

Freddy has been notified, but this is to hopefully clear up some issues.

Note: SRL is NOT going to be updated to use 3.20 at this current time. This is because it will break it for anyone using any past versions.

BobboHobbo

2009-04-26 17:38:19

Yep i agree.

Frt

2009-04-26 17:40:17

It's working out fine for me?

BobboHobbo

2009-04-26 17:51:33

Can anyone send me the installer for SCAR 3.15B? or a link to DL. I cant find on freddy's web.

Frt

2009-04-26 17:53:02

Here you go.

BobboHobbo

2009-04-26 17:58:37

From: Frt
Here you go.


Thanks. I was looking everywhere for an Download Archive -.-

William

2009-04-26 18:01:51

i can't seem to find a way to update rev by scar 3.15 though =\

Frt

2009-04-26 18:02:50

From: willie2oo8
i can't seem to find a way to update rev by scar 3.15 though =\


Use the snapshots

XcanadamanX

2009-04-26 18:08:06

From: Nava2
Don't use it, plain and simple.

SCAR 3.20 may be the newest, but for the current time being, you CANNOT continue to auto if you use it.

Freddy has been notified, but this is to hopefully clear up some issues.


it would be nice to know the reason why not…

William

2009-04-26 18:18:14

From: Frt
Use the snapshots


OH! Thanks you!

Nava2

2009-04-26 19:38:46

From: XcanadamanX
it would be nice to know the reason why not…


We think its the new Bitmap finding procedures in 3.20.

The basic, ClickToContinue is broken right now. And if we updated for it to work, then we would make it stop working for all past versions.

XcanadamanX

2009-04-26 19:42:00

thanks Nava2.

Nava2

2009-04-26 20:10:30

From: XcanadamanX
thanks Nava2.


My pleasure, especially to a fellow Canadian. :)

XcanadamanX

2009-04-26 20:15:49

not just fellow canadian…but fellow ontarian too… and thanks for the heads up about 3.20 (so its not too offtopic)

DeSnob

2009-04-26 20:44:07

scar 20 also has a problem with findcolortolerance.. It fails a lot, hence the failing of autocolor.

Nava2

2009-04-26 20:45:38

From: desnob
scar 20 also ahs a problem with findcolortolerance.. It fails a lot, hence the failing of autocolor.


Don't completely discount 3.2, it might be the SRL Auto Color.

mrpickle

2009-04-26 20:47:35

A side thing… forefeathers still work nicely with 3.20 =D.

Nava2

2009-04-26 23:43:14

Okay, FindColorsTolerance seems to be broken as well.

Torrent of Flame

2009-04-27 01:20:03

Autocolour never works for me anyways :D

But I got 3.20 and didn't like the layout so went back to 3.15b :P

Hobbit

2009-04-27 01:24:41

No I've had quite a few issues with the 3.20 release so i used 3.15b again. The 3.20beta seemed to work fine…

Freddy1990

2009-04-27 01:31:53

From: Nava2
We think its the new Bitmap finding procedures in 3.20.

The basic, ClickToContinue is broken right now. And if we updated for it to work, then we would make it stop working for all past versions.


As I've said before, SCAR 3.20's bitmap finding routines are slightly different from before as kaitnieks' ignored all black pixels, however, that means that bitmaps are never 100% correctly found. However, to replace this I added FindTransparentBitmap

{*******************************************************************************
function ClickContinue(Click, Wait: Boolean): Boolean;
By: Nielsie95
Description: Returns true if ClickToContinue was found.
*******************************************************************************}

function ClickContinue(Click, Wait: Boolean): Boolean;
var
x, y, bmp_CCBlue, bmp_CCWhite: Integer;
begin
Result := False;
bmp_CCBlue := BitmapFromString(135, 6, 'beNrdlTEWwCAIQ7n/pX+nDlaEoK3tq4MDBqM' +
'JopkZJg0RVkKuj51cO9k5Z9ogbbCPBBu6SAYsAbvIQiUxOCShDkF8JJSrgHlXvrDT+Y5XC' +
'cgV4iKDrRDSlUKdSFQuKIpwI4zMC9NWdVPIOsAc0YqbnzIFTbeJzpBypaZUif5hSrVrrb8' +
'Uwh/NMuRDpvCqKZ4+B6OZvEQ=');
bmp_CCWhite := BitmapFromString(135, 6, 'beNrdVEEOgDAI4/+fxkSTZRGoBeZi5DQRKb' +
'SuIqoqRJBlqcp+7MTaiX511jPm5IgoAxq6lTY5HiN0EsUOyWwdzRPxAPIRUS4D9mzR57Lo' +
'AM74/2Fa2dkKQLUPmQVJEhaW3bQDG+G3vChgyA5QR81PifJ4U7D5FEQBElg7zVr6D0TJul' +
'b/pgAqsKG9KsoSKyuX+fwcDNQ06A==');
try
Result := FindTransparentBitmap(bmp_CCBlue, x, y, 0, 20, 415, 500, 475);
if (not Result) then
Result := FindTransparentBitmap(bmp_CCWhite, x, y, 0, 20, 415, 500, 475);
if (Result and Click) then
begin
Mouse(RandomRange(x, x + 130), RandomRange(y + 3, y + 7), 2, 2, True);
if Wait then
ChatWait;
end;
finally
FreeBitmap(bmp_CCBlue);
FreeBitmap(bmp_CCWhite);
end;
end;

Fixed, hurray for me…

ZaSz

2009-04-27 01:32:28

Reflection with 3.20 works like a charm.

Freddy1990

2009-04-27 01:36:25

From: Nava2
Okay, FindColorsTolerance seems to be broken as well.


Hmm, I can't seem to find anything wrong with it, of course these things never reach me, I have to find out like this… Can you provide me with a testcase that shows FindColorsTolerance not working please?

EDIT:
On a test with a random color on my desktop with FindColorsTolerance and tolerance 10, I got these results:
For 3.15b:
Found: 5
94, 61
96, 63
101, 63
93, 64
104, 64

For 3.20:
Found: 10
94, 61
96, 63
101, 63
93, 64
104, 64
2038, 236
2131, 918
2131, 921
2128, 922
2667, 925

var
P: TPointArray;
i: Integer;
begin
FindColorsTolerance(P, 12351310, 0, 0, 3000, 1000, 10);
WriteLn('Points: ' + IntToStr(Length(P)));
for i := 0 to High(P) do
WriteLn(IntToStr(P[i].x) + ', ' + IntToStr(P[i].y));
end.

3.20 Seems to not only return the same results, also better results as 3.15b fails to scan beyond the border of my first monitor. I also tested the new technique I applied to color comparison which is only in effect on my own functions… It failed to produce any different results from the one used by the other functions… (Though this has received improvements as well, but those shouldn't affect anything either.)

EDIT: The bug has been fixed.

Nava2

2009-04-27 03:32:56

Does that mean you will release a new version, or…?

tank phobia

2009-04-27 03:34:30

Based on what freddy has said is it good to use now or not? 3.20 apparently doesn't handle records very well either, try compiling WT_Fakawi and Wizzup's mining script in the junior membership section, throws an error over TReportArray

randy marsh

2009-04-27 03:58:33

Well works for me so :)

Nava2

2009-04-27 04:01:55

SRL Won't be updated to use 3.20 at this time.

Freddy1990

2009-04-27 09:57:35

From: Nava2
Does that mean you will release a new version, or…?


Once I check out a bug in the plugin system I will release 3.20b

From: tank phobia
Based on what freddy has said is it good to use now or not? 3.20 apparently doesn't handle records very well either, try compiling WT_Fakawi and Wizzup's mining script in the junior membership section, throws an error over TReportArray


That I can't do anything about…

From: Nava2
SRL Won't be updated to use 3.20 at this time.


It will have to be when 3.20b is released…

Nava2

2009-04-28 16:04:16

It doesn't HAVE to be implemented.. But we are looking into it.