SRL Archive - S.M.A.R.T. Bugs and Improvements.

Smart solving box..?


JuKKa

2007-11-19 13:36:20

I get this error when i run SMART and SRL attempts to solve the box..

[Runtime Error] : Exception: Canvas does not allow drawing in line 83 in script SRL/SRL/Core/AntiRandoms/Box.scar

Got it twice -.-

Wizzup?

2007-11-19 14:01:35

Do you have SRL Revision 7?
And the updated SCAR 3.13?

JuKKa

2007-11-19 14:02:01

Yes i do..

Wizzup?

2007-11-19 14:08:56

From: JuKKa
Yes i do..


SCAR 3.13 got updated a few hours ago. You got that version?
That bug in FindColor is one I had with the initial 3.13, freddy fixed in the updated 3.13.

JuKKa

2007-11-19 14:10:15

Oh.. I updated to 3.13 yesterday.. Ill check if thats it..

Installed scar again and downloaded SRL again .. All fine now ;) thanks..

mastaraymond

2007-11-19 14:10:30

I had this same problem, but it was in MakeCompass which resulted that my account was turning the compass to right for 3 hours.. :(.

Markus

2007-11-19 15:48:18

From: mastaraymond
I had this same problem, but it was in MakeCompass which resulted that my account was turning the compass to right for 3 hours.. :(.


He's banned for life :confused:
Hmm, infinite loop in SRL, that's not nice devs :(

Hugolord

2007-11-19 15:53:54

not really my friend has doen this before on Tzharr thingy for a day no ban

mastaraymond

2007-11-19 18:05:55

From: Markus
He's banned for life :confused:
Hmm, infinite loop in SRL, that's not nice devs :(

Its was like this
KeyDown(VK_Left)
if findcolor() then << Crashed here, so it never did KeyUp :D
begin;
end;
KeyUp(VK_Left)

bullzeye95

2007-11-19 18:53:02

Just figured this out. Replace your GetBoxSide with
function GetBoxSide: Integer;
var
Side, x, y: Integer;
begin
Result := 0;
Side := BitmapFromString(181, 181, '');
repeat
wait(100);
if FindColorTolerance(x, y, 16579837, 182, 45, 183, 225, 5) then continue;
if FindColorTolerance(x, y, 16579837, 342, 45, 343, 225, 5) then continue;
if FindColorTolerance(x, y, 16579837, 172, 55, 352, 56, 5) then continue;
if FindColorTolerance(x, y, 16579837, 172, 215, 352, 216, 5) then continue;
if FindColorTolerance(x, y, 12764106, 182, 45, 183, 225, 5) then continue;
if FindColorTolerance(x, y, 12764106, 342, 45, 343, 225, 5) then continue;
if FindColorTolerance(x, y, 12764106, 172, 55, 352, 56, 5) then continue;
if FindColorTolerance(x, y, 12764106, 172, 215, 352, 216, 5) then continue;
Break;
until False;
CopyClientToBitmap(Side, 172, 45, 352, 225);
Result := Side;
end;
:D

legendaryhero90

2007-11-19 21:41:09

strange.

SRL just solved like 3 of them on SMART for me :D

bullzeye95

2007-11-19 21:42:28

There seems to be a bug in SMART (at least for me) that doesn't let you do something like FindColor(3, 3, 3, 3) or FindColor(5, 15, 6, 15)

Wizzup?

2007-11-20 03:22:30

From: bullzeye95
There seems to be a bug in SMART (at least for me) that doesn't let you do something like FindColor(3, 3, 3, 3) or FindColor(5, 15, 6, 15)


New SCAR!!! Redownload.

bullzeye95

2007-11-20 07:54:14

Oh, so it was just me being stupid? :p

mastaraymond

2007-11-20 10:22:20

From: bullzeye95
Oh, so it was just me being stupid? :p

If you would have read this Thread, you saw the bug was already posted x').