SRL Archive - SRL Bugs

function IsMoving(WaitTime);


bugger0001

2009-05-23 18:55:48

Ok I'm using Scar 3.15b and SRL-OpenDev 13.

In my script I have
While IsMoving(50) do Writeln('moving');
;

It keeps telling me I'm moving, even if I'm not.

PS I don't have this problem with Scar 3.20d with SRL-OpenDev 13, nor if using Scar 3.15b with Public SRL Rev 32.
Pretty odd…

Naum

2009-05-23 19:37:35

Its a problem with the function, I get the same errors.

EvilChicken!

2009-05-23 20:02:30

Well, if you don't have the problem with 3.20D, use that one.
3.20 is better in so many ways, and SRL is about to become 3.20-dependent.

noidea

2009-05-23 20:04:44

I have the prob with 3.15b.
I'm still on that…

Naum

2009-05-23 20:08:16

EC, do you know when a stable 3.21 will be out??

NCDS

2009-05-23 20:14:05

From: NaumanAkhlaQ
EC, do you know when a stable 3.21 will be out??


AFAIK 3.20d is stable.

EvilChicken!

2009-05-23 20:27:53

From: NCDS
AFAIK 3.20d is stable.


Correct; 3.20b is said to have all previous known bugs fixed.

Gu3st...

2009-05-23 23:20:49

I still get "[Runtime Error] : Exception: Out of memory in line 437 in script G:\Søppel og skrod\SCAR\SCAR 3.20\includes\SRL/SRL/Core/Text.scar" (FindColorsTolerance) after 12 hours and 16 minutes with 3.20D…

noidea

2009-05-24 01:11:31

From: Zyt3x
I still get "[Runtime Error] : Exception: Out of memory in line 437 in script G:\Søppel og skrod\SCAR\SCAR 3.20\includes\SRL/SRL/Core/Text.scar" (FindColorsTolerance) after 12 hours and 16 minutes with 3.20D…


Its got to do with MergeTPA() correct?
I get it with 3.15b some times.

bugger0001

2009-05-24 13:21:21

I'm not too sure about the forecoming statement, but I think it's true:

[statement]Scar 3.20d doesn't handle randoms as good as 3.15b does. [/statement]
For me 3.15b solved yesterday 2 Drill Demon's, but 3.20d failed one out of one. In addition to this I always(ok, sometimes, but too often IMHO) get a runtime error with 3.20d if SRL solves a random properly :S

It could be me or my scripts but I don't see anything in my scripts that could bring up a runtime error after solving randoms, oh, and it doesn't happen if I'm using 3.15b ;)

BobboHobbo

2009-05-24 16:12:02

Wouldnt it be more reliable if you just did a getcolor at a position on the MS and wait 50 and check the same spot for color changes?

Because like IsMoving now works like 70% of the time, and thats not good enough ;P.

Naum

2009-05-24 16:35:46

but what if the spot you check is the same color? Like for roadcolor or grass :p

BobboHobbo

2009-05-24 16:42:51

From: NaumanAkhlaQ
but what if the spot you check is the same color? Like for roadcolor or grass :p


On the mainscreen isnt like every pixel diffrent? Or do getcolor at your feet so when you not moving, u will defienetly get a perfect result ;).

noidea

2009-05-24 19:08:50

From: BobboHobbo
On the mainscreen isnt like every pixel diffrent? Or do getcolor at your feet so when you not moving, u will defienetly get a perfect result ;).


Floor66 made one. I find it better than the one in SRL using the MM.

Tniffoc

2009-05-24 19:31:30

I'm having no issues on 3.20d

marpis

2009-06-01 11:53:41

Public SVN -> core -> PixelShift() and IsMoving
try out my function, and feel free to modify it

Floor66

2009-06-01 11:56:52

From: noidea
Floor66 made one. I find it better than the one in SRL using the MM.


Yup, mine has worked flawlessly for me always.
Idk if I have the latest best version posted atm tho.