Log in

View Full Version : Problems with SRL



x3chaos
01-23-2011, 10:19 PM
Let me explain my situation here.
I dropped off of the SRL radar (as previously with zeeky111) for quite a while, when the last SCAR update was 3.12.
I remember having this problem back in the day, but I don't remember what remedied it, and why it happened.

So now, when trying to run even a simple script such as:
program TestInclude;
{.include SRL/SRL.scar}
begin
SetupSRL;
end.
It returns the following:

Compiling error | Line 68 | File: Mouse.scar | Message: Type mismatch

I realize that Mouse.scar is an include, and what it does, and et cetera.
My question is, how do I fix it so that I can use SRL/SRL.scar?

Info:
Line 68 of Mouse.scar is:
randomDist:= maxStep / 2.0 + random(round(maxStep) / 2);
I've also tried messing with parentheses in it:
randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2);
..to no avail.

Thanks.

Frement
01-23-2011, 10:22 PM
randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2));

Maybe that will fix it?

zeeky111
01-23-2011, 10:25 PM
randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2));

Maybe that will fix it?

It gave me another type mismatch error.

EDIT: I figured that I may as well just switch and stay on this account.
Cheers.

**BANNED The Man
01-23-2011, 10:26 PM
Use Simba. :)

-Boom

zeeky111
01-23-2011, 10:28 PM
Use Simba. :)

-Boom

Seeing as it's been since 3.12, please link me to or explain to me the concept of Simba? :P.

Frement
01-23-2011, 10:30 PM
Seeing as it's been since 3.12, please link me to or explain to me the concept of Simba? :P.

http://wizzup.org/simba/

**BANNED The Man
01-23-2011, 10:31 PM
http://wizzup.org/simba/article/2

There ya go, just check out one of the many tutorials on how to set it up.
I suggest Coh3n's.

-Boom

zeeky111
01-23-2011, 10:32 PM
Thanks, Dynamite. :).